vim-stylus
vim-stylus copied to clipboard
No syntax highlighting for .stylus files (.styl works)
Hey there,
wanted to check out your plugin, so I installed it with Vundle, unfortunately after properly installing and starting a fresh vim session with .stylus
files, no syntax highlighting was available at all for me. It appears that .styl
files work. any ideas what the issue could be?
adding the following lines to my .vimrc
fixes the issue:
autocmd BufNewFile,BufRead *.styl setlocal filetype=stylus
autocmd BufNewFile,BufRead *.stylus setlocal filetype=stylus