summaryrefslogtreecommitdiffstats
path: root/syntax/rnoweb.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/rnoweb.vim')
-rw-r--r--syntax/rnoweb.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/syntax/rnoweb.vim b/syntax/rnoweb.vim
index 201a7792..437c31cc 100644
--- a/syntax/rnoweb.vim
+++ b/syntax/rnoweb.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'r-lang') == -1
+
" Vim syntax file
" Language: R noweb Files
" Maintainer: Johannes Ranke <jranke@uni-bremen.de>
@@ -54,3 +56,5 @@ hi def link rnowebChunkReference Delimiter
let b:current_syntax = "rnoweb"
" vim: foldmethod=marker:
+
+endif