diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-10-29 17:41:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-29 17:41:22 +0200 |
commit | 6884f017b53369d6c9b06ddd3aedeb642dbd24a8 (patch) | |
tree | b321f2eed50fdc773ff616fd1105c908d31b1261 /runtime/syntax/vim.vim | |
parent | 356244d50ba01c63b3ac33057a69462c4029612c (diff) | |
download | rneovim-6884f017b53369d6c9b06ddd3aedeb642dbd24a8.tar.gz rneovim-6884f017b53369d6c9b06ddd3aedeb642dbd24a8.tar.bz2 rneovim-6884f017b53369d6c9b06ddd3aedeb642dbd24a8.zip |
vim-patch:partial:6ebe4f970b8b (#20860)
Update runtime files
https://github.com/vim/vim/commit/6ebe4f970b8b398087076a72a7aae6e680fb92da
Co-authored-by: Bram Moolenaar <Bram@vim.org>
Diffstat (limited to 'runtime/syntax/vim.vim')
-rw-r--r-- | runtime/syntax/vim.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim index 6ace5ffef3..26c0e9343c 100644 --- a/runtime/syntax/vim.vim +++ b/runtime/syntax/vim.vim @@ -619,7 +619,7 @@ syn match vimCtrlChar "[--]" " Beginners - Patterns that involve ^ {{{2 " ========= -syn match vimLineComment +^[ \t:]*"\("[^"]*"\|[^"]\)*$+ contains=@vimCommentGroup,vimCommentString,vimCommentTitle +syn match vimLineComment +^[ \t:]*".*$+ contains=@vimCommentGroup,vimCommentString,vimCommentTitle syn match vim9LineComment +^[ \t:]\+#.*$+ contains=@vimCommentGroup,vimCommentString,vimCommentTitle syn match vimCommentTitle '"\s*\%([sS]:\|\h\w*#\)\=\u\w*\(\s\+\u\w*\)*:'hs=s+1 contained contains=vimCommentTitleLeader,vimTodo,@vimCommentGroup syn match vimContinue "^\s*\\" |