config(nvim): improve perf

main
sudo pacman -Syu 2024-04-30 15:13:02 +07:00
parent eb9bbb300a
commit 49dc5a56f9
1 changed files with 15 additions and 13 deletions

View File

@ -363,19 +363,6 @@ require("lazy").setup({
end,
},
-- https://github.com/ntpeters/vim-better-whitespace
{
"ntpeters/vim-better-whitespace",
init = function()
vim.g.better_whitespace_enabled = 0
end,
},
-- https://github.com/shortcuts/no-neck-pain.nvim
{
"shortcuts/no-neck-pain.nvim",
},
-- https://github.com/echasnovski/mini.nvim
{
"echasnovski/mini.nvim",
@ -435,6 +422,7 @@ require("lazy").setup({
local conform = require("conform")
conform.setup({
formatters_by_ft = {
["_"] = { "trim_whitespace" },
bash = { "shfmt" },
go = { "gofumpt" },
javascript = { "deno_fmt" },
@ -597,4 +585,18 @@ require("lazy").setup({
})
end,
},
}, {
performance = {
rtp = {
disabled_plugins = {
"editorconfig",
"gzip",
"spellfile",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})