feat(neovim): improved performance by more than 50% (thanks redyf)

This commit is contained in:
Kyren223
2024-07-22 23:38:48 +03:00
parent c8075f06e0
commit 117b33cb51

View File

@@ -15,5 +15,46 @@ if not (vim.uv or vim.loop).fs_stat(lazypath) then
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({ import = 'custom/plugins' }, {
change_detection = { notify = false },
change_detection = { enabled = true, notify = false },
ui = {
icons = {
ft = '',
lazy = '󰂠',
loaded = '',
not_loaded = '',
},
},
performance = {
rtp = {
disabled_plugins = {
'2html_plugin',
'tohtml',
'getscript',
'getscriptPlugin',
'gzip',
'logipat',
'netrw',
'netrwPlugin',
'netrwSettings',
'netrwFileHandlers',
'matchit',
'tar',
'tarPlugin',
'rrhelper',
'spellfile_plugin',
'vimball',
'vimballPlugin',
'zip',
'zipPlugin',
'rplugin',
'syntax',
'synmenu',
'optwin',
'compiler',
'bugreport',
'tutor',
'ftplugin', -- WARNING: seems to not break ftplugin, but if there r any issues, try commenting this!
},
},
},
})