From: C.D. MacEachern Date: Fri, 28 Nov 2025 20:25:41 +0000 (+0000) Subject: runtime(defaults): Update comment for reverting C comment strings X-Git-Tag: v9.1.1934~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc1a82245c8228fb0a59e9a8977d2d7190c75dc6;p=thirdparty%2Fvim.git 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 Signed-off-by: C.D. MacEachern --- diff --git a/runtime/defaults.vim b/runtime/defaults.vim index 5c7100edc2..9306af3fbb 100644 --- a/runtime/defaults.vim +++ b/runtime/defaults.vim @@ -1,7 +1,7 @@ " The default vimrc file. " " Maintainer: The Vim Project -" Last Change: 2025 Sep 10 +" Last Change: 2025 Nov 28 " Former Maintainer: Bram Moolenaar " " This is loaded if no vimrc file was found. @@ -136,7 +136,7 @@ if &t_Co > 2 || has("gui_running") syntax on " 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 endif