You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used Emacs with Eglot with opam exec -- ocamllsp as the language server command.
In mpipeline.ml when I try to run go-to-definition on Pparse.apply_pp - it fails. If it run it on just Pparse it takes me to the compiler-libs instead of taking me to vendored/patched source files in src/ocaml/driver/pparse.ml
So it is due to the fact the the pparse module is copied via a Dune rules and Merlin doesn't use the added line directive to resolve the correct path. Copy directives support is very lacking right now.
voodoos
changed the title
Go-to-definition (via LSP) fails in merlin sourcetree when symbols are from vendored sources
Go-to-definition (via LSP) fails in merlin sourcetree when symbols are from copied sources
Dec 5, 2024
I used Emacs with Eglot with
opam exec -- ocamllsp
as the language server command.In
mpipeline.ml
when I try to run go-to-definition onPparse.apply_pp
- it fails. If it run it on justPparse
it takes me to thecompiler-libs
instead of taking me to vendored/patched source files insrc/ocaml/driver/pparse.ml
merlin/src/kernel/mpipeline.ml
Lines 240 to 242 in c76379c
additional information
The text was updated successfully, but these errors were encountered: