summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/config.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-14 21:35:43 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-14 21:35:43 +0100
commit2191de3666608e3eef2713771d8582c11c73e379 (patch)
treee36fe33f921da05e5a778e3c341c2b90087315ca /lua/no-clown-fiesta/config.lua
parent49daed66509b9c5850f42ed9188a363cdd5bc5b1 (diff)
Format with stylua
Diffstat (limited to 'lua/no-clown-fiesta/config.lua')
-rw-r--r--lua/no-clown-fiesta/config.lua24
1 files changed, 12 insertions, 12 deletions
diff --git a/lua/no-clown-fiesta/config.lua b/lua/no-clown-fiesta/config.lua
index ebac710..3055846 100644
--- a/lua/no-clown-fiesta/config.lua
+++ b/lua/no-clown-fiesta/config.lua
@@ -3,21 +3,21 @@ local config
vim = vim or { g = {}, o = {} }
local function opt(key, default)
- if vim.g[key] == nil then
- return default
- end
- if vim.g[key] == 0 then
- return false
- end
- return vim.g[key]
+ if vim.g[key] == nil then
+ return default
+ end
+ if vim.g[key] == 0 then
+ return false
+ end
+ return vim.g[key]
end
config = {
- transparent_background = opt("transparent_background", false),
- italic_comments = opt("italic_keywords", true) and "italic" or "NONE",
- italic_keywords = opt("italic_keywords", true) and "italic" or "NONE",
- italic_functions = opt("italic_function", false) and "italic" or "NONE",
- italic_variables = opt("italic_variables", true) and "italic" or "NONE",
+ transparent_background = opt("transparent_background", false),
+ italic_comments = opt("italic_keywords", true) and "italic" or "NONE",
+ italic_keywords = opt("italic_keywords", true) and "italic" or "NONE",
+ italic_functions = opt("italic_function", false) and "italic" or "NONE",
+ italic_variables = opt("italic_variables", true) and "italic" or "NONE",
}
return config