shiroyasha / neovimfiles

My Neovim configuration
MIT License
1 stars 4 forks source link

Elixir Language Server occassionally ignores "go to defition" #5

Open shiroyasha opened 3 months ago

shiroyasha commented 3 months ago

Currently, I have no idea why or how to debug it.

How to reproduce:

  1. Open a file, ex. this test in Operately
  2. Try to use gd to go to definition
  3. It works sometimes, and sometimes not
shiroyasha commented 3 months ago

Most likely reason: The go to definition is not working if the project is not compiling.

Screenshot 2024-05-14 at 15 56 05

Which is a pity because that is the time when I need this the most.

shiroyasha commented 3 months ago

From the elixir-tools docs:

Spitfire is a new parser for Elixir source code. Unlike the existing parser, it can tolerate errors in the source code and still provide an AST.