runtime(defaults): Update comment for reverting C comment strings
Commit:
https://github.com/vim/vim/commit/bc1a82245c8228fb0a59e9a8977d2d7190c75dc6
Author: C.D. MacEachern <[email protected]>
Date: Fri Nov 28 20:25:41 2025 +0000
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 <[email protected]>
Signed-off-by: C.D. MacEachern <[email protected]>
diff --git a/runtime/defaults.vim b/runtime/defaults.vim
index 5c7100edc..9306af3fb 100644
--- a/runtime/defaults.vim
+++ b/runtime/defaults.vim
@@ -1,7 +1,7 @@
" The default vimrc file.
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
-" Last Change: 2025 Sep 10
+" Last Change: 2025 Nov 28
" Former Maintainer: Bram Moolenaar <[email protected]>
"
" 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
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vP56W-006pkN-VY%40256bit.org.