diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-17 20:42:09 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2021-09-17 20:42:09 +0200 |
commit | 65f19f00fdfaab36ec062a7128537894fc58853d (patch) | |
tree | 6ceea4b3bbca95bcf11d8b9366d6b5e6dc856fc2 | |
parent | 1de9cbcdb2ae746ff68b0667c8f7dfc95a11c186 (diff) |
Rename color theme from dark to coal
-rw-r--r-- | .config/nvim/colors/coal.vim | 1 | ||||
-rw-r--r-- | .config/nvim/colors/dark.vim | 1 | ||||
-rw-r--r-- | .config/nvim/config.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/coal/Git.lua (renamed from .config/nvim/lua/dark/Git.lua) | 0 | ||||
-rw-r--r-- | .config/nvim/lua/coal/LSP.lua (renamed from .config/nvim/lua/dark/LSP.lua) | 0 | ||||
-rw-r--r-- | .config/nvim/lua/coal/Treesitter.lua (renamed from .config/nvim/lua/dark/Treesitter.lua) | 0 | ||||
-rw-r--r-- | .config/nvim/lua/coal/Whichkey.lua (renamed from .config/nvim/lua/dark/Whichkey.lua) | 0 | ||||
-rw-r--r-- | .config/nvim/lua/coal/config.lua (renamed from .config/nvim/lua/dark/config.lua) | 0 | ||||
-rw-r--r-- | .config/nvim/lua/coal/highlights.lua (renamed from .config/nvim/lua/dark/highlights.lua) | 0 | ||||
-rw-r--r-- | .config/nvim/lua/coal/init.lua | 30 | ||||
-rw-r--r-- | .config/nvim/lua/coal/markdown.lua (renamed from .config/nvim/lua/dark/markdown.lua) | 0 | ||||
-rw-r--r-- | .config/nvim/lua/coal/palette.lua (renamed from .config/nvim/lua/dark/palette.lua) | 0 | ||||
-rw-r--r-- | .config/nvim/lua/coal/util.lua (renamed from .config/nvim/lua/dark/util.lua) | 0 | ||||
-rw-r--r-- | .config/nvim/lua/core/lualine/styles.lua | 4 | ||||
-rw-r--r-- | .config/nvim/lua/dark/init.lua | 30 |
15 files changed, 35 insertions, 35 deletions
diff --git a/.config/nvim/colors/coal.vim b/.config/nvim/colors/coal.vim new file mode 100644 index 0000000..a6ef3c7 --- /dev/null +++ b/.config/nvim/colors/coal.vim @@ -0,0 +1 @@ +lua require("coal") diff --git a/.config/nvim/colors/dark.vim b/.config/nvim/colors/dark.vim deleted file mode 100644 index 89c03d1..0000000 --- a/.config/nvim/colors/dark.vim +++ /dev/null @@ -1 +0,0 @@ -lua require("dark") diff --git a/.config/nvim/config.lua b/.config/nvim/config.lua index 58396ef..6075493 100644 --- a/.config/nvim/config.lua +++ b/.config/nvim/config.lua @@ -1,6 +1,6 @@ -- general options.format_on_save = true -options.colorscheme = "dark" +options.colorscheme = "coal" vim.opt.wrap = false -- Keymappings @@ -20,7 +20,7 @@ options.builtin.telescope.active = true options.builtin.bufferline.active = true options.builtin.nvimtree.active = true options.builtin.lualine.active = true -options.builtin.lualine.style = "clean" +options.builtin.lualine.style = "coal" -- Whichkey options.builtin.which_key.mappings.l.d = { "<cmd>TroubleToggle<cr>", "Diagnostics" } diff --git a/.config/nvim/lua/dark/Git.lua b/.config/nvim/lua/coal/Git.lua index b47ccf2..b47ccf2 100644 --- a/.config/nvim/lua/dark/Git.lua +++ b/.config/nvim/lua/coal/Git.lua diff --git a/.config/nvim/lua/dark/LSP.lua b/.config/nvim/lua/coal/LSP.lua index 85d0d7e..85d0d7e 100644 --- a/.config/nvim/lua/dark/LSP.lua +++ b/.config/nvim/lua/coal/LSP.lua diff --git a/.config/nvim/lua/dark/Treesitter.lua b/.config/nvim/lua/coal/Treesitter.lua index e644b8b..e644b8b 100644 --- a/.config/nvim/lua/dark/Treesitter.lua +++ b/.config/nvim/lua/coal/Treesitter.lua diff --git a/.config/nvim/lua/dark/Whichkey.lua b/.config/nvim/lua/coal/Whichkey.lua index 9b9fb60..9b9fb60 100644 --- a/.config/nvim/lua/dark/Whichkey.lua +++ b/.config/nvim/lua/coal/Whichkey.lua diff --git a/.config/nvim/lua/dark/config.lua b/.config/nvim/lua/coal/config.lua index ebac710..ebac710 100644 --- a/.config/nvim/lua/dark/config.lua +++ b/.config/nvim/lua/coal/config.lua diff --git a/.config/nvim/lua/dark/highlights.lua b/.config/nvim/lua/coal/highlights.lua index 45008b7..45008b7 100644 --- a/.config/nvim/lua/dark/highlights.lua +++ b/.config/nvim/lua/coal/highlights.lua diff --git a/.config/nvim/lua/coal/init.lua b/.config/nvim/lua/coal/init.lua new file mode 100644 index 0000000..45f595b --- /dev/null +++ b/.config/nvim/lua/coal/init.lua @@ -0,0 +1,30 @@ +vim.api.nvim_command "hi clear" +if vim.fn.exists "syntax_on" then + vim.api.nvim_command "syntax reset" +end +vim.o.background = "dark" +vim.o.termguicolors = true +vim.g.colors_name = "coal" + +local util = require "coal.util" +Config = require "coal.config" +C = require "coal.palette" +local highlights = require "coal.highlights" +local Treesitter = require "coal.Treesitter" +local markdown = require "coal.markdown" +local Whichkey = require "coal.Whichkey" +local Git = require "coal.Git" +local LSP = require "coal.LSP" + +local skeletons = { + highlights, + Treesitter, + markdown, + Whichkey, + Git, + LSP, +} + +for _, skeleton in ipairs(skeletons) do + util.initialise(skeleton) +end diff --git a/.config/nvim/lua/dark/markdown.lua b/.config/nvim/lua/coal/markdown.lua index 2b83e05..2b83e05 100644 --- a/.config/nvim/lua/dark/markdown.lua +++ b/.config/nvim/lua/coal/markdown.lua diff --git a/.config/nvim/lua/dark/palette.lua b/.config/nvim/lua/coal/palette.lua index 4b975f0..4b975f0 100644 --- a/.config/nvim/lua/dark/palette.lua +++ b/.config/nvim/lua/coal/palette.lua diff --git a/.config/nvim/lua/dark/util.lua b/.config/nvim/lua/coal/util.lua index dbac18a..dbac18a 100644 --- a/.config/nvim/lua/dark/util.lua +++ b/.config/nvim/lua/coal/util.lua diff --git a/.config/nvim/lua/core/lualine/styles.lua b/.config/nvim/lua/core/lualine/styles.lua index 30384a8..288b374 100644 --- a/.config/nvim/lua/core/lualine/styles.lua +++ b/.config/nvim/lua/core/lualine/styles.lua @@ -5,10 +5,10 @@ local styles = { lvim = nil, default = nil, none = nil, - clean = nil, + coal = nil, } -styles.clean = { +styles.coal = { style = "lvim", options = { icons_enabled = true, diff --git a/.config/nvim/lua/dark/init.lua b/.config/nvim/lua/dark/init.lua deleted file mode 100644 index dd24d95..0000000 --- a/.config/nvim/lua/dark/init.lua +++ /dev/null @@ -1,30 +0,0 @@ -vim.api.nvim_command "hi clear" -if vim.fn.exists "syntax_on" then - vim.api.nvim_command "syntax reset" -end -vim.o.background = "dark" -vim.o.termguicolors = true -vim.g.colors_name = "dark" - -local util = require "dark.util" -Config = require "dark.config" -C = require "dark.palette" -local highlights = require "dark.highlights" -local Treesitter = require "dark.Treesitter" -local markdown = require "dark.markdown" -local Whichkey = require "dark.Whichkey" -local Git = require "dark.Git" -local LSP = require "dark.LSP" - -local skeletons = { - highlights, - Treesitter, - markdown, - Whichkey, - Git, - LSP, -} - -for _, skeleton in ipairs(skeletons) do - util.initialise(skeleton) -end |