Merge pull request #21582 from neovim/backport-21581-to-release-0.8

[Backport release-0.8] docs: fix order of numbers in syntax.txt
This commit is contained in:
zeertzjq
2022-12-29 12:52:52 +08:00
committed by GitHub

View File

@ -4804,7 +4804,7 @@ Note that the ":syntax" command can be abbreviated to ":sy", although ":syn"
is mostly used, because it looks better.
==============================================================================
12. Highlight command *:highlight* *:hi* *E28* *E411* *E415*
13. Highlight command *:highlight* *:hi* *E28* *E411* *E415*
There are two types of highlight groups:
- The built-in |highlight-groups|.
@ -5286,7 +5286,7 @@ Tooltip Current font, background and foreground of the tooltips.
Applicable highlight arguments: font, guibg, guifg.
==============================================================================
13. Linking groups *:hi-link* *:highlight-link* *E412* *E413*
14. Linking groups *:hi-link* *:highlight-link* *E412* *E413*
When you want to use the same highlighting for several syntax groups, you
can do this more easily by linking the groups into one common highlight
@ -5445,7 +5445,7 @@ is loaded into that window or the file is reloaded.
When splitting the window, the new window will use the original syntax.
==============================================================================
17. Color xterms *xterm-color* *color-xterm*
18. Color xterms *xterm-color* *color-xterm*
*colortest.vim*
To test your color setup, a file has been included in the Vim distribution.
@ -5455,7 +5455,7 @@ To use it, execute this command: >
Nvim uses 256-color and |true-color| terminal capabilities wherever possible.
==============================================================================
18. When syntax is slow *:syntime*
19. When syntax is slow *:syntime*
This is aimed at authors of a syntax file.