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