diff --git a/lua/tokyonight/theme.lua b/lua/tokyonight/theme.lua index 2274013..92ee2de 100644 --- a/lua/tokyonight/theme.lua +++ b/lua/tokyonight/theme.lua @@ -198,7 +198,7 @@ function M.setup(config) -- 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 = config.keywordStyle }, -- For keywords that don't fall in previous categories. - -- TSKeywordFunction = { }; -- For keywords used to define a fuction. + TSKeywordFunction = { fg = c.purple, style = config.functionStyle }, -- For keywords used to define a fuction. TSLabel = { 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. @@ -232,6 +232,9 @@ function M.setup(config) -- TSLiteral = { }; -- Literal text. -- TSURI = { }; -- Any URI like a link or email. + -- Lua + -- luaTSProperty = { fg = c.red }, -- Same as `TSField`. + -- diff diffAdded = { fg = c.git.add }, diffRemoved = { fg = c.git.delete }, diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm new file mode 100644 index 0000000..c201f94 --- /dev/null +++ b/queries/lua/highlights.scm @@ -0,0 +1 @@ +(self) @variable.builtin