summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/config.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-22 18:44:10 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-22 18:44:10 +0100
commitdecc826a2fb93b6793b0db1e915b5c27ff01708a (patch)
tree3c811b27ea80aace5885da4dfce42edbdd68f14c /lua/no-clown-fiesta/config.lua
parent54408d7ecfd76505da345b31688f755b1baf3423 (diff)
chore(format): format all files 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 3055846..ebac710 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