-
-
Notifications
You must be signed in to change notification settings - Fork 30
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 go to definition when trying to go to function in other module #225
Comments
Its probably still indexing your project, you can run |
@mhanberg The output of
Here's the full log: Click to expand
I apologize if I'm doing something dumb here, I just started using Elixir, so I'm a complete novice. |
I see, you might want to take this to the ElixirLS repo to ask. This plugin merely handles starting and configuring it for you. But, as a community we are starting a new LSP initiative and are working on a new official one, so support on the existing ones is reduced as we push forward. |
Hi! I'm trying out this plugin, but I can't seem to do
vim.lsp.buf.definition()
to jump to functions in other modules.To reproduce,
Clone https://github.com/robsonpeixoto/elixir-ls-go-to-definition-bug.
Open
lib/bug.ex
with the config belowIn
lib/bug.ex
, move your scursor toModA.say_hi()
and call:=vim.lsp.buf.definition()
. Here's what the file looks like:Nothing happens
Here's the minimal config that I'm using:
Click to expand
It does however work when navigating to symbols in the same file, like if I would try to go to
hello()
in that file.The text was updated successfully, but these errors were encountered: