summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-07-06 19:14:22 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-07-06 19:14:22 +0200
commit9c3c0bc082e0d58d15dc6f24d8a335931417e2f0 (patch)
tree3686faec1c24c98fcfec0a69c0a1649f602b1178
parent8500ae8bb9f4da69273eace4d9cef54ae7f18627 (diff)
downloadvim-polyglot-9c3c0bc082e0d58d15dc6f24d8a335931417e2f0.tar.gz
vim-polyglot-9c3c0bc082e0d58d15dc6f24d8a335931417e2f0.zip
Fix rspect ftdetect, #503
Diffstat (limited to '')
-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