comparison runtime/doc/syntax.txt @ 23047:29c5f168c6fd

Update runtime files Commit: https://github.com/vim/vim/commit/23515b4ef7580af8b9d3b964a558ab2007cacda5 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 29 14:36:24 2020 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sun, 29 Nov 2020 14:45:04 +0100
parents e7c125224b1a
children 99ef85ff1af4
comparison
equal deleted inserted replaced
23046:9a30b28b8154 23047:29c5f168c6fd
1 *syntax.txt* For Vim version 8.2. Last change: 2020 Aug 15 1 *syntax.txt* For Vim version 8.2. Last change: 2020 Nov 22
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
5303 If you like Question highlighting for C comments, put this in your vimrc file: > 5303 If you like Question highlighting for C comments, put this in your vimrc file: >
5304 :highlight link cComment Question 5304 :highlight link cComment Question
5305 Without the "default" in the C syntax file, the highlighting would be 5305 Without the "default" in the C syntax file, the highlighting would be
5306 overruled when the syntax file is loaded. 5306 overruled when the syntax file is loaded.
5307 5307
5308 To have a link survive `:highlight clear`, which is useful if you have
5309 highlighting for a specific filetype and you want to keep it when selecting
5310 another color scheme, put a command like this in the
5311 "after/syntax/{filetype}.vim" file: >
5312 highlight! default link cComment Question
5313
5308 ============================================================================== 5314 ==============================================================================
5309 15. Cleaning up *:syn-clear* *E391* 5315 15. Cleaning up *:syn-clear* *E391*
5310 5316
5311 If you want to clear the syntax stuff for the current buffer, you can use this 5317 If you want to clear the syntax stuff for the current buffer, you can use this
5312 command: > 5318 command: >