Closed lynndylanhurley closed 2 years ago
I have this working now. I think the lsp_installer example linked to from the readme may not be completely working. This code seems to need to be called by every server's on_attach
callback:
require('navigator.lspclient.mapping').setup({
client = client,
bufnr = bufnr,
cap = capabilities,
})
My full working config with lsp_installer integration is up here: https://github.com/lynndylanhurley/nvim/blob/51d4372e13a38e2847654c45e9ea09a7c5afa405/lua/plugins/navigator.lua
I am not sure if call mapping.setup() is the best way.
I updated my sample vimrc for lsp_installer you can also take a look. https://github.com/ray-x/navigator.lua/blob/master/playground/init_lsp_installer.lua
I'm trying to use the following keymap config:
This used to work, but since I ran
PackerSync
the other day none of mynavigator
keymaps seem to be working anymore.This is what I get when I run
LspKeymaps
:When I run
LspInfo
:From the 'which key' interface when I get
g
:^ in this case it's not showing entries for several maps. For example
gL
,gG
are not there at all, andgi
is still set to the default vim mapping.Full neovim config here: https://github.com/lynndylanhurley/nvim/blob/d02211f5bb4bda2d8d2a92718e4338105c2bf44c/lua/plugins/navigator.lua