2015-07-18 23:05:45 +02:00
|
|
|
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rspec') == -1
|
|
|
|
|
2013-09-17 02:43:05 +02:00
|
|
|
autocmd BufReadPost,BufNewFile *_spec.rb set syntax=rspec
|
|
|
|
autocmd BufReadPost,BufNewFile *_spec.rb setlocal commentstring=#\ %s
|
2015-07-18 23:05:45 +02:00
|
|
|
|
|
|
|
endif
|