diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-21 22:02:18 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-21 22:02:18 +0200 |
commit | 6e14457e2c9697117f5a03c6550616a7d8b23400 (patch) | |
tree | e296341c0b6f26ce700c41654120c1ac24a937af | |
parent | 1b6c925e01dbee7158c26b977908b978941bfb9d (diff) |
Add bold type as config
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | lua/no-clown-fiesta/Treesitter.lua | 2 | ||||
-rw-r--r-- | lua/no-clown-fiesta/config.lua | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -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 |