Open MikeLemo1 opened 2 weeks ago
What is the LSP you using? Also do you see any error messages?
esc
keymap was handled by guihua.lua
You can set mode={'n', 'i', 'v'}
in your keymap. It should work.
What is the LSP you using? Also do you see any error messages?
Well pretty much trying to do that on a nvim lua plugin which I guess uses lua_ls
and python with pyright
You can set
mode={'n', 'i', 'v'}
in your keymap. It should work. When I{ key = "<M-/>", mode={'n', 'i', 'v'}, func = vim.lsp.buf.hover, desc = 'hover'},
It error me:LSP[lua_ls]: Error ON_ATTACH_ERROR: "...m/lazy/navigator.lua/lua/navigator/lspclient/mapping.lua:243: attempt to concatenate a table value"
Error ON_ATTACH_ERROR should been fixed. I did not see the error you mentioned regarding code preview with lua_ls
I might be using it correctly but I try to move cursor to preview with :LspSymbols
blinks the preview window and doesn't move the cursor to it as expected but the same shortcut does work in the gR menu
when I try to
:lua require('navigator.definition').definition_preview()
orgp
orgP
on a symbol it wont open the definition in a preview for some reason unlikegr
which does work as expected, any idea why is that?my config:
BTW How do you you remap the
esc
key to exit nav preview after editing? Also how do you set a single actions for multiple MODEs simuntaniusly? e.g.mode={'n', 'i', 'v'}