fix: TS.. => @..
This commit is contained in:
@@ -210,49 +210,49 @@ function M.setup()
|
|||||||
-- TSCharacter = { }; -- For characters.
|
-- TSCharacter = { }; -- For characters.
|
||||||
-- TSComment = { }; -- For comment blocks.
|
-- TSComment = { }; -- For comment blocks.
|
||||||
TSNote = { fg = c.bg, bg = c.info },
|
TSNote = { fg = c.bg, bg = c.info },
|
||||||
TSWarning = { fg = c.bg, bg = c.warning },
|
["@text.warning"] = { fg = c.bg, bg = c.warning },
|
||||||
TSDanger = { fg = c.bg, bg = c.error },
|
["@text.danger"] = { fg = c.bg, bg = c.error },
|
||||||
TSConstructor = { fg = c.magenta }, -- For constructor calls and definitions: `= { }` in Lua, and Java constructors.
|
["@constructor"] = { fg = c.magenta }, -- For constructor calls and definitions: `= { }` in Lua, and Java constructors.
|
||||||
-- TSConditional = { }; -- For keywords related to conditionnals.
|
-- TSConditional = { }; -- For keywords related to conditionnals.
|
||||||
-- TSConstant = { }; -- For constants
|
-- TSConstant = { }; -- For constants
|
||||||
-- TSConstBuiltin = { }; -- For constant that are built in the language: `nil` in Lua.
|
-- TSConstBuiltin = { }; -- For constant that are built in the language: `nil` in Lua.
|
||||||
-- TSConstMacro = { }; -- For constants that are defined by macros: `NULL` in C.
|
-- TSConstMacro = { }; -- For constants that are defined by macros: `NULL` in C.
|
||||||
-- TSError = { }; -- For syntax/parser errors.
|
-- TSError = { }; -- For syntax/parser errors.
|
||||||
-- TSException = { }; -- For exception related keywords.
|
-- TSException = { }; -- For exception related keywords.
|
||||||
TSField = { fg = c.green1 }, -- For fields.
|
["@field"] = { fg = c.green1 }, -- For fields.
|
||||||
-- TSFloat = { }; -- For floats.
|
-- TSFloat = { }; -- For floats.
|
||||||
-- TSFunction = { }; -- For function (calls and definitions).
|
-- TSFunction = { }; -- For function (calls and definitions).
|
||||||
-- TSFuncBuiltin = { }; -- For builtin functions: `table.insert` in Lua.
|
-- TSFuncBuiltin = { }; -- For builtin functions: `table.insert` in Lua.
|
||||||
-- TSFuncMacro = { }; -- For macro defined fuctions (calls and definitions): each `macro_rules` in Rust.
|
-- TSFuncMacro = { }; -- For macro defined fuctions (calls and definitions): each `macro_rules` in Rust.
|
||||||
-- TSInclude = { }; -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua.
|
-- TSInclude = { }; -- For includes: `#include` in C, `use` or `extern crate` in Rust, or `require` in Lua.
|
||||||
TSKeyword = { fg = c.purple, style = options.styles.keywords }, -- For keywords that don't fall in previous categories.
|
["@keyword"] = { fg = c.purple, style = options.styles.keywords }, -- For keywords that don't fall in previous categories.
|
||||||
TSKeywordFunction = { fg = c.magenta, style = options.styles.functions }, -- For keywords used to define a fuction.
|
["@keyword.function"] = { fg = c.magenta, style = options.styles.functions }, -- For keywords used to define a fuction.
|
||||||
TSLabel = { fg = c.blue }, -- For labels: `label:` in C and `:label:` in Lua.
|
["@label"] = { fg = c.blue }, -- For labels: `label:` in C and `:label:` in Lua.
|
||||||
-- TSMethod = { }; -- For method calls and definitions.
|
-- TSMethod = { }; -- For method calls and definitions.
|
||||||
-- TSNamespace = { }; -- For identifiers referring to modules and namespaces.
|
-- TSNamespace = { }; -- For identifiers referring to modules and namespaces.
|
||||||
-- TSNone = { }; -- TODO: docs
|
-- TSNone = { }; -- TODO: docs
|
||||||
-- TSNumber = { }; -- For all numbers
|
-- TSNumber = { }; -- For all numbers
|
||||||
TSOperator = { fg = c.blue5 }, -- For any operator: `+`, but also `->` and `*` in C.
|
["@operator"] = { fg = c.blue5 }, -- For any operator: `+`, but also `->` and `*` in C.
|
||||||
TSParameter = { fg = c.yellow }, -- For parameters of a function.
|
["@parameter"] = { fg = c.yellow }, -- For parameters of a function.
|
||||||
-- TSParameterReference= { }; -- For references to parameters of a function.
|
-- TSParameterReference= { }; -- For references to parameters of a function.
|
||||||
TSProperty = { fg = c.green1 }, -- Same as `TSField`.
|
["@property"] = { fg = c.green1 }, -- Same as `TSField`.
|
||||||
TSPunctDelimiter = { fg = c.blue5 }, -- For delimiters ie: `.`
|
["@punctuation.delimiter"] = { fg = c.blue5 }, -- For delimiters ie: `.`
|
||||||
TSPunctBracket = { fg = c.fg_dark }, -- For brackets and parens.
|
["@punctuation.bracket"] = { fg = c.fg_dark }, -- For brackets and parens.
|
||||||
TSPunctSpecial = { fg = c.blue5 }, -- For special punctutation that does not fall in the catagories before.
|
["@punctuation.special"] = { fg = c.blue5 }, -- For special punctutation that does not fall in the catagories before.
|
||||||
-- TSRepeat = { }; -- For keywords related to loops.
|
-- TSRepeat = { }; -- For keywords related to loops.
|
||||||
-- TSString = { }; -- For strings.
|
-- TSString = { }; -- For strings.
|
||||||
TSStringRegex = { fg = c.blue6 }, -- For regexes.
|
["@string.regex"] = { fg = c.blue6 }, -- For regexes.
|
||||||
TSStringEscape = { fg = c.magenta }, -- For escape characters within a string.
|
["@string.escape"] = { fg = c.magenta }, -- For escape characters within a string.
|
||||||
-- TSSymbol = { }; -- For identifiers referring to symbols or atoms.
|
-- TSSymbol = { }; -- For identifiers referring to symbols or atoms.
|
||||||
-- TSType = { }; -- For types.
|
-- TSType = { }; -- For types.
|
||||||
-- TSTypeBuiltin = { }; -- For builtin types.
|
-- TSTypeBuiltin = { }; -- For builtin types.
|
||||||
TSVariable = { style = options.styles.variables }, -- Any variable name that does not have another highlight.
|
["@variable"] = { style = options.styles.variables }, -- Any variable name that does not have another highlight.
|
||||||
TSVariableBuiltin = { fg = c.red }, -- Variable names that are defined by the languages, like `this` or `self`.
|
["@variable.builtin"] = { fg = c.red }, -- Variable names that are defined by the languages, like `this` or `self`.
|
||||||
|
|
||||||
-- TSTag = { }; -- Tags like html tag names.
|
-- TSTag = { }; -- Tags like html tag names.
|
||||||
-- TSTagDelimiter = { }; -- Tag delimiter like `<` `>` `/`
|
-- TSTagDelimiter = { }; -- Tag delimiter like `<` `>` `/`
|
||||||
-- TSText = { }; -- For strings considered text in a markup language.
|
-- TSText = { }; -- For strings considered text in a markup language.
|
||||||
TSTextReference = { fg = c.teal },
|
["@text.reference"] = { fg = c.teal },
|
||||||
-- TSEmphasis = { }; -- For text to be represented with emphasis.
|
-- TSEmphasis = { }; -- For text to be represented with emphasis.
|
||||||
-- TSUnderline = { }; -- For text to be represented with an underline.
|
-- TSUnderline = { }; -- For text to be represented with an underline.
|
||||||
-- TSStrike = { }; -- For strikethrough text.
|
-- TSStrike = { }; -- For strikethrough text.
|
||||||
|
|||||||
Reference in New Issue
Block a user