diff options
author | kylo252 <[email protected]> | 2022-03-24 15:48:33 +0100 |
---|---|---|
committer | kylo252 <[email protected]> | 2022-03-24 15:48:33 +0100 |
commit | f41edc6dfb0d2a4c9875da08bbbdab121e52048f (patch) | |
tree | c6541278c6314e58d991bc95e547e903ac58340a /lua/onedarker/config.lua | |
parent | 5ee460fdc751a91cdf7a4f4aab2ab784ebdb36fd (diff) | |
parent | 1ea836e3601b7ed0ed0496888dc14683bfbcce75 (diff) |
Merge remote-tracking branch 'origin/rolling'1.1.3
Diffstat (limited to 'lua/onedarker/config.lua')
-rw-r--r-- | lua/onedarker/config.lua | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lua/onedarker/config.lua b/lua/onedarker/config.lua deleted file mode 100644 index ebac7109..00000000 --- a/lua/onedarker/config.lua +++ /dev/null @@ -1,23 +0,0 @@ -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] -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", -} - -return config |