0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

runtime(vim): Update base-syntax, configurable comment string highlighting (#14931)

Allow highlighting of strings within comments to be disabled by setting
g:vimsyn_comment_strings to false.

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
dkearns
2024-06-12 04:18:08 +10:00
committed by GitHub
parent b4e648a006
commit 959c3c887b
18 changed files with 312 additions and 20 deletions

View File

@@ -0,0 +1,20 @@
" Vim comment strings
" VIM_TEST_SETUP let g:vimsyn_comment_strings = v:true
" pre "string" post
function Foo()
" pre "string" post
endfunction
def Bar()
# pre "string" post
enddef
command Foo {
# pre "string" post
}
autocmd BufNewFile * {
# pre "string" post
}