summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/dark/Treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/dark/Treesitter.lua')
-rw-r--r--.config/nvim/lua/dark/Treesitter.lua56
1 files changed, 56 insertions, 0 deletions
diff --git a/.config/nvim/lua/dark/Treesitter.lua b/.config/nvim/lua/dark/Treesitter.lua
new file mode 100644
index 0000000..d2d965a
--- /dev/null
+++ b/.config/nvim/lua/dark/Treesitter.lua
@@ -0,0 +1,56 @@
+local Treesitter = {
+ TSComment = { fg = C.blue },
+ TSAnnotation = { fg = C.purple },
+ TSAttribute = { fg = C.cyan },
+ TSConstructor = { fg = C.white },
+ TSType = { fg = C.white },
+ TSTypeBuiltin = { fg = C.white },
+ TSConditional = { fg = C.orange },
+ TSException = { fg = C.orange },
+ TSInclude = { fg = C.orange },
+ TSKeyword = { fg = C.orange },
+ TSKeywordFunction = { fg = C.orange },
+ TSLabel = { fg = C.orange },
+ TSNamespace = { fg = C.orange },
+ TSRepeat = { fg = C.orange },
+ TSConstant = { fg = C.orange },
+ TSConstBuiltin = { fg = C.orange },
+ TSFloat = { fg = C.red },
+ TSNumber = { fg = C.red },
+ TSBoolean = { fg = C.red },
+ TSCharacter = { fg = C.light_green },
+ TSError = { fg = C.error_red },
+ TSFunction = { fg = C.purple },
+ TSFuncBuiltin = { fg = C.purple },
+ TSMethod = { fg = C.purple },
+ TSConstMacro = { fg = C.orange },
+ TSFuncMacro = { fg = C.orange },
+ TSVariable = { fg = C.white },
+ TSVariableBuiltin = { fg = C.cyan },
+ TSProperty = { fg = C.white },
+ TSOperator = { fg = C.orange },
+ TSField = { fg = C.white },
+ TSParameter = { fg = C.white },
+ TSParameterReference = { fg = C.white },
+ TSSymbol = { fg = C.white },
+ TSText = { fg = C.fg },
+ TSPunctDelimiter = { fg = C.gray },
+ TSTagDelimiter = { fg = C.gray },
+ TSPunctBracket = { fg = C.gray },
+ TSPunctSpecial = { fg = C.gray },
+ TSString = { fg = C.blue },
+ TSStringRegex = { fg = C.blue },
+ TSStringEscape = { fg = C.blue },
+ TSTag = { fg = C.pale_purple },
+ TSEmphasis = { style = "italic" },
+ TSUnderline = { style = "underline" },
+ TSTitle = { fg = C.blue, style = "bold" },
+ TSLiteral = { fg = C.blue },
+ TSURI = { fg = C.cyan, style = "underline" },
+ TSKeywordOperator = { fg = C.blue },
+ TSStructure = { fg = C.purple_test },
+ TSStrong = { fg = C.yellow },
+ TSQueryLinterError = { fg = C.warning_orange },
+}
+
+return Treesitter