summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2024-10-12 18:47:34 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2024-10-12 18:47:34 -0600
commit2c13a6639c337bbc9e2eaafa0e048cebb467c812 (patch)
treea84b4cd017734abbcdd29aef7dea961ea3339e75 /lua/plugins
parentca557f5ea64458227d85de9c5fe28d8ff4a8b54e (diff)
feat: add transparency support
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/lspconfig.lua2
-rw-r--r--lua/plugins/theme.lua43
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,
+ },
}