feat: add overrides for more plugins | disable some by default
This commit is contained in:
parent
a820c3cafd
commit
9e8fb9db74
2 changed files with 5 additions and 9 deletions
|
@ -61,7 +61,7 @@ M.plugins = {
|
|||
autosave = false, -- to autosave files
|
||||
blankline = true, -- show code scope with symbols
|
||||
bufferline = true, -- list open buffers up the top, easy switching too
|
||||
colorizer = true, -- color RGB, HEX, CSS, NAME color codes
|
||||
colorizer = false, -- color RGB, HEX, CSS, NAME color codes
|
||||
comment = true, -- easily (un)comment code, language aware
|
||||
dashboard = false, -- NeoVim 'home screen' on open
|
||||
esc_insertmode = true, -- map to <ESC> with no lag
|
||||
|
@ -69,11 +69,11 @@ M.plugins = {
|
|||
gitsigns = true, -- gitsigns in statusline
|
||||
lspsignature = true, -- lsp enhancements
|
||||
neoformat = true, -- universal code formatter
|
||||
neoscroll = true, -- smooth scroll
|
||||
neoscroll = false, -- smooth scroll
|
||||
telescope_media = false, -- media previews within telescope finders
|
||||
truezen = false, -- distraction free & minimalist UI mode
|
||||
vim_fugitive = false, -- git integration & tooling
|
||||
vim_matchup = true, -- % operator enhancements
|
||||
vim_matchup = false, -- % operator enhancements
|
||||
},
|
||||
options = {
|
||||
lspconfig = {
|
||||
|
|
|
@ -134,18 +134,14 @@ return packer.startup(function()
|
|||
vim.cmd "silent! e %"
|
||||
end, 0)
|
||||
end,
|
||||
config = function()
|
||||
require "plugins.configs.lspconfig"
|
||||
end,
|
||||
config = override_req("lspconfig", "plugins.configs.lspconfig"),
|
||||
}
|
||||
|
||||
use {
|
||||
"ray-x/lsp_signature.nvim",
|
||||
disable = not plugin_status.lspsignature,
|
||||
after = "nvim-lspconfig",
|
||||
config = function()
|
||||
require("plugins.configs.others").signature()
|
||||
end,
|
||||
config = override_req("signature", "(plugins.configs.others).signature()"),
|
||||
}
|
||||
|
||||
use {
|
||||
|
|
Loading…
Reference in a new issue