feat(neovim): trying some more performance improvements

This commit is contained in:
Kyren223
2024-07-23 12:09:39 +03:00
parent 117b33cb51
commit b27591d414
3 changed files with 4 additions and 2 deletions

View File

@@ -16,6 +16,7 @@ end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({ import = 'custom/plugins' }, {
change_detection = { enabled = true, notify = false },
defaults = { lazy = true },
ui = {
icons = {
ft = '',

View File

@@ -24,7 +24,7 @@ return {
-- FIXME: fork the repo and fix the following issues
-- Make both insert and normal be toggelable rather than insert always showing and normal toggleable
'ray-x/lsp_signature.nvim',
event = 'VeryLazy',
event = 'LspAttach',
opts = {
bind = true, -- This is mandatory, otherwise border config won't get registered.
handler_opts = { border = 'single' },

View File

@@ -2,7 +2,8 @@ return {
-- NOTE: Make sure the order is as follows:
-- Mason loads -> Mason lspconfig loads -> Lspconfig loads
'neovim/nvim-lspconfig',
event = { 'BufReadPre', 'BufNewFile' },
-- event = { 'BufReadPre', 'BufNewFile' },
event = "VeryLazy",
dependencies = {
'hrsh7th/cmp-nvim-lsp',
{ 'antosha417/nvim-lsp-file-operations', conifg = true },