Fix rspect ftdetect, #503

This commit is contained in:
Adam Stankiewicz
2020-07-06 19:14:22 +02:00
parent 8500ae8bb9
commit 9c3c0bc082

View File

@@ -549,7 +549,7 @@ endif
" Declared after ruby so that the more general *.rb
" doesn't override
if index(g:polyglot_disabled, 'rspec') == -1
au BufNewFile,BufRead *_spec.rb set ft=rspec
au BufNewFile,BufRead *_spec.rb set ft=ruby syntax=rspec
endif
if index(g:polyglot_disabled, 'rust') == -1