summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/Treesitter.lua
diff options
context:
space:
mode:
authorMarco Galli <marco.galli@protonmail.com>2022-06-14 23:15:47 +0200
committerGitHub <noreply@github.com>2022-06-14 23:15:47 +0200
commit699aa9cd153dd14c00405fa26a7b9d93aed6dbe2 (patch)
treeed15ddc99ae7d7fecf31b6c4732cd1b666dbcbf7 /lua/no-clown-fiesta/Treesitter.lua
parent5cb00c1486a53277545ccd23dfa5201881e6a7ec (diff)
Fix WinSeparator hl and make it consistent with Telescope window borders, also make the configuration variables actually work (#3)
* Fix WinSeparator hl and make it consistent with Telescope border color * Make config variables work README configuration description * Remove useless comment
Diffstat (limited to 'lua/no-clown-fiesta/Treesitter.lua')
-rw-r--r--lua/no-clown-fiesta/Treesitter.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/no-clown-fiesta/Treesitter.lua b/lua/no-clown-fiesta/Treesitter.lua
index bb79c38..4fe5d24 100644
--- a/lua/no-clown-fiesta/Treesitter.lua
+++ b/lua/no-clown-fiesta/Treesitter.lua
@@ -1,5 +1,5 @@
local Treesitter = {
- TSComment = { fg = C.medium_gray },
+ TSComment = { fg = C.medium_gray, style = Config.italic_comments },
TSAnnotation = { fg = C.white },
TSAttribute = { fg = C.white },
TSConstructor = { fg = C.white },
@@ -8,8 +8,8 @@ local Treesitter = {
TSConditional = { fg = C.gray_blue },
TSException = { fg = C.red },
TSInclude = { fg = C.red },
- TSKeyword = { fg = C.gray_blue },
- TSKeywordFunction = { fg = C.purple },
+ TSKeyword = { fg = C.gray_blue, style = Config.italic_keywords },
+ TSKeywordFunction = { fg = C.purple, style = Config.italic_keywords },
TSLabel = { fg = C.white },
TSNamespace = { fg = C.white },
TSRepeat = { fg = C.gray_blue },
@@ -20,12 +20,12 @@ local Treesitter = {
TSBoolean = { fg = C.blue },
TSCharacter = { fg = C.light_green },
TSError = { fg = C.error_red },
- TSFunction = { fg = C.cyan },
+ TSFunction = { fg = C.cyan, style = Config.italic_functions },
TSFuncBuiltin = { fg = C.cyan },
TSMethod = { fg = C.cyan },
TSConstMacro = { fg = C.cyan },
TSFuncMacro = { fg = C.cyan },
- TSVariable = { fg = C.white },
+ TSVariable = { fg = C.white, style = Config.italic_variables },
TSVariableBuiltin = { fg = C.white },
TSProperty = { fg = C.white },
TSOperator = { fg = C.white },