mirror of
https://github.com/vim/vim.git
synced 2025-12-10 18:46:57 -05:00
runtime(defaults): Update comment for reverting C comment strings
Add `g:` prefix, so the example works in vim9script as well (errors without it). closes: #18827 Signed-off-by: Christian Brabandt <cb@256bit.org> Signed-off-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com>
This commit is contained in:
committed by
Christian Brabandt
parent
9ade3f5894
commit
bc1a82245c
@ -1,7 +1,7 @@
|
|||||||
" The default vimrc file.
|
" The default vimrc file.
|
||||||
"
|
"
|
||||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||||
" Last Change: 2025 Sep 10
|
" Last Change: 2025 Nov 28
|
||||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||||
"
|
"
|
||||||
" This is loaded if no vimrc file was found.
|
" This is loaded if no vimrc file was found.
|
||||||
@ -136,7 +136,7 @@ if &t_Co > 2 || has("gui_running")
|
|||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
" I like highlighting strings inside C comments.
|
" I like highlighting strings inside C comments.
|
||||||
" Revert with ":unlet c_comment_strings".
|
" Revert with ":unlet g:c_comment_strings".
|
||||||
let c_comment_strings=1
|
let c_comment_strings=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user