user setup and doc updates

neovim_0_5
ray-x 3 years ago
parent 54f4fca0c0
commit 93460890c6

@ -86,7 +86,7 @@ The plugin can be loaded lazily (packer `opt = true` ), And it will check if opt
Please refer to lua/navigator/lspclient/mapping.lua on key mappings. Should be able to work out-of-box.
- Use \<c-e\> or `:q!` to kill the floating window
- <up/down> to move
- <up/down> (or \<c-n\>, \<c-p\>) to move
- \<c-o\> to open location or apply code actions
## Screenshots

@ -46,13 +46,13 @@ M.config_values = function() return _NgConfigValues end
M.setup = function(cfg)
extend_config(cfg)
-- print("loading navigator")
require('navigator.lspclient').setup(M.config_values)
require('navigator.lspclient').setup(_NgConfigValues)
require('navigator.reference')
require('navigator.definition')
require('navigator.hierarchy')
require('navigator.implementation')
-- log("navigator loader")
if M.config_values.code_action_prompt.enable then
if _NgConfigValues.code_action_prompt.enable then
vim.cmd [[autocmd CursorHold,CursorHoldI * lua require'navigator.codeAction'.code_action_prompt()]]
end

Loading…
Cancel
Save