I'd like to use VimOutliner with files ending in .ol.txt
. This entry in ~/.vim/ftdetect/votl.vim
doesn't do that
au! BufRead,BufNewFile *.ol.txt setfiletype votl
Is there a [pattern]
for this?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this community
!
and try itau BufRead,BufNewFile *.ol.txt setfiletype votl
didn't work :(set filetype=votl
in your autocmd, instead ofsetfiletype votl
. The former is stronger and will override the latter.