try to disable a ton of plugins?
This commit is contained in:
parent
ecd5bba3bb
commit
e7da25d583
|
@ -7,6 +7,7 @@ local plugins = {
|
||||||
|
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
|
enable = false,
|
||||||
config = function()
|
config = function()
|
||||||
require "plugins.configs.lspconfig"
|
require "plugins.configs.lspconfig"
|
||||||
require "custom.configs.lspconfig"
|
require "custom.configs.lspconfig"
|
||||||
|
@ -15,6 +16,7 @@ local plugins = {
|
||||||
-- override plugin configs
|
-- override plugin configs
|
||||||
{
|
{
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
|
enable = false,
|
||||||
opts = overrides.mason,
|
opts = overrides.mason,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -39,6 +41,7 @@ local plugins = {
|
||||||
|
|
||||||
{
|
{
|
||||||
"stevearc/conform.nvim",
|
"stevearc/conform.nvim",
|
||||||
|
enable = false,
|
||||||
-- for users those who want auto-save conform + lazyloading!
|
-- for users those who want auto-save conform + lazyloading!
|
||||||
-- event = "BufWritePre"
|
-- event = "BufWritePre"
|
||||||
config = function()
|
config = function()
|
||||||
|
@ -82,6 +85,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/which-key.nvim",
|
"folke/which-key.nvim",
|
||||||
|
enable = false,
|
||||||
keys = { "<leader>", "<localleader>", "<c-r>", "<c-w>", '"', "'", "`", "c", "v", "g" },
|
keys = { "<leader>", "<localleader>", "<c-r>", "<c-w>", '"', "'", "`", "c", "v", "g" },
|
||||||
defaults = {
|
defaults = {
|
||||||
mode = { "n", "v" },
|
mode = { "n", "v" },
|
||||||
|
@ -99,9 +103,10 @@ local plugins = {
|
||||||
["<leader>f"] = { name = "+formatting" },
|
["<leader>f"] = { name = "+formatting" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{ "echasnovski/mini.trailspace", lazy = false, event = { "BufReadPost", "BufNewFile" }, opts = {} },
|
{ "echasnovski/mini.trailspace", enabled = false, lazy = false, event = { "BufReadPost", "BufNewFile" }, opts = {} },
|
||||||
{
|
{
|
||||||
"itchyny/vim-cursorword",
|
"itchyny/vim-cursorword",
|
||||||
|
enabled = false,
|
||||||
event = "FileType",
|
event = "FileType",
|
||||||
init = function()
|
init = function()
|
||||||
vim.g.cursorword = 0
|
vim.g.cursorword = 0
|
||||||
|
@ -148,6 +153,7 @@ local plugins = {
|
||||||
|
|
||||||
{
|
{
|
||||||
"RRethy/vim-illuminate",
|
"RRethy/vim-illuminate",
|
||||||
|
enabled = false,
|
||||||
lazy = false,
|
lazy = false,
|
||||||
event = { "BufReadPost", "BufNewFile" },
|
event = { "BufReadPost", "BufNewFile" },
|
||||||
opts = {
|
opts = {
|
||||||
|
@ -237,6 +243,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"folke/trouble.nvim",
|
"folke/trouble.nvim",
|
||||||
|
enabled = false,
|
||||||
cmd = { "Trouble", "TroubleToggle" },
|
cmd = { "Trouble", "TroubleToggle" },
|
||||||
opts = { use_diagnostic_signs = true },
|
opts = { use_diagnostic_signs = true },
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
|
@ -359,6 +366,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"stevearc/dressing.nvim",
|
"stevearc/dressing.nvim",
|
||||||
|
enabled = false,
|
||||||
init = function()
|
init = function()
|
||||||
---@diagnostic disable-next-line: duplicate-set-field
|
---@diagnostic disable-next-line: duplicate-set-field
|
||||||
vim.ui.select = function(...)
|
vim.ui.select = function(...)
|
||||||
|
@ -384,6 +392,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"kevinhwang91/nvim-bqf",
|
"kevinhwang91/nvim-bqf",
|
||||||
|
enabled = false,
|
||||||
ft = "qf",
|
ft = "qf",
|
||||||
cmd = "BqfAutoToggle",
|
cmd = "BqfAutoToggle",
|
||||||
event = "QuickFixCmdPost",
|
event = "QuickFixCmdPost",
|
||||||
|
@ -427,6 +436,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"uga-rosa/ccc.nvim",
|
"uga-rosa/ccc.nvim",
|
||||||
|
enabled = false,
|
||||||
lazy = false,
|
lazy = false,
|
||||||
event = "FileType",
|
event = "FileType",
|
||||||
keys = {
|
keys = {
|
||||||
|
@ -442,10 +452,12 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Bekaboo/deadcolumn.nvim",
|
"Bekaboo/deadcolumn.nvim",
|
||||||
|
enabled = false,
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rmagatti/goto-preview",
|
"rmagatti/goto-preview",
|
||||||
|
enabled = false,
|
||||||
event = "FileType",
|
event = "FileType",
|
||||||
config = function()
|
config = function()
|
||||||
require("core.utils").load_mappings "goto_preview"
|
require("core.utils").load_mappings "goto_preview"
|
||||||
|
@ -461,6 +473,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"glacambre/firenvim",
|
"glacambre/firenvim",
|
||||||
|
enabled = false,
|
||||||
lazy = not vim.g.started_by_firenvim,
|
lazy = not vim.g.started_by_firenvim,
|
||||||
build = function()
|
build = function()
|
||||||
vim.fn["firenvim#install"](0)
|
vim.fn["firenvim#install"](0)
|
||||||
|
@ -479,6 +492,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"sidebar-nvim/sidebar.nvim",
|
"sidebar-nvim/sidebar.nvim",
|
||||||
|
enabled = false,
|
||||||
cmd = { "SidebarNvimToggle", "SidebarNvimOpen" },
|
cmd = { "SidebarNvimToggle", "SidebarNvimOpen" },
|
||||||
config = function()
|
config = function()
|
||||||
require("sidebar-nvim").setup {
|
require("sidebar-nvim").setup {
|
||||||
|
@ -560,6 +574,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"nvimtools/none-ls.nvim",
|
"nvimtools/none-ls.nvim",
|
||||||
|
enabled = false,
|
||||||
event = { "BufReadPre", "BufNewFile" },
|
event = { "BufReadPre", "BufNewFile" },
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
opts.sources = {}
|
opts.sources = {}
|
||||||
|
@ -591,6 +606,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"lvimuser/lsp-inlayhints.nvim",
|
"lvimuser/lsp-inlayhints.nvim",
|
||||||
|
enabled = false,
|
||||||
event = "LspAttach",
|
event = "LspAttach",
|
||||||
opts = {
|
opts = {
|
||||||
inlay_hints = {
|
inlay_hints = {
|
||||||
|
@ -620,9 +636,11 @@ local plugins = {
|
||||||
vim.cmd "hi LspInlayHint guibg=bg guifg=#804d66"
|
vim.cmd "hi LspInlayHint guibg=bg guifg=#804d66"
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{ "kosayoda/nvim-lightbulb", event = { "BufReadPre", "BufNewFile" } },
|
{ "kosayoda/nvim-lightbulb", enabled = false,
|
||||||
|
event = { "BufReadPre", "BufNewFile" } },
|
||||||
{
|
{
|
||||||
"Wansmer/treesj",
|
"Wansmer/treesj",
|
||||||
|
enabled = false,
|
||||||
cmd = { "TSJJoin", "TSJSplit", "TSJSplit" },
|
cmd = { "TSJJoin", "TSJSplit", "TSJSplit" },
|
||||||
keys = {
|
keys = {
|
||||||
{ "<C-s-j>", "<cmd>TSJJoin<CR>" },
|
{ "<C-s-j>", "<cmd>TSJJoin<CR>" },
|
||||||
|
@ -634,6 +652,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"b0o/incline.nvim",
|
"b0o/incline.nvim",
|
||||||
|
enabled = false,
|
||||||
event = "FileType",
|
event = "FileType",
|
||||||
config = function()
|
config = function()
|
||||||
local function get_diagnostic_label(props)
|
local function get_diagnostic_label(props)
|
||||||
|
@ -687,7 +706,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"mikesmithgh/kitty-scrollback.nvim",
|
"mikesmithgh/kitty-scrollback.nvim",
|
||||||
enabled = true,
|
enabled = false,
|
||||||
lazy = true,
|
lazy = true,
|
||||||
cmd = { "KittyScrollbackGenerateKittens", "KittyScrollbackCheckHealth" },
|
cmd = { "KittyScrollbackGenerateKittens", "KittyScrollbackCheckHealth" },
|
||||||
event = { "User KittyScrollbackLaunch" },
|
event = { "User KittyScrollbackLaunch" },
|
||||||
|
@ -703,10 +722,11 @@ local plugins = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
enabled = not vim.g.started_by_firenvim,
|
enabled = false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"ziontee113/icon-picker.nvim",
|
"ziontee113/icon-picker.nvim",
|
||||||
|
enabled = false,
|
||||||
keys = {
|
keys = {
|
||||||
{ "<C-I>", "<cmd>IconPickerNormal<CR>", desc = "pick icon" },
|
{ "<C-I>", "<cmd>IconPickerNormal<CR>", desc = "pick icon" },
|
||||||
{ "y<C-I>", "<cmd>IconPickerYank<CR>", desc = "yank icon" },
|
{ "y<C-I>", "<cmd>IconPickerYank<CR>", desc = "yank icon" },
|
||||||
|
|
Loading…
Reference in New Issue