fix(plugins): packer background is correct color
* feat(plugins): more perf stuff <3
This commit is contained in:
parent
c95290c609
commit
07a01302f2
2 changed files with 6 additions and 1 deletions
|
@ -12,6 +12,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
disable = { -- disabling some core plugins may mean you'll have to remap some keybindings
|
disable = { -- disabling some core plugins may mean you'll have to remap some keybindings
|
||||||
'auto-session',
|
'auto-session',
|
||||||
|
'autocomplete',
|
||||||
'colorizer',
|
'colorizer',
|
||||||
'fugitive',
|
'fugitive',
|
||||||
'gitsigns',
|
'gitsigns',
|
||||||
|
|
|
@ -45,7 +45,7 @@ return packer.startup(function()
|
||||||
'folke/tokyonight.nvim',
|
'folke/tokyonight.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
vim.g.tokyonight_style = 'night'
|
vim.g.tokyonight_style = 'night'
|
||||||
vim.g.tokyonight_sidebars = { 'qf', 'packer' }
|
vim.g.tokyonight_sidebars = { 'qf' }
|
||||||
vim.cmd('color tokyonight')
|
vim.cmd('color tokyonight')
|
||||||
end,
|
end,
|
||||||
disable = vim.tbl_contains(user_plugins.disable, 'theme'),
|
disable = vim.tbl_contains(user_plugins.disable, 'theme'),
|
||||||
|
@ -73,6 +73,7 @@ return packer.startup(function()
|
||||||
end,
|
end,
|
||||||
after = 'tokyonight.nvim',
|
after = 'tokyonight.nvim',
|
||||||
disable = vim.tbl_contains(user_plugins.disable, 'notify'),
|
disable = vim.tbl_contains(user_plugins.disable, 'notify'),
|
||||||
|
event = 'BufEnter',
|
||||||
})
|
})
|
||||||
|
|
||||||
-- theme stuff
|
-- theme stuff
|
||||||
|
@ -134,6 +135,7 @@ return packer.startup(function()
|
||||||
'onsails/lspkind-nvim',
|
'onsails/lspkind-nvim',
|
||||||
},
|
},
|
||||||
event = 'InsertEnter',
|
event = 'InsertEnter',
|
||||||
|
disable = vim.tbl_contains(user_plugins.disable, 'autocomplete'),
|
||||||
})
|
})
|
||||||
|
|
||||||
use({
|
use({
|
||||||
|
@ -142,6 +144,7 @@ return packer.startup(function()
|
||||||
require('cosmic.lsp.autocomplete').autopairs()
|
require('cosmic.lsp.autocomplete').autopairs()
|
||||||
end,
|
end,
|
||||||
after = 'nvim-cmp',
|
after = 'nvim-cmp',
|
||||||
|
disable = vim.tbl_contains(user_plugins.disable, 'autocomplete'),
|
||||||
})
|
})
|
||||||
|
|
||||||
-- git commands
|
-- git commands
|
||||||
|
@ -213,6 +216,7 @@ return packer.startup(function()
|
||||||
'nvim-treesitter/nvim-treesitter-refactor',
|
'nvim-treesitter/nvim-treesitter-refactor',
|
||||||
},
|
},
|
||||||
run = ':TSUpdate',
|
run = ':TSUpdate',
|
||||||
|
event = 'BufRead',
|
||||||
config = function()
|
config = function()
|
||||||
require('cosmic.core.treesitter')
|
require('cosmic.core.treesitter')
|
||||||
end,
|
end,
|
||||||
|
|
Loading…
Add table
Reference in a new issue