docs: add hl-SnippetTabstop tag

This commit is contained in:
Evgeni Chasnovski
2024-05-02 11:25:21 +03:00
committed by Christian Clason
parent 2b1a6e7597
commit 54dfee8f0a
3 changed files with 4 additions and 2 deletions

View File

@@ -4338,7 +4338,7 @@ vim.snippet.expand({input}) *vim.snippet.expand()*
https://microsoft.github.io/language-server-protocol/specification/#snippet_syntax https://microsoft.github.io/language-server-protocol/specification/#snippet_syntax
for the specification of valid input. for the specification of valid input.
Tabstops are highlighted with hl-SnippetTabstop. Tabstops are highlighted with |hl-SnippetTabstop|.
Parameters: ~ Parameters: ~
• {input} (`string`) • {input} (`string`)

View File

@@ -5054,6 +5054,8 @@ QuickFixLine Current |quickfix| item in the quickfix window. Combined with
*hl-Search* *hl-Search*
Search Last search pattern highlighting (see 'hlsearch'). Search Last search pattern highlighting (see 'hlsearch').
Also used for similar items that need to stand out. Also used for similar items that need to stand out.
*hl-SnippetTabstop*
SnippetTabstop Tabstops in snippets. |vim.snippet|
*hl-SpecialKey* *hl-SpecialKey*
SpecialKey Unprintable characters: Text displayed differently from what SpecialKey Unprintable characters: Text displayed differently from what
it really is. But not 'listchars' whitespace. |hl-Whitespace| it really is. But not 'listchars' whitespace. |hl-Whitespace|

View File

@@ -401,7 +401,7 @@ end
--- Refer to https://microsoft.github.io/language-server-protocol/specification/#snippet_syntax --- Refer to https://microsoft.github.io/language-server-protocol/specification/#snippet_syntax
--- for the specification of valid input. --- for the specification of valid input.
--- ---
--- Tabstops are highlighted with hl-SnippetTabstop. --- Tabstops are highlighted with |hl-SnippetTabstop|.
--- ---
--- @param input string --- @param input string
function M.expand(input) function M.expand(input)