diff options
Diffstat (limited to 'ftplugin/rnoweb.vim')
-rw-r--r-- | ftplugin/rnoweb.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/rnoweb.vim b/ftplugin/rnoweb.vim index bbcd0ccb..5ea2cdd6 100644 --- a/ftplugin/rnoweb.vim +++ b/ftplugin/rnoweb.vim @@ -1,3 +1,5 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'r-lang') == -1 + " ftplugin for Sweave files containing both LaTeX and R code " " Maintainer: Johannes Ranke <jranke@uni-bremen.de> @@ -57,3 +59,5 @@ vnoremap <buffer> r :w >> ~/.r-pipe<CR> " Write and process mode (somehow mapping <C-Enter> does not work) inoremap <M-Enter> <Esc>:execute line(".") 'w >> ~/.r-pipe'<CR>o + +endif |