Answer the question
In order to leave comments, you need to log in
How to load syntax from ~/.vim/sytax/ folder?
I have ruby.vim in my ~/.vim/sytax/ folder
in .vimrc autocmd BufNewFile,BufRead *.rb set syntax=ruby
but it feels like it's not the right way to load - folding doesn't work in some places (though it should). How can I make the syntax install specifically from ~/.vim/sytax/ruby.vim ?
Thanks
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question