From 32566d0004ad36bbba2ab6caf70f6b8001787959 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 28 Aug 2023 14:23:31 +0300 Subject: [PATCH] feat(nvim): moved theme to lazy.lua --- config/nvim/lua/plugins/lazy.lua | 70 +++++++++++++++++++++++++++++++ config/nvim/lua/plugins/theme.lua | 68 ------------------------------ 2 files changed, 70 insertions(+), 68 deletions(-) delete mode 100644 config/nvim/lua/plugins/theme.lua diff --git a/config/nvim/lua/plugins/lazy.lua b/config/nvim/lua/plugins/lazy.lua index 02d6233..c72ee24 100644 --- a/config/nvim/lua/plugins/lazy.lua +++ b/config/nvim/lua/plugins/lazy.lua @@ -12,6 +12,76 @@ return { -- Appearance -- + -- The theme of choise, catppuccin + ---- https://github.com/catppuccin/nvim + { + "catppuccin/nvim", + name = "catppuccin", + priority = 10000, + enabled = true, + lazy = false, + config = function() + vim.cmd.colorscheme("catppuccin") + end, + opts = { + flavour = "mocha", + transparent_background = true, + dim_inactive = { + enabled = true, + shade = "dark", + percentage = 0.15, + }, + integrations = { + aerial = true, + barbecue = { + dim_dirname = true, -- directory name is dimmed by default + bold_basename = true, + dim_context = false, + alt_background = false, + }, + cmp = true, + dap = { enabled = true, enable_ui = true }, + gitsigns = true, + harpoon = true, + indent_blankline = { + enabled = true, + colored_indent_levels = false, + }, + mason = true, + neotree = true, + notify = true, + nvimtree = false, + native_lsp = { + enabled = true, + virtual_text = { + errors = { "italic" }, + hints = { "italic" }, + warnings = { "italic" }, + information = { "italic" }, + }, + underlines = { + errors = { "underline" }, + hints = { "underline" }, + warnings = { "underline" }, + information = { "underline" }, + }, + inlay_hints = { + background = true, + }, + }, + semantic_tokens = true, + symbols_outline = true, + telescope = { + enabled = true, + style = "catppuccin" + }, + ts_rainbow = true, + treesitter = true, + lsp_trouble = true, + which_key = true, + }, + }, + }, -- Status information for LSP. "j-hui/fidget.nvim", diff --git a/config/nvim/lua/plugins/theme.lua b/config/nvim/lua/plugins/theme.lua deleted file mode 100644 index 8c39b52..0000000 --- a/config/nvim/lua/plugins/theme.lua +++ /dev/null @@ -1,68 +0,0 @@ ---- https://github.com/catppuccin/nvim -return { - "catppuccin/nvim", - name = "catppuccin", - priority = 1000, - enabled = true, - lazy = false, - config = function() vim.cmd.colorscheme("catppuccin") end, - opts = { - flavour = "mocha", - transparent_background = true, - dim_inactive = { - enabled = true, - shade = "dark", - percentage = 0.15, - }, - integrations = { - alpha = true, - aerial = true, - barbecue = { - dim_dirname = true, -- directory name is dimmed by default - bold_basename = true, - dim_context = false, - alt_background = false, - }, - cmp = true, - dap = { enabled = true, enable_ui = true }, - gitsigns = true, - harpoon = true, - indent_blankline = { - enabled = true, - colored_indent_levels = false, - }, - mason = true, - neotree = true, - notify = true, - nvimtree = false, - native_lsp = { - enabled = true, - virtual_text = { - errors = { "italic" }, - hints = { "italic" }, - warnings = { "italic" }, - information = { "italic" }, - }, - underlines = { - errors = { "underline" }, - hints = { "underline" }, - warnings = { "underline" }, - information = { "underline" }, - }, - inlay_hints = { - background = true, - }, - }, - semantic_tokens = true, - symbols_outline = true, - telescope = { - enabled = true, - -- style = "nvchad" - }, - ts_rainbow = true, - treesitter = true, - lsp_trouble = true, - which_key = true, - }, - }, -}