From 92ab75408df8bff49bb29e113b3cc159d1ac3105 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 18 Jul 2015 23:05:45 +0200 Subject: Allow for disabling individual languages, closes #66 --- after/syntax/rspec.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'after/syntax/rspec.vim') diff --git a/after/syntax/rspec.vim b/after/syntax/rspec.vim index 390f6d10..518097e2 100644 --- a/after/syntax/rspec.vim +++ b/after/syntax/rspec.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rspec') == -1 + " " An rspec syntax file " Originally from http://www.vim.org/scripts/script.php?script_id=2286 @@ -30,3 +32,5 @@ syntax keyword rspecMessageExpectation advise any_args any_number_of_times anyth highlight link rspecMessageExpectation Function let b:current_syntax = 'rspec' + +endif -- cgit v1.2.3