diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-04-23 15:22:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-23 15:22:55 +0200 |
commit | e3f36377c156749bbdafc46d8a8cd017f378b4b5 (patch) | |
tree | acaaab31bc9e0bdaddc5765aa0b7d1acd11fbecf /runtime/ftplugin/rnoweb.vim | |
parent | f17bb4f41102ecec7989bc4c14c626dc595e2f0b (diff) | |
download | rneovim-e3f36377c156749bbdafc46d8a8cd017f378b4b5.tar.gz rneovim-e3f36377c156749bbdafc46d8a8cd017f378b4b5.tar.bz2 rneovim-e3f36377c156749bbdafc46d8a8cd017f378b4b5.zip |
vim-patch:71badf9547e8 (#23285)
Update runtime files
https://github.com/vim/vim/commit/71badf9547e8f89571b9a095183671cbb333d528
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/ftplugin/rnoweb.vim')
-rw-r--r-- | runtime/ftplugin/rnoweb.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/ftplugin/rnoweb.vim b/runtime/ftplugin/rnoweb.vim index cf1c0922c0..26c1ab4e3f 100644 --- a/runtime/ftplugin/rnoweb.vim +++ b/runtime/ftplugin/rnoweb.vim @@ -2,7 +2,7 @@ " Language: Rnoweb " Maintainer: Jakson Alves de Aquino <jalvesaq@gmail.com> " Homepage: https://github.com/jalvesaq/R-Vim-runtime -" Last Change: Sun Apr 24, 2022 09:13AM +" Last Change: Mon Feb 27, 2023 07:16PM " Only do this when not yet done for this buffer if exists("b:did_ftplugin") @@ -29,7 +29,7 @@ if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") \ "All Files (*.*)\t*.*\n" endif -function! SetRnwCommentStr() +function SetRnwCommentStr() if (search("^\s*<<.*>>=", "bncW") > search("^@", "bncW")) set commentstring=#\ %s else @@ -47,9 +47,9 @@ if !exists("g:rnw_dynamic_comments") || (exists("g:rnw_dynamic_comments") && g:r endif if exists('b:undo_ftplugin') - let b:undo_ftplugin .= " | setl isk< sua< com< | unlet! b:browsefilter" + let b:undo_ftplugin .= " | setl isk< sua< com< cms< | unlet! b:browsefilter" else - let b:undo_ftplugin = "setl isk< sua< com< | unlet! b:browsefilter" + let b:undo_ftplugin = "setl isk< sua< com< cms< | unlet! b:browsefilter" endif let &cpo = s:cpo_save |