Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
fix a problem with finding location of a function
Browse files Browse the repository at this point in the history
  • Loading branch information
slashmili committed Nov 22, 2017
1 parent e8393f2 commit 1e08668
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,7 @@

### Fixed
- Fix throwing error when looking up erlang docs in neovim #121
- Fix a problem that find a function's location

### Changed
- Move erlang terms test to python unittest
Expand Down
2 changes: 1 addition & 1 deletion elixir_sense.py
Expand Up @@ -87,7 +87,7 @@ def to_vim_definition(self, source):
filename = source.split(":")[0]

if filename == "non_existing": return source
if type(filename) == str and self._is_readable(filename): return source
if self._is_readable(filename): return source

filename = self._find_elixir_erlang_src(filename)
return "%s:%i" %(filename, 0)
Expand Down
1 change: 1 addition & 0 deletions t/fixtures/alchemist_server/invalid.log
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions t/fixtures/alchemist_server/valid.log
@@ -0,0 +1 @@
ok:localhost:/tmp/elixir-sense-1502654288590225000.sock

0 comments on commit 1e08668

Please sign in to comment.