Closed Tmw closed 4 years ago
Having the same issue here.
Hey! Sorry for the late response. Looks like is related to python2 vs python3
/t/foo $ python3 ~/.vim/pack/minpac/start/alchemist.vim/elixir_sense_client -d./ -c8 -l1 -r definition < sample.exs
b'/private/tmp/elixir-20191106-52993-11bkenu/elixir-1.9.4/lib/elixir/lib/enum.ex:0'⏎ /t/foo $ python ~/.vim/pack/minpac/start/alchemist.vim/elixir_sense_client -d./ -c8 -l1 -r definition < sample.exs
/private/tmp/elixir-20191106-52993-11bkenu/elixir-1.9.4/lib/elixir/lib/enum.ex:0⏎
I'll try to comp up with a fix
The issue
When hovering over a function / module name in vim (nvim) and pressing
CTRL + ]
to jump to its definition; vim displays an error with the following message:which; makes sense since the path is misformed by having a
b'
as a prefix. The filelib/custom_module.ex
is correct. Reproduced it in the debugging setup as described in the Wiki.1. Elixir/OTP/Python version
Elixir: 1.9.1 OTP: 22
Python: 3.6.7
2. Are you using VIM or Neovim? Please provide the version.
NeoVim version v0.4.3 on Mac OS Mojave (10.14.6)
3. Which pluging are you using:
4. Which steps of Debugging passed?
[x] Elixir Module definition Output:
[x] Elixir Function definition Output:
[x] Elixir Module/Function docs Output:
[x] Your Project Module definition Output:
[x] Your Project Function definition Output: