aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/vim.vim
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-24 08:57:52 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 09:21:29 -0400
commit6cdb755507e17ae2e5b8096eea9ceae0cbe5d978 (patch)
tree9285fc9af135dd06f06f8d86a8cac2d64850e0fb /runtime/syntax/vim.vim
parentd4b65fa6fb330a5a174bdc3a8a838cffa28b0859 (diff)
downloadrneovim-6cdb755507e17ae2e5b8096eea9ceae0cbe5d978.tar.gz
rneovim-6cdb755507e17ae2e5b8096eea9ceae0cbe5d978.tar.bz2
rneovim-6cdb755507e17ae2e5b8096eea9ceae0cbe5d978.zip
vim-patch:5ef1c6a4838a
Update runtime files https://github.com/vim/vim/commit/5ef1c6a4838a9629b793f3ae676f72a764171b00 "scrollfocus" is for Windows GUI only so it is N/A.
Diffstat (limited to 'runtime/syntax/vim.vim')
-rw-r--r--runtime/syntax/vim.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
index 7fb075c229..5b1d61bd26 100644
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -352,7 +352,8 @@ syn match vimSetMod contained "&vim\=\|[!&?<]\|all&"
" Let: {{{2
" ===
syn keyword vimLet let unl[et] skipwhite nextgroup=vimVar,vimFuncVar,vimLetHereDoc
-VimFoldh syn region vimLetHereDoc matchgroup=vimLetHereDocStart start='=<<\s\+\%(trim\>\)\=\s*\z(\h\w*\)' matchgroup=vimLetHereDocStop end='^\s*\z1\s*$' contains=vimComment
+VimFoldh syn region vimLetHereDoc matchgroup=vimLetHereDocStart start='=<<\s\+\%(trim\>\)\=\s*\z([^a-z]\S*\)' matchgroup=vimLetHereDocStop end='^\s*\z1\s*$' contains=vimComment
+syn cluster vimFuncBodyList add=vimLetHereDoc
" Abbreviations: {{{2
" =============