K
K
Karina2017-03-02 13:41:08
vim
Karina, 2017-03-02 13:41:08

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

2 answer(s)
A
Anatoly, 2017-11-21
@trofimovdev

cv2, Pillow

A
Andrey Dugin, 2017-11-21
@adugin

Keywords: convolution matrix, median filter ( example ).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question