Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix order of numbers in syntax.txt #21581

Merged
merged 1 commit into from
Dec 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
docs: fix order of numbers in syntax.txt
  • Loading branch information
rmehri01 committed Dec 29, 2022
commit 6fc8248af98a225721a59fde23f3b2f4417a2123
8 changes: 4 additions & 4 deletions runtime/doc/syntax.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4851,7 +4851,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|.
Expand Down Expand Up @@ -5333,7 +5333,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
Expand Down Expand Up @@ -5492,7 +5492,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.
Expand All @@ -5502,7 +5502,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.

Expand Down