-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use goto-preview while it is installed, how to troubleshoot it ? [BUG] #78
Comments
Please link or paste your setup function call. Also, please set ex: require("goto-preview").setup {
default_mappings = true,
debug = true,
} It's probably worth pointing out that this only really works with Neovim's native LSP, and that the specific LSP you are using needs to support the goto definition call (most do). |
Hello, here is my setup calling. I just added
Here is the output of
I am using cmp-nvim-lsp as LSP. Now
but still nothings happens. |
From these logs, I can only assume your LSP is not returning any data on the goto-preview/lua/goto-preview/lib.lua Lines 246 to 250 in 778cf60
|
Thanks I tried to debug it but did not found any clues. I re installed my lsp and it works vert fine now. Thanks for this awesone plugin. |
Hello,
Thanks for the repo, it seems to be quite awesome.
I am trying to use it but I am having trouble to make it work.
I installed it using packer.nvim as required in the README.
It seems to be installed since the keymap
gdp
does different things whetherdefault_mappings
is set to true or false in the config file (paste when set to false, and nothing when set to true). When it is set to true, it does nothing and I don't have an error message. I tried to set my own keybinding, similarly nothing happens when I press the keybinding. I made sure it were mapped to nothing before setting it.I tried with a simple .py file :
pressing keybindings on the word
foo
.I just wanted to know if you have any advice on how to troubleshoot this, since no error message is displayed.
Thanks :))
The text was updated successfully, but these errors were encountered: