diff options
Diffstat (limited to 'lua/plugins')
-rw-r--r-- | lua/plugins/lspconfig.lua | 2 | ||||
-rw-r--r-- | lua/plugins/theme.lua | 43 |
2 files changed, 29 insertions, 16 deletions
diff --git a/lua/plugins/lspconfig.lua b/lua/plugins/lspconfig.lua index bcbe84e..e1b98c2 100644 --- a/lua/plugins/lspconfig.lua +++ b/lua/plugins/lspconfig.lua @@ -104,7 +104,7 @@ return { 'hrsh7th/cmp-nvim-lsp', -- Required for the keybinds 'nvim-telescope/telescope.nvim', - { 'j-hui/fidget.nvim', tag = 'legacy', opts = {} }, + { 'j-hui/fidget.nvim', tag = 'v1.4.5', opts = { notification = { window = { winblend = 0 } } } }, { 'folke/neodev.nvim', opts = {} }, }, config = function() diff --git a/lua/plugins/theme.lua b/lua/plugins/theme.lua index 5eaf7c3..44d8e8d 100644 --- a/lua/plugins/theme.lua +++ b/lua/plugins/theme.lua @@ -1,18 +1,31 @@ return { - 'shaunsingh/nord.nvim', - lazy = false, - priority = 1000, - config = function() - vim.g.nord_contrast = true - vim.g.nord_borders = true - vim.g.nord_disable_background = false - vim.g.nord_cursorline_transparent = false - vim.g.nord_enable_sidebar_background = false - vim.g.nord_uniform_diff_background = true - vim.g.nord_italic = false - vim.g.nord_bold = false + { + 'shaunsingh/nord.nvim', + lazy = false, + priority = 1000, + config = function() + vim.g.nord_contrast = true + vim.g.nord_borders = true + vim.g.nord_disable_background = false + vim.g.nord_cursorline_transparent = false + vim.g.nord_enable_sidebar_background = false + vim.g.nord_uniform_diff_background = true + vim.g.nord_italic = false + vim.g.nord_bold = false - require('nord').set() - -- vim.cmd.colorscheme = 'nord' - end, + require('nord').set() + -- vim.cmd.colorscheme = 'nord' + end, + }, + { + 'xiyaowong/transparent.nvim', + config = function() + require('transparent').setup({ + extra_groups = { + -- 'NormalFloat', -- plugins which have float panel such as Lazy, Mason, LspInfo + }, + }) + vim.keymap.set('n', '<leader>tT', '<CMD>TransparentToggle<CR>', { desc = '[t]oggle [T]ransparency' }) + end, + }, } |