summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-21 22:02:18 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-07-21 22:02:18 +0200
commit6e14457e2c9697117f5a03c6550616a7d8b23400 (patch)
treee296341c0b6f26ce700c41654120c1ac24a937af /lua/no-clown-fiesta
parent1b6c925e01dbee7158c26b977908b978941bfb9d (diff)
Add bold type as config
Diffstat (limited to 'lua/no-clown-fiesta')
-rw-r--r--lua/no-clown-fiesta/Treesitter.lua2
-rw-r--r--lua/no-clown-fiesta/config.lua1
2 files changed, 2 insertions, 1 deletions
diff --git a/lua/no-clown-fiesta/Treesitter.lua b/lua/no-clown-fiesta/Treesitter.lua
index 54c2f61..0747063 100644
--- a/lua/no-clown-fiesta/Treesitter.lua
+++ b/lua/no-clown-fiesta/Treesitter.lua
@@ -3,7 +3,7 @@ local Treesitter = {
TSAnnotation = { fg = C.white },
TSAttribute = { fg = C.white },
TSConstructor = { fg = C.white },
- TSType = { fg = C.white, style = "bold" },
+ TSType = { fg = C.white, style = Config.bold_type },
TSTypeBuiltin = { fg = C.white },
TSConditional = { fg = C.gray_blue },
TSException = { fg = C.red },
diff --git a/lua/no-clown-fiesta/config.lua b/lua/no-clown-fiesta/config.lua
index 21d030f..3f51bce 100644
--- a/lua/no-clown-fiesta/config.lua
+++ b/lua/no-clown-fiesta/config.lua
@@ -18,6 +18,7 @@ config = {
italic_keywords = opt("italic_keywords", false) and "italic" or "NONE",
italic_functions = opt("italic_functions", false) and "italic" or "NONE",
italic_variables = opt("italic_variables", false) and "italic" or "NONE",
+ bold_type = opt("bold_type", false) and "bold" or "NONE",
}
return config