feat(neovim): trying some more performance improvements
This commit is contained in:
@@ -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 = '',
|
||||
|
||||
@@ -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' },
|
||||
|
||||
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user