diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2022-10-16 14:52:15 +0200 |
|---|---|---|
| committer | Christian Clason <christian.clason@uni-due.de> | 2022-10-16 15:50:55 +0200 |
| commit | 42ab95d5e11f247c6f0c8f5181b02e816caa4a4f (patch) | |
| tree | 7b8ee3f2475405878eefe0fc8033d133d95dc64b /doc | |
| parent | Update lockfile.json (diff) | |
| download | nvim-treesitter-42ab95d5e11f247c6f0c8f5181b02e816caa4a4f.tar nvim-treesitter-42ab95d5e11f247c6f0c8f5181b02e816caa4a4f.tar.gz nvim-treesitter-42ab95d5e11f247c6f0c8f5181b02e816caa4a4f.tar.bz2 nvim-treesitter-42ab95d5e11f247c6f0c8f5181b02e816caa4a4f.tar.lz nvim-treesitter-42ab95d5e11f247c6f0c8f5181b02e816caa4a4f.tar.xz nvim-treesitter-42ab95d5e11f247c6f0c8f5181b02e816caa4a4f.tar.zst nvim-treesitter-42ab95d5e11f247c6f0c8f5181b02e816caa4a4f.zip | |
feat!: remove obsolete `TS*` highlight groups
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nvim-treesitter.txt | 301 |
1 files changed, 0 insertions, 301 deletions
diff --git a/doc/nvim-treesitter.txt b/doc/nvim-treesitter.txt index 6db97dcba..4feabb739 100644 --- a/doc/nvim-treesitter.txt +++ b/doc/nvim-treesitter.txt @@ -477,307 +477,6 @@ Note: This is highly experimental, and folding can break on some types of In any case, feel free to open an issue with the reproducing steps. ============================================================================== -HIGHLIGHTS *nvim-treesitter-highlights* - -The following is a list of highlights groups, the syntactic elements they -apply to, and some examples. - - *hl-TSAttribute* -`TSAttribute` -Annotations that can be attached to the code to denote some kind of meta -information. e.g. C++/Dart attributes. - - *hl-TSBoolean* -`TSBoolean` -Boolean literals: `True` and `False` in Python. - - *hl-TSCharacter* -`TSCharacter` -Character literals: `'a'` in C. - - *hl-TSCharacterSpecial* -`TSCharacterSpecial` -Special characters. - - *hl-TSComment* -`TSComment` -Line comments and block comments. - - *hl-TSConditional* -`TSConditional` -Keywords related to conditionals: `if`, `when`, `cond`, etc. - - *hl-TSConstant* -`TSConstant` -Constants identifiers. These might not be semantically constant. -E.g. uppercase variables in Python. - - *hl-TSConstBuiltin* -`TSConstBuiltin` -Built-in constant values: `nil` in Lua. - - *hl-TSConstMacro* -`TSConstMacro` -Constants defined by macros: `NULL` in C. - - *hl-TSConstructor* -`TSConstructor` -Constructor calls and definitions: `{}` in Lua, and Java constructors. - - *hl-TSDebug* -`TSDebug` -Debugging statements. - - *hl-TSDefine* -`TSDefine` -Preprocessor #define statements. - - *hl-TSError* -`TSError` -Syntax/parser errors. This might highlight large sections of code while the -user is typing still incomplete code, use a sensible highlight. - - *hl-TSException* -`TSException` -Exception related keywords: `try`, `except`, `finally` in Python. - - *hl-TSField* -`TSField` -Object and struct fields. - - *hl-TSFloat* -`TSFloat` -Floating-point number literals. - - *hl-TSFunction* -`TSFunction` -Function definitions. - - *hl-TSFunctionCall* -`TSFunctionCall` -Function calls. - - *hl-TSFuncBuiltin* -`TSFuncBuiltin` -Built-in functions: `print` in Lua. - - *hl-TSFuncMacro* -`TSFuncMacro` -Macro defined functions (calls and definitions): each `macro_rules` in -Rust. - - *hl-TSInclude* -`TSInclude` -File or module inclusion keywords: `#include` in C, `use` or `extern crate` in -Rust. - - *hl-TSKeyword* -`TSKeyword` -Keywords that don't fit into other categories. - - *hl-TSKeywordFunction* -`TSKeywordFunction` -Keywords used to define a function: `function` in Lua, `def` and `lambda` in -Python. - - *hl-TSKeywordOperator* -`TSKeywordOperator` -Unary and binary operators that are English words: `and`, `or` in Python; -`sizeof` in C. - - *hl-TSKeywordReturn* -`TSKeywordReturn` -Keywords like `return` and `yield`. - - *hl-TSLabel* -`TSLabel` -GOTO labels: `label:` in C, and `::label::` in Lua. - - *hl-TSMethod* -`TSMethod` -Method definitions. - - *hl-TSMethodCall* -`TSMethodCall` -Method calls. - - *hl-TSNamespace* -`TSNamespace` -Identifiers referring to modules and namespaces. - - *hl-None* -`TSNone` -No highlighting (sets all highlight arguments to `NONE`). This group is used -to clear certain ranges, for example, string interpolations. Don't change the -values of this highlight group. - - *hl-TSNumber* -`TSNumber` -Numeric literals that don't fit into other categories. - - *hl-TSOperator* -`TSOperator` -Binary or unary operators: `+`, and also `->` and `*` in C. - - *hl-TSParameter* -`TSParameter` -Parameters of a function. - - *hl-TSParameterReference* -`TSParameterReference` -References to parameters of a function. - - *hl-TSPreProc* -`TSPreProc` -Preprocessor #if, #else, #endif, etc. - - *hl-TSProperty* -`TSProperty` -Same as `TSField`. - - *hl-TSPunctDelimiter* -`TSPunctDelimiter` -Punctuation delimiters: Periods, commas, semicolons, etc. - - *hl-TSPunctBracket* -`TSPunctBracket` -Brackets, braces, parentheses, etc. - - *hl-TSPunctSpecial* -`TSPunctSpecial` -Special punctuation that doesn't fit into the previous categories. - - *hl-TSRepeat* -`TSRepeat` -Keywords related to loops: `for`, `while`, etc. - - *hl-StorageClass* -`TSStorageClass` -Keywords that affect how a variable is stored: `static`, `comptime`, `extern`, -etc. - - *hl-TSString* -`TSString` -String literals. - - *hl-TSStringRegex* -`TSStringRegex` -Regular expression literals. - - *hl-TSStringEscape* -`TSStringEscape` -Escape characters within a string: `\n`, `\t`, etc. - - *hl-TSStringSpecial* -`TSStringSpecial` -Strings with special meaning that don't fit into the previous categories. - - *hl-TSSymbol* -`TSSymbol` -Identifiers referring to symbols or atoms. - - *hl-TSTag* -`TSTag` -Tags like HTML tag names. - - *hl-TSTagAttribute* -`TSTagAttribute` -HTML tag attributes. - - *hl-TSTagDelimiter* -`TSTagDelimiter` -Tag delimiters like `<` `>` `/`. - - *hl-TSText* -`TSText` -Non-structured text. Like text in a markup language. - - *hl-TSSTrong* -`TSStrong` -Text to be represented in bold. - - *hl-TSEmphasis* -`TSEmphasis` -Text to be represented with emphasis. - - *hl-TSUnderline* -`TSUnderline` -Text to be represented with an underline. - - *hl-TSStrike* -`TSStrike` -Strikethrough text. - - *hl-TSTitle* -`TSTitle` -Text that is part of a title. - - *hl-TSLiteral* -`TSLiteral` -Literal or verbatim text. - - *hl-TSURI* -`TSURI` -URIs like hyperlinks or email addresses. - - *hl-TSMath* -`TSMath` -Math environments like LaTeX's `$ ... $`. - - *hl-TSTextReference* -`TSTextReference` -Footnotes, text references, citations, etc. - - *hl-TSEnvironment* -`TSEnvironment` -Text environments of markup languages. - - *hl-TSEnvironmentName* -`TSEnvironmentName` -Text/string indicating the type of text environment. Like the name of a -`\begin` block in LaTeX. - - *hl-TSNote* -`TSNote` -Text representation of an informational note. - - *TSWarning* -`TSWarning` -Text representation of a warning note. - - *TSDanger* -`TSDanger` -Text representation of a danger note. - - *hl-TSTodo* -`TSTodo` -Anything that needs extra attention, such as keywords like TODO or FIXME. - - *hl-TSType* -`TSType` -Type (and class) definitions and annotations. - - *hl-TSTypeBuiltin* -`TSTypeBuiltin` -Built-in types: `i32` in Rust. - - *hl-TSTypeQualifier* -`TSTypeQualifier` -Qualifiers on types, e.g. `const` or `volatile` in C or `mut` in Rust. - - *hl-TSTypeDefinition* -`TSTypeDefinition` -Type definitions, e.g. `typedef` in C. - - *hl-TSVariable* -`TSVariable` -Variable names that don't fit into other categories. - - *hl-TSVariableBuiltin* -`TSVariableBuiltin` -Variable names defined by the language: `this` or `self` in Javascript. - -============================================================================== PERFORMANCE *nvim-treesitter-performance* `nvim-treesitter` checks the 'runtimepath' on startup in order to discover |
