From 73a60f5ee71bb60265ec0c97be7531a5e7605d8c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 13 Jan 2022 19:12:32 +0100 Subject: Remove bloat nvim config --- .config/nvim/lua/dark/config.lua | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .config/nvim/lua/dark/config.lua (limited to '.config/nvim/lua/dark/config.lua') diff --git a/.config/nvim/lua/dark/config.lua b/.config/nvim/lua/dark/config.lua deleted file mode 100644 index ebac710..0000000 --- a/.config/nvim/lua/dark/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 -- cgit v1.2.3-70-g09d2