aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 19:15:16 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-01 22:29:03 -0400
commit83b6a18598a76730d546beebb1951054611344e5 (patch)
treeb8ad62abb82e7429acad043e4dfc4273aa66b2f0 /runtime/doc
parent0c93005383daacaa32d2c615716dc3a8c06d573f (diff)
downloadrneovim-83b6a18598a76730d546beebb1951054611344e5.tar.gz
rneovim-83b6a18598a76730d546beebb1951054611344e5.tar.bz2
rneovim-83b6a18598a76730d546beebb1951054611344e5.zip
vim-patch:23515b4ef758
Update runtime files https://github.com/vim/vim/commit/23515b4ef7580af8b9d3b964a558ab2007cacda5 Omit filetype.txt changes for :Man.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/syntax.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index 7a1f19eeeb..920c7aa018 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -5202,6 +5202,12 @@ If you like Question highlighting for C comments, put this in your vimrc file: >
Without the "default" in the C syntax file, the highlighting would be
overruled when the syntax file is loaded.
+To have a link survive `:highlight clear`, which is useful if you have
+highlighting for a specific filetype and you want to keep it when selecting
+another color scheme, put a command like this in the
+"after/syntax/{filetype}.vim" file: >
+ highlight! default link cComment Question
+
==============================================================================
15. Cleaning up *:syn-clear* *E391*