summaryrefslogtreecommitdiff
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
parent1b6c925e01dbee7158c26b977908b978941bfb9d (diff)
Add bold type as config
-rw-r--r--README.md1
-rw-r--r--lua/no-clown-fiesta/Treesitter.lua2
-rw-r--r--lua/no-clown-fiesta/config.lua1
3 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index 70991e0..b169346 100644
--- a/README.md
+++ b/README.md
@@ -39,3 +39,4 @@ These are all the available variables and their default values.
| italic_keywords | false |
| italic_functions | false |
| italic_variables | false |
+| bold_type | false |
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