mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-06 02:47:49 +02:00
remove extra plugins (debloating)
This commit is contained in:
parent
bc81c31fb7
commit
607d473afe
4 changed files with 2 additions and 75 deletions
|
@ -1,14 +0,0 @@
|
|||
local status_ok, colorizer = pcall(require, "colorizer")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
colorizer.setup({ "*" }, {
|
||||
RGB = true, -- #RGB hex codes
|
||||
RRGGBB = true, -- #RRGGBB hex codes
|
||||
RRGGBBAA = true, -- #RRGGBBAA hex codes
|
||||
rgb_fn = true, -- CSS rgb() and rgba() functions
|
||||
hsl_fn = true, -- CSS hsl() and hsla() functions
|
||||
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||
})
|
||||
-- names = true; -- "Name" codes like Blue
|
|
@ -1,15 +0,0 @@
|
|||
vim.g.symbols_outline = {
|
||||
highlight_hovered_item = true,
|
||||
show_guides = true,
|
||||
auto_preview = true,
|
||||
position = "right",
|
||||
keymaps = {
|
||||
close = "<Esc>",
|
||||
goto_location = "<Cr>",
|
||||
focus_location = "o",
|
||||
hover_symbol = "<C-space>",
|
||||
rename_symbol = "r",
|
||||
code_actions = "a",
|
||||
},
|
||||
lsp_blacklist = {},
|
||||
}
|
|
@ -191,18 +191,6 @@ local mappings = {
|
|||
},
|
||||
}
|
||||
|
||||
-- if O.plugin.trouble.active then
|
||||
-- mappings["d"] = {
|
||||
-- name = "Diagnostics",
|
||||
-- t = { "<cmd>TroubleToggle<cr>", "trouble" },
|
||||
-- w = { "<cmd>TroubleToggle lsp_workspace_diagnostics<cr>", "workspace" },
|
||||
-- d = { "<cmd>TroubleToggle lsp_document_diagnostics<cr>", "document" },
|
||||
-- q = { "<cmd>TroubleToggle quickfix<cr>", "quickfix" },
|
||||
-- l = { "<cmd>TroubleToggle loclist<cr>", "loclist" },
|
||||
-- r = { "<cmd>TroubleToggle lsp_references<cr>", "references" },
|
||||
-- }
|
||||
-- end
|
||||
|
||||
if O.plugin.symbol_outline.active then
|
||||
vim.api.nvim_set_keymap("n", "<leader>o", ":SymbolsOutline<CR>", { noremap = true, silent = true })
|
||||
mappings["o"] = "Symbols outline"
|
||||
|
|
|
@ -114,9 +114,6 @@ return require("packer").startup(function(use)
|
|||
end,
|
||||
}
|
||||
|
||||
-- Color
|
||||
use { "christianchiarulli/nvcode-color-schemes.vim", opt = true }
|
||||
|
||||
-- Icons
|
||||
use { "kyazdani42/nvim-web-devicons" }
|
||||
|
||||
|
@ -150,6 +147,7 @@ return require("packer").startup(function(use)
|
|||
disable = not O.plugin.dashboard.active,
|
||||
-- opt = true,
|
||||
}
|
||||
|
||||
-- Zen Mode
|
||||
use {
|
||||
"folke/zen-mode.nvim",
|
||||
|
@ -161,16 +159,6 @@ return require("packer").startup(function(use)
|
|||
disable = not O.plugin.zen.active,
|
||||
}
|
||||
|
||||
use {
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
event = "BufWinEnter",
|
||||
config = function()
|
||||
require "lv-colorizer"
|
||||
-- vim.cmd "ColorizerReloadAllBuffers"
|
||||
end,
|
||||
disable = not O.plugin.colorizer.active,
|
||||
}
|
||||
|
||||
-- Treesitter playground
|
||||
use {
|
||||
"nvim-treesitter/playground",
|
||||
|
@ -205,19 +193,6 @@ return require("packer").startup(function(use)
|
|||
disable = not O.plugin.ts_context_commentstring.active,
|
||||
}
|
||||
|
||||
-- Symbol Outline
|
||||
use {
|
||||
"simrat39/symbols-outline.nvim",
|
||||
cmd = "SymbolsOutline",
|
||||
disable = not O.plugin.symbol_outline.active,
|
||||
}
|
||||
-- diagnostics
|
||||
use {
|
||||
"folke/trouble.nvim",
|
||||
cmd = "TroubleToggle",
|
||||
disable = not O.plugin.trouble.active,
|
||||
}
|
||||
|
||||
-- Debugging
|
||||
use {
|
||||
"mfussenegger/nvim-dap",
|
||||
|
@ -247,20 +222,13 @@ return require("packer").startup(function(use)
|
|||
-- Use project for telescope
|
||||
use {
|
||||
"nvim-telescope/telescope-project.nvim",
|
||||
event = "BufRead",
|
||||
event = "BufWinEnter",
|
||||
setup = function()
|
||||
vim.cmd [[packadd telescope.nvim]]
|
||||
end,
|
||||
disable = not O.plugin.telescope_project.active,
|
||||
}
|
||||
|
||||
-- Sane gx for netrw_gx bug
|
||||
use {
|
||||
"felipec/vim-sanegx",
|
||||
event = "BufRead",
|
||||
disable = not O.plugin.sanegx.active,
|
||||
}
|
||||
|
||||
-- Diffview
|
||||
use {
|
||||
"sindrets/diffview.nvim",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue