diff options
| author | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-10-15 11:59:24 +0200 |
|---|---|---|
| committer | Ariel D'Alessandro <dalessandro.ariel@gmail.com> | 2022-10-15 11:59:24 +0200 |
| commit | 7e62950549047548c2744b634d5947da67647881 (patch) | |
| tree | caa5180018a89a09c62d0dc904bf8b1ad3e686ba /after/plugin | |
| parent | 81e7ddbd48a9f1fa0039b6728f5f23ece0307900 (diff) | |
| download | nvim-conf-7e62950549047548c2744b634d5947da67647881.tar.gz nvim-conf-7e62950549047548c2744b634d5947da67647881.zip | |
feat: improve colorscheme management
Diffstat (limited to 'after/plugin')
| -rw-r--r-- | after/plugin/cmp.lua | 2 | ||||
| -rw-r--r-- | after/plugin/lualine.lua | 2 | ||||
| -rw-r--r-- | after/plugin/nightfox.lua | 32 | ||||
| -rw-r--r-- | after/plugin/tokio.lua | 10 |
4 files changed, 2 insertions, 44 deletions
diff --git a/after/plugin/cmp.lua b/after/plugin/cmp.lua index 3dcefd5..8e980d1 100644 --- a/after/plugin/cmp.lua +++ b/after/plugin/cmp.lua @@ -133,7 +133,7 @@ cmp.setup.filetype({ "dap-repl", "dapui_watches" }, { }) -- Setup lspconfig. -local capabilities = require("cmp_nvim_lsp").update_capabilities(vim.lsp.protocol.make_client_capabilities()) +local capabilities = require("cmp_nvim_lsp").default_capabilities(vim.lsp.protocol.make_client_capabilities()) -- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled. require("lspconfig")["emmet_ls"].setup({ capabilities = capabilities, diff --git a/after/plugin/lualine.lua b/after/plugin/lualine.lua index 12f276c..50886aa 100644 --- a/after/plugin/lualine.lua +++ b/after/plugin/lualine.lua @@ -5,7 +5,7 @@ end lualine.setup({ options = { - theme = "tokyonight", + theme = vim.g.alpha_lualine_color, icons_enabled = true, globalstatus = true, }, diff --git a/after/plugin/nightfox.lua b/after/plugin/nightfox.lua deleted file mode 100644 index ce31634..0000000 --- a/after/plugin/nightfox.lua +++ /dev/null @@ -1,32 +0,0 @@ -local ok, nightfox = pcall(require, "nightfox") -if not ok then - return -end - -local palettes = { - all = { - } -} - -local groups = { - all = { - CmpItemAbbr = { fg = "fg0" }, - CmpItemAbbrDeprecated = { link = "Error" }, - CmpItemAbbrMatchFuzzy = { link = "CmpItemAbbr" }, - CmpItemKind = { link = "Special" }, - }, -} - -nightfox.setup({ - options = { - styles = { - comments = "italic", - keywords = "bold", - types = "italic,bold", - }, - }, - palettes = palettes, - groups = groups, -}) - -vim.cmd("colorscheme duskfox") diff --git a/after/plugin/tokio.lua b/after/plugin/tokio.lua deleted file mode 100644 index 04c566e..0000000 --- a/after/plugin/tokio.lua +++ /dev/null @@ -1,10 +0,0 @@ -local ok, tokyonight = pcall(require, "tokyonight") -if not ok then - return -end - -tokyonight.setup({ - style="night" -}) - -vim.cmd.colorscheme("tokyonight") |