summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorKyren223 <ulmliad223@gmail.com>2024-07-22 23:38:48 +0300
committerKyren223 <ulmliad223@gmail.com>2024-07-22 23:38:48 +0300
commit117b33cb516b416fd7eeec8137d4e980760bd579 (patch)
treec2d630a9b2dbc97a816e22c5cc846e181209f1de /.config/nvim
parentc8075f06e081b0fe6a4b37339c22e921b0107a72 (diff)
feat(neovim): improved performance by more than 50% (thanks redyf)
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.lua43
1 files changed, 42 insertions, 1 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua
index 36b3116..cea3f08 100644
--- a/.config/nvim/init.lua
+++ b/.config/nvim/init.lua
@@ -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!
+ },
+ },
+ },
})