vim-polyglot/after/ftdetect/rspec.vim
2015-07-18 23:05:45 +02:00

7 lines
217 B
VimL

if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rspec') == -1
autocmd BufReadPost,BufNewFile *_spec.rb set syntax=rspec
autocmd BufReadPost,BufNewFile *_spec.rb setlocal commentstring=#\ %s
endif