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