From 9c3c0bc082e0d58d15dc6f24d8a335931417e2f0 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 6 Jul 2020 19:14:22 +0200 Subject: Fix rspect ftdetect, #503 --- ftdetect/polyglot.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftdetect') 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 -- cgit v1.2.3