mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Show All Syntax Highlighting Rules as a vim til
This commit is contained in:
13
vim/show-all-syntax-highlighting-rules.md
Normal file
13
vim/show-all-syntax-highlighting-rules.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Show All Syntax Highlighting Rules
|
||||
|
||||
When Vim adds syntax highlighting to the contents of a buffer based on its
|
||||
`filetype`, it does so with a set of rules. These rules specify particular
|
||||
colors for each set of named tokens that match particular patterns. You can
|
||||
check out the syntax highlighting rules for the current `filetype` of the
|
||||
current buffer by running:
|
||||
|
||||
```
|
||||
:syntax
|
||||
```
|
||||
|
||||
See `:h :syntax` for more details.
|
||||
Reference in New Issue
Block a user