diff options
author | christianchiarulli <[email protected]> | 2021-07-14 23:15:17 -0400 |
---|---|---|
committer | christianchiarulli <[email protected]> | 2021-07-14 23:15:17 -0400 |
commit | 7252ba7a312bbf39cd83843a5eaca9bd35605427 (patch) | |
tree | 2fdaa30726cd1c5522efd52efec2d0864e25f039 /lua/spacegray/config.lua | |
parent | f58782563ea933f31e8886f511ec2b5824def19b (diff) | |
parent | 1411478e46a397b6649c44c82b67c9f48c53738a (diff) |
Merge branch 'rolling' of github.com:ChristianChiarulli/LunarVim into rolling
Diffstat (limited to 'lua/spacegray/config.lua')
-rw-r--r-- | lua/spacegray/config.lua | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lua/spacegray/config.lua b/lua/spacegray/config.lua index f9c10951..ebac7109 100644 --- a/lua/spacegray/config.lua +++ b/lua/spacegray/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
\ No newline at end of file +return config |