aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/vim.vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-01-01 15:00:39 +0100
committerGitHub <noreply@github.com>2023-01-01 15:00:39 +0100
commitc4942880be0521673548c48bf61c1eac6bd37036 (patch)
tree62fa779cea100f27a97035c68dbee0646390af4f /runtime/syntax/vim.vim
parent83e8723864e24d9bf542e779d9612d3ffd014dbf (diff)
downloadrneovim-c4942880be0521673548c48bf61c1eac6bd37036.tar.gz
rneovim-c4942880be0521673548c48bf61c1eac6bd37036.tar.bz2
rneovim-c4942880be0521673548c48bf61c1eac6bd37036.zip
vim-patch:partial:f1dcd14fc5d4 (#21602)
Update runtime files https://github.com/vim/vim/commit/f1dcd14fc5d4370476cd82895a4479ca2d252e54 missing autocmd blocks and getscriptinfo() Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/syntax/vim.vim')
-rw-r--r--runtime/syntax/vim.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 26c0e9343c..a1c39e4dcf 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -451,7 +451,7 @@ if !exists("g:vimsyn_noerror") && !exists("g:vimsyn_novimfunctionerror")
syn match vimBufnrWarn /\<bufnr\s*(\s*["']\.['"]\s*)/
endif
-syn match vimNotFunc "\<if\>\|\<el\%[seif]\>\|\<return\>\|\<while\>" skipwhite nextgroup=vimOper,vimOperParen,vimVar,vimFunc,vimNotation
+syn match vimNotFunc "\<if\>\|\<el\%[seif]\>\|\<retu\%[rn]\>\|\<while\>" skipwhite nextgroup=vimOper,vimOperParen,vimVar,vimFunc,vimNotation
" Norm: {{{2
" ====