vim-erlang / vim-erlang-tags

Generate Vim tags for Erlang files
https://vim-erlang.github.io
Other
61 stars 23 forks source link

handle with ?MODULE macro #25

Closed johnzeng closed 7 years ago

johnzeng commented 7 years ago

?MODULE macro is nothing but module itself, so when somebody calls ?MODULE:function() he means function() in the same file, but this plugin doesn't used to handle this case.

johnzeng commented 7 years ago

get that.i will fix them

johnzeng commented 7 years ago

Bug for one letter function is fixed, and I have removed 'a:' prefix.

hcs42 commented 7 years ago

I made a few tweaks and included the modification in the master branch: https://github.com/vim-erlang/vim-erlang-tags/commit/7dfb0cbfdf4c3452e227bfc8d456d7f0427ad6b4.