Error executing vim.schedule lua callback: ...l/share/nvim/plugged/lspsaga.nvim/lua/lspsaga/window.lua:123: attempt to index loca l 'config' (a nil value)
`Error executing vim.schedule lua callback: ...l/share/nvim/plugged/lspsaga.nvim/lua/lspsaga/window.lua:123: attempt to index loca l 'config' (a nil value)
stack traceback: ...l/share/nvim/plugged/lspsaga.nvim/lua/lspsaga/window.lua:123: in function 'create_win_with_border' ...al/share/nvim/plugged/lspsaga.nvim/lua/lspsaga/hover.lua:84: in function 'open_floating_preview' ...al/share/nvim/plugged/lspsaga.nvim/lua/lspsaga/hover.lua:174: in function 'handler' ...ion/nvim/nvim-linux64/share/nvim/runtime/lua/vim/lsp.lua:1383: in function '' vim/_editor.lua: in function <vim/_editor.lua:0>`
Hi. When I try hover function ( default keybind as "K" ) , I've got this error. Anyone know to fix?
By the way, nvim-lspconfig's hover function is working
My lspsaga's setting is here:
` require('lazy').setup({ 'glepnir/lspsaga.nvim', event = 'BufRead', config = function() require('lspsaga').setup({}) end })
local keymap = vim.keymap.set
-- Lsp finder find the symbol definition implement reference
-- if there is no implement it will hide
-- when you use action in finder like open vsplit then you can
-- use
-- Code action
keymap({"n","v"}, "
-- Rename
keymap("n", "gr", "
-- Peek Definition
-- you can edit the definition file in this float window
-- also support open/vsplit/etc operation check definition_action_keys
-- support tagstack C-t jump back
keymap("n", "gd", "
-- Go to Definition
keymap("n","gd", "
-- Show line diagnostics you can pass argument ++unfocus to make
-- show_line_diagnostics float window unfocus
keymap("n", "
-- Show cursor diagnostic
-- also like show_line_diagnostics support pass ++unfocus
keymap("n", "
-- Show buffer diagnostic
keymap("n", "
-- Diagnostic jump can use <c-o> to jump back
keymap("n", "[e", "
-- Diagnostic jump with filter like Only jump to error keymap("n", "[E", function() require("lspsaga.diagnostic").goto_prev({ severity = vim.diagnostic.severity.ERROR }) end) keymap("n", "]E", function() require("lspsaga.diagnostic").goto_next({ severity = vim.diagnostic.severity.ERROR }) end)
-- Toggle Outline
keymap("n","
-- Hover Doc
-- if there has no hover will have a notify no information available
-- to disable it just Lspsaga hover_doc ++quiet
-- press twice it will jump into hover window
keymap("n", "K", "
-- Callhierarchy
keymap("n", "
-- Float terminal
keymap({"n", "t"}, "
your env is dirty lazy not use plugged folder
@PorcoRosso85 did you end up fixing this?
I'm also seeing something similar after updating.
maybe we were dirty.
to fix it, configure your setting as same as owners once. I'm working it now
On Sat, Feb 11, 2023, 07:26 Adam Jahnke @.***> wrote:
I'm also seeing something similar after updating.
— Reply to this email directly, view it on GitHub https://github.com/glepnir/lspsaga.nvim/issues/745#issuecomment-1426420147, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJT5NWYOOQ3J7WZOAWRYZHLWW26BZANCNFSM6AAAAAAUBSOD6M . You are receiving this because you were mentioned.Message ID: @.***>