diff options
author | kylo252 <[email protected]> | 2022-03-19 13:55:34 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-03-19 16:25:34 +0330 |
commit | 1488deebc714d66427fe0b55e6b9df0a0db97df4 (patch) | |
tree | 7bcdfee15d1bfeaf335fb6321d53ac43ed88307d /lua/onedarker/config.lua | |
parent | 5a8ccd9fcb3b7be2a07d92246e7bc764409ed537 (diff) |
refactor: load onedarker theme externally (#2359)
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 |