Some cleanup; Add new Tree-Sitter groups.
This commit is contained in:
parent
0de915f9a8
commit
b1b49437dc
|
@ -17,7 +17,7 @@
|
||||||
-- for usage guides, see :h lush or :LushRunTutorial
|
-- for usage guides, see :h lush or :LushRunTutorial
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Note: Because this is lua file, vim will append your file to the runtime,
|
-- Note: Because this is a lua file, vim will append it to the runtime,
|
||||||
-- which means you can require(...) it in other lua code (this is useful),
|
-- which means you can require(...) it in other lua code (this is useful),
|
||||||
-- but you should also take care not to conflict with other libraries.
|
-- but you should also take care not to conflict with other libraries.
|
||||||
--
|
--
|
||||||
|
@ -50,128 +50,124 @@ local hsl = lush.hsl
|
||||||
---@diagnostic disable: undefined-global
|
---@diagnostic disable: undefined-global
|
||||||
local theme = lush(function()
|
local theme = lush(function()
|
||||||
return {
|
return {
|
||||||
-- The following are all the Neovim default highlight groups from the docs
|
-- The following are the Neovim (as of 0.8.0-dev+100-g371dfb174) highlight
|
||||||
-- as of 0.5.0-nightly-446, to aid your theme creation. Your themes should
|
-- groups, mostly used for styling UI elements.
|
||||||
-- probably style all of these at a bare minimum.
|
-- Comment them out and add your own properties to override the defaults.
|
||||||
|
-- An empty definition `{}` will clear all styling, leaving elements looking
|
||||||
|
-- like the 'Normal' group.
|
||||||
|
-- To be able to link to a group, it must already be defined, so you may have
|
||||||
|
-- to reorder items as you go.
|
||||||
--
|
--
|
||||||
-- Referenced/linked groups must come before being referenced/lined,
|
-- See :h highlight-groups
|
||||||
-- so the order shown ((mostly) alphabetical) is likely
|
|
||||||
-- not the order you will end up with.
|
|
||||||
--
|
--
|
||||||
-- You can uncomment these and leave them empty to disable any
|
-- ColorColumn { }, -- Columns set with 'colorcolumn'
|
||||||
-- styling for that group (meaning they mostly get styled as Normal)
|
-- Conceal { }, -- Placeholder characters substituted for concealed text (see 'conceallevel')
|
||||||
-- or leave them commented to apply vims default colouring or linking.
|
-- Cursor { }, -- Character under the cursor
|
||||||
|
-- lCursor { }, -- Character under the cursor when |language-mapping| is used (see 'guicursor')
|
||||||
-- Comment { }, -- any comment
|
-- CursorIM { }, -- Like Cursor, but used when in IME mode |CursorIM|
|
||||||
-- ColorColumn { }, -- used for the columns set with 'colorcolumn'
|
|
||||||
-- Conceal { }, -- placeholder characters substituted for concealed text (see 'conceallevel')
|
|
||||||
-- Cursor { }, -- character under the cursor
|
|
||||||
-- lCursor { }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
|
|
||||||
-- CursorIM { }, -- like Cursor, but used when in IME mode |CursorIM|
|
|
||||||
-- CursorColumn { }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
|
-- CursorColumn { }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
|
||||||
-- CursorLine { }, -- Screen-line at the cursor, when 'cursorline' is set. Low-priority if foreground (ctermfg OR guifg) is not set.
|
-- CursorLine { }, -- Screen-line at the cursor, when 'cursorline' is set. Low-priority if foreground (ctermfg OR guifg) is not set.
|
||||||
-- Directory { }, -- directory names (and other special names in listings)
|
-- Directory { }, -- Directory names (and other special names in listings)
|
||||||
-- DiffAdd { }, -- diff mode: Added line |diff.txt|
|
-- DiffAdd { }, -- Diff mode: Added line |diff.txt|
|
||||||
-- DiffChange { }, -- diff mode: Changed line |diff.txt|
|
-- DiffChange { }, -- Diff mode: Changed line |diff.txt|
|
||||||
-- DiffDelete { }, -- diff mode: Deleted line |diff.txt|
|
-- DiffDelete { }, -- Diff mode: Deleted line |diff.txt|
|
||||||
-- DiffText { }, -- diff mode: Changed text within a changed line |diff.txt|
|
-- DiffText { }, -- Diff mode: Changed text within a changed line |diff.txt|
|
||||||
-- EndOfBuffer { }, -- filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
|
-- EndOfBuffer { }, -- Filler lines (~) after the end of the buffer. By default, this is highlighted like |hl-NonText|.
|
||||||
-- TermCursor { }, -- cursor in a focused terminal
|
-- TermCursor { }, -- Cursor in a focused terminal
|
||||||
-- TermCursorNC { }, -- cursor in an unfocused terminal
|
-- TermCursorNC { }, -- Cursor in an unfocused terminal
|
||||||
-- ErrorMsg { }, -- error messages on the command line
|
-- ErrorMsg { }, -- Error messages on the command line
|
||||||
-- VertSplit { }, -- the column separating vertically split windows
|
-- VertSplit { }, -- Column separating vertically split windows
|
||||||
-- Folded { }, -- line used for closed folds
|
-- Folded { }, -- Line used for closed folds
|
||||||
-- FoldColumn { }, -- 'foldcolumn'
|
-- FoldColumn { }, -- 'foldcolumn'
|
||||||
-- SignColumn { }, -- column where |signs| are displayed
|
-- SignColumn { }, -- Column where |signs| are displayed
|
||||||
-- IncSearch { }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
|
-- IncSearch { }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
|
||||||
-- Substitute { }, -- |:substitute| replacement text highlighting
|
-- Substitute { }, -- |:substitute| replacement text highlighting
|
||||||
-- LineNr { }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
-- LineNr { }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
||||||
-- CursorLineNr { }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
-- CursorLineNr { }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
||||||
-- MatchParen { }, -- The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
|
-- MatchParen { }, -- Character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt|
|
||||||
-- ModeMsg { }, -- 'showmode' message (e.g., "-- INSERT -- ")
|
-- ModeMsg { }, -- 'showmode' message (e.g., "-- INSERT -- ")
|
||||||
-- MsgArea { }, -- Area for messages and cmdline
|
-- MsgArea { }, -- Area for messages and cmdline
|
||||||
-- MsgSeparator { }, -- Separator for scrolled messages, `msgsep` flag of 'display'
|
-- MsgSeparator { }, -- Separator for scrolled messages, `msgsep` flag of 'display'
|
||||||
-- MoreMsg { }, -- |more-prompt|
|
-- MoreMsg { }, -- |more-prompt|
|
||||||
-- NonText { }, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|.
|
-- NonText { }, -- '@' at the end of the window, characters from 'showbreak' and other characters that do not really exist in the text (e.g., ">" displayed when a double-wide character doesn't fit at the end of the line). See also |hl-EndOfBuffer|.
|
||||||
-- Normal { }, -- normal text
|
-- Normal { }, -- Normal text
|
||||||
-- NormalFloat { }, -- Normal text in floating windows.
|
-- NormalFloat { }, -- Normal text in floating windows.
|
||||||
-- NormalNC { }, -- normal text in non-current windows
|
-- NormalNC { }, -- normal text in non-current windows
|
||||||
-- Pmenu { }, -- Popup menu: normal item.
|
-- Pmenu { }, -- Popup menu: Normal item.
|
||||||
-- PmenuSel { }, -- Popup menu: selected item.
|
-- PmenuSel { }, -- Popup menu: Selected item.
|
||||||
-- PmenuSbar { }, -- Popup menu: scrollbar.
|
-- PmenuSbar { }, -- Popup menu: Scrollbar.
|
||||||
-- PmenuThumb { }, -- Popup menu: Thumb of the scrollbar.
|
-- PmenuThumb { }, -- Popup menu: Thumb of the scrollbar.
|
||||||
-- Question { }, -- |hit-enter| prompt and yes/no questions
|
-- Question { }, -- |hit-enter| prompt and yes/no questions
|
||||||
-- QuickFixLine { }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
|
-- QuickFixLine { }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
|
||||||
-- Search { }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out.
|
-- Search { }, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out.
|
||||||
-- SpecialKey { }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
|
-- SpecialKey { }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
|
||||||
-- SpellBad { }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.
|
-- SpellBad { }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.
|
||||||
-- SpellCap { }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
|
-- SpellCap { }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
|
||||||
-- SpellLocal { }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise.
|
-- SpellLocal { }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise.
|
||||||
-- SpellRare { }, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise.
|
-- SpellRare { }, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise.
|
||||||
-- StatusLine { }, -- status line of current window
|
-- StatusLine { }, -- Status line of current window
|
||||||
-- StatusLineNC { }, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window.
|
-- StatusLineNC { }, -- Status lines of not-current windows. Note: If this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window.
|
||||||
-- TabLine { }, -- tab pages line, not active tab page label
|
-- TabLine { }, -- Tab pages line, not active tab page label
|
||||||
-- TabLineFill { }, -- tab pages line, where there are no labels
|
-- TabLineFill { }, -- Tab pages line, where there are no labels
|
||||||
-- TabLineSel { }, -- tab pages line, active tab page label
|
-- TabLineSel { }, -- Tab pages line, active tab page label
|
||||||
-- Title { }, -- titles for output from ":set all", ":autocmd" etc.
|
-- Title { }, -- Titles for output from ":set all", ":autocmd" etc.
|
||||||
-- Visual { }, -- Visual mode selection
|
-- Visual { }, -- Visual mode selection
|
||||||
-- VisualNOS { }, -- Visual mode selection when vim is "Not Owning the Selection".
|
-- VisualNOS { }, -- Visual mode selection when vim is "Not Owning the Selection".
|
||||||
-- WarningMsg { }, -- warning messages
|
-- WarningMsg { }, -- Warning messages
|
||||||
-- Whitespace { }, -- "nbsp", "space", "tab" and "trail" in 'listchars'
|
-- Whitespace { }, -- "nbsp", "space", "tab" and "trail" in 'listchars'
|
||||||
-- WildMenu { }, -- current match in 'wildmenu' completion
|
-- Winseparator { }, -- Separator between window splits. Inherts from |hl-VertSplit| by default, which it will replace eventually.
|
||||||
|
-- WildMenu { }, -- Current match in 'wildmenu' completion
|
||||||
|
|
||||||
-- These groups are not listed as default vim groups,
|
-- Common vim syntax groups used for all kinds of code and markup.
|
||||||
-- but they are defacto standard group names for syntax highlighting.
|
-- Commented-out groups should chain up to their preferred (*) group
|
||||||
-- commented out groups should chain up to their "preferred" group by
|
-- by default.
|
||||||
-- default,
|
--
|
||||||
|
-- See :h group-name
|
||||||
|
--
|
||||||
-- Uncomment and edit if you want more specific syntax highlighting.
|
-- Uncomment and edit if you want more specific syntax highlighting.
|
||||||
|
|
||||||
-- Constant { }, -- (preferred) any constant
|
-- Comment { }, -- Any comment
|
||||||
-- String { }, -- a string constant: "this is a string"
|
|
||||||
-- Character { }, -- a character constant: 'c', '\n'
|
|
||||||
-- Number { }, -- a number constant: 234, 0xff
|
|
||||||
-- Boolean { }, -- a boolean constant: TRUE, false
|
|
||||||
-- Float { }, -- a floating point constant: 2.3e10
|
|
||||||
|
|
||||||
-- Identifier { }, -- (preferred) any variable name
|
-- Constant { }, -- (*) Any constant
|
||||||
-- Function { }, -- function name (also: methods for classes)
|
-- String { }, -- A string constant: "this is a string"
|
||||||
|
-- Character { }, -- A character constant: 'c', '\n'
|
||||||
|
-- Number { }, -- A number constant: 234, 0xff
|
||||||
|
-- Boolean { }, -- A boolean constant: TRUE, false
|
||||||
|
-- Float { }, -- A floating point constant: 2.3e10
|
||||||
|
|
||||||
-- Statement { }, -- (preferred) any statement
|
-- Identifier { }, -- (*) Any variable name
|
||||||
-- Conditional { }, -- if, then, else, endif, switch, etc.
|
-- Function { }, -- Function name (also: methods for classes)
|
||||||
|
|
||||||
|
-- Statement { }, -- (*) Any statement
|
||||||
|
-- Conditional { }, -- if, then, else, endif, switch, etc.
|
||||||
-- Repeat { }, -- for, do, while, etc.
|
-- Repeat { }, -- for, do, while, etc.
|
||||||
-- Label { }, -- case, default, etc.
|
-- Label { }, -- case, default, etc.
|
||||||
-- Operator { }, -- "sizeof", "+", "*", etc.
|
-- Operator { }, -- "sizeof", "+", "*", etc.
|
||||||
-- Keyword { }, -- any other keyword
|
-- Keyword { }, -- any other keyword
|
||||||
-- Exception { }, -- try, catch, throw
|
-- Exception { }, -- try, catch, throw
|
||||||
|
|
||||||
-- PreProc { }, -- (preferred) generic Preprocessor
|
-- PreProc { }, -- (*) Generic Preprocessor
|
||||||
-- Include { }, -- preprocessor #include
|
-- Include { }, -- Preprocessor #include
|
||||||
-- Define { }, -- preprocessor #define
|
-- Define { }, -- Preprocessor #define
|
||||||
-- Macro { }, -- same as Define
|
-- Macro { }, -- Same as Define
|
||||||
-- PreCondit { }, -- preprocessor #if, #else, #endif, etc.
|
-- PreCondit { }, -- Preprocessor #if, #else, #endif, etc.
|
||||||
|
|
||||||
-- Type { }, -- (preferred) int, long, char, etc.
|
-- Type { }, -- (*) int, long, char, etc.
|
||||||
-- StorageClass { }, -- static, register, volatile, etc.
|
-- StorageClass { }, -- static, register, volatile, etc.
|
||||||
-- Structure { }, -- struct, union, enum, etc.
|
-- Structure { }, -- struct, union, enum, etc.
|
||||||
-- Typedef { }, -- A typedef
|
-- Typedef { }, -- A typedef
|
||||||
|
|
||||||
-- Special { }, -- (preferred) any special symbol
|
-- Special { }, -- (*) Any special symbol
|
||||||
-- SpecialChar { }, -- special character in a constant
|
-- SpecialChar { }, -- Special character in a constant
|
||||||
-- Tag { }, -- you can use CTRL-] on this
|
-- Tag { }, -- You can use CTRL-] on this
|
||||||
-- Delimiter { }, -- character that needs attention
|
-- Delimiter { }, -- Character that needs attention
|
||||||
-- SpecialComment { }, -- special things inside a comment
|
-- SpecialComment { }, -- Special things inside a comment (e.g. '\n')
|
||||||
-- Debug { }, -- debugging statements
|
-- Debug { }, -- Debugging statements
|
||||||
|
|
||||||
-- Underlined { gui = "underline" }, -- (preferred) text that stands out, HTML links
|
-- Underlined { gui = "underline" }, -- Text that stands out, HTML links
|
||||||
-- Bold { gui = "bold" },
|
-- Ignore { }, -- Left blank, hidden |hl-Ignore| (NOTE: May be invisible here in template)
|
||||||
-- Italic { gui = "italic" },
|
-- Error { }, -- Any erroneous construct
|
||||||
|
-- Todo { }, -- Anything that needs extra attention; mostly the keywords TODO FIXME and XXX
|
||||||
-- ("Ignore", below, may be invisible...)
|
|
||||||
-- Ignore { }, -- (preferred) left blank, hidden |hl-Ignore|
|
|
||||||
|
|
||||||
-- Error { }, -- (preferred) any erroneous construct
|
|
||||||
|
|
||||||
-- Todo { }, -- (preferred) anything that needs extra attention; mostly the keywords TODO FIXME and XXX
|
|
||||||
|
|
||||||
-- These groups are for the native LSP client and diagnostic system. Some
|
-- These groups are for the native LSP client and diagnostic system. Some
|
||||||
-- other LSP clients may use these groups, or use their own. Consult your
|
-- other LSP clients may use these groups, or use their own. Consult your
|
||||||
|
@ -179,9 +175,9 @@ local theme = lush(function()
|
||||||
|
|
||||||
-- See :h lsp-highlight, some groups may not be listed, submit a PR fix to lush-template!
|
-- See :h lsp-highlight, some groups may not be listed, submit a PR fix to lush-template!
|
||||||
--
|
--
|
||||||
-- LspReferenceText { } , -- used for highlighting "text" references
|
-- LspReferenceText { } , -- Used for highlighting "text" references
|
||||||
-- LspReferenceRead { } , -- used for highlighting "read" references
|
-- LspReferenceRead { } , -- Used for highlighting "read" references
|
||||||
-- LspReferenceWrite { } , -- used for highlighting "write" references
|
-- LspReferenceWrite { } , -- Used for highlighting "write" references
|
||||||
-- LspCodeLens { } , -- Used to color the virtual text of the codelens. See |nvim_buf_set_extmark()|.
|
-- LspCodeLens { } , -- Used to color the virtual text of the codelens. See |nvim_buf_set_extmark()|.
|
||||||
-- LspCodeLensSeparator { } , -- Used to color the seperator between two or more code lens.
|
-- LspCodeLensSeparator { } , -- Used to color the seperator between two or more code lens.
|
||||||
-- LspSignatureActiveParameter { } , -- Used to highlight the active parameter in the signature help. See |vim.lsp.handlers.signature_help()|.
|
-- LspSignatureActiveParameter { } , -- Used to highlight the active parameter in the signature help. See |vim.lsp.handlers.signature_help()|.
|
||||||
|
@ -209,17 +205,23 @@ local theme = lush(function()
|
||||||
-- DiagnosticSignInfo { } , -- Used for "Info" signs in sign column.
|
-- DiagnosticSignInfo { } , -- Used for "Info" signs in sign column.
|
||||||
-- DiagnosticSignHint { } , -- Used for "Hint" signs in sign column.
|
-- DiagnosticSignHint { } , -- Used for "Hint" signs in sign column.
|
||||||
|
|
||||||
|
-- Tree-Sitter syntax groups. Most link to corresponding
|
||||||
|
-- vim syntax groups (e.g. TSKeyword => Keyword) by default.
|
||||||
|
--
|
||||||
-- See :h nvim-treesitter-highlights, some groups may not be listed, submit a PR fix to lush-template!
|
-- See :h nvim-treesitter-highlights, some groups may not be listed, submit a PR fix to lush-template!
|
||||||
--
|
--
|
||||||
-- TSAttribute { } , -- Annotations that can be attached to the code to denote some kind of meta information. e.g. C++/Dart attributes.
|
-- TSAttribute { } , -- Annotations that can be attached to the code to denote some kind of meta information. e.g. C++/Dart attributes.
|
||||||
-- TSBoolean { } , -- Boolean literals: `True` and `False` in Python.
|
-- TSBoolean { } , -- Boolean literals: `True` and `False` in Python.
|
||||||
-- TSCharacter { } , -- Character literals: `'a'` in C.
|
-- TSCharacter { } , -- Character literals: `'a'` in C.
|
||||||
|
-- TSCharacterSpecial { } , -- Special characters.
|
||||||
-- TSComment { } , -- Line comments and block comments.
|
-- TSComment { } , -- Line comments and block comments.
|
||||||
-- TSConditional { } , -- Keywords related to conditionals: `if`, `when`, `cond`, etc.
|
-- TSConditional { } , -- Keywords related to conditionals: `if`, `when`, `cond`, etc.
|
||||||
-- TSConstant { } , -- Constants identifiers. These might not be semantically constant. E.g. uppercase variables in Python.
|
-- TSConstant { } , -- Constants identifiers. These might not be semantically constant. E.g. uppercase variables in Python.
|
||||||
-- TSConstBuiltin { } , -- Built-in constant values: `nil` in Lua.
|
-- TSConstBuiltin { } , -- Built-in constant values: `nil` in Lua.
|
||||||
-- TSConstMacro { } , -- Constants defined by macros: `NULL` in C.
|
-- TSConstMacro { } , -- Constants defined by macros: `NULL` in C.
|
||||||
-- TSConstructor { } , -- Constructor calls and definitions: `{}` in Lua, and Java constructors.
|
-- TSConstructor { } , -- Constructor calls and definitions: `{}` in Lua, and Java constructors.
|
||||||
|
-- TSDebug { } , -- Debugging statements.
|
||||||
|
-- TSDefine { } , -- Preprocessor #define statements.
|
||||||
-- TSError { } , -- Syntax/parser errors. This might highlight large sections of code while the user is typing still incomplete code, use a sensible highlight.
|
-- TSError { } , -- Syntax/parser errors. This might highlight large sections of code while the user is typing still incomplete code, use a sensible highlight.
|
||||||
-- TSException { } , -- Exception related keywords: `try`, `except`, `finally` in Python.
|
-- TSException { } , -- Exception related keywords: `try`, `except`, `finally` in Python.
|
||||||
-- TSField { } , -- Object and struct fields.
|
-- TSField { } , -- Object and struct fields.
|
||||||
|
@ -240,11 +242,13 @@ local theme = lush(function()
|
||||||
-- TSOperator { } , -- Binary or unary operators: `+`, and also `->` and `*` in C.
|
-- TSOperator { } , -- Binary or unary operators: `+`, and also `->` and `*` in C.
|
||||||
-- TSParameter { } , -- Parameters of a function.
|
-- TSParameter { } , -- Parameters of a function.
|
||||||
-- TSParameterReference { } , -- References to parameters of a function.
|
-- TSParameterReference { } , -- References to parameters of a function.
|
||||||
|
-- TSPreProc { } , -- Preprocessor #if, #else, #endif, etc.
|
||||||
-- TSProperty { } , -- Same as `TSField`.
|
-- TSProperty { } , -- Same as `TSField`.
|
||||||
-- TSPunctDelimiter { } , -- Punctuation delimiters: Periods, commas, semicolons, etc.
|
-- TSPunctDelimiter { } , -- Punctuation delimiters: Periods, commas, semicolons, etc.
|
||||||
-- TSPunctBracket { } , -- Brackets, braces, parentheses, etc.
|
-- TSPunctBracket { } , -- Brackets, braces, parentheses, etc.
|
||||||
-- TSPunctSpecial { } , -- Special punctuation that doesn't fit into the previous categories.
|
-- TSPunctSpecial { } , -- Special punctuation that doesn't fit into the previous categories.
|
||||||
-- TSRepeat { } , -- Keywords related to loops: `for`, `while`, etc.
|
-- TSRepeat { } , -- Keywords related to loops: `for`, `while`, etc.
|
||||||
|
-- TSStorageClass { } , -- Keywords that affect how a variable is stored: `static`, `comptime`, `extern`, etc.
|
||||||
-- TSString { } , -- String literals.
|
-- TSString { } , -- String literals.
|
||||||
-- TSStringRegex { } , -- Regular expression literals.
|
-- TSStringRegex { } , -- Regular expression literals.
|
||||||
-- TSStringEscape { } , -- Escape characters within a string: `\n`, `\t`, etc.
|
-- TSStringEscape { } , -- Escape characters within a string: `\n`, `\t`, etc.
|
||||||
|
@ -275,7 +279,7 @@ local theme = lush(function()
|
||||||
}
|
}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- return our parsed theme for extension or use else where.
|
-- Return our parsed theme for extension or use elsewhere.
|
||||||
return theme
|
return theme
|
||||||
|
|
||||||
-- vi:nowrap
|
-- vi:nowrap
|
||||||
|
|
Loading…
Reference in a new issue