From 2191de3666608e3eef2713771d8582c11c73e379 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 14 Jan 2022 21:35:43 +0100 Subject: Format with stylua --- lua/no-clown-fiesta/config.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'lua/no-clown-fiesta/config.lua') 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 -- cgit v1.2.3-70-g09d2