diff options
Diffstat (limited to 'syntax/rnoweb.vim')
-rw-r--r-- | syntax/rnoweb.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/rnoweb.vim b/syntax/rnoweb.vim index 437c31cc..40a86b50 100644 --- a/syntax/rnoweb.vim +++ b/syntax/rnoweb.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'r-lang') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'r-lang') != -1 + finish +endif + " Vim syntax file " Language: R noweb Files " Maintainer: Johannes Ranke <jranke@uni-bremen.de> @@ -56,5 +58,3 @@ hi def link rnowebChunkReference Delimiter let b:current_syntax = "rnoweb" " vim: foldmethod=marker: - -endif |