summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ftdetect/polyglot.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 72d64410..9bf5a146 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -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