vim-erlang / vim-erlang-tags

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

Generating `tags` for Erlang's otp #47

Closed cristconst closed 11 months ago

cristconst commented 11 months ago

Is this supposed to work?

cco@DEU1145:~/github.com/otp (master)$ vim_erlang_tags.erl 
=ERROR REPORT==== 29-Nov-2023::14:33:11.103853 ===
Error in process <0.294.0> with exit value:
{badarg,
    [{erlang,iolist_to_binary,
         [[101,114,116,115,47,116,101,115,116,47,101,114,108,99,95,83,85,73,
           84,69,95,100,97,116,97,47,115,114,99,47,128512,47,101,114,108,95,
           116,101,115,116,95,117,110,105,99,111,100,101,46,101,114,108]],
         [{error_info,#{module => erl_erts_errors}}]},
     {vim_erlang_tags_erl__escript__1701__264790__904009__7,add_tag,6,
         [{file,"/usr/local/bin/vim_erlang_tags.erl"},{line,825}]},
     {vim_erlang_tags_erl__escript__1701__264790__904009__7,add_file_tag,4,
         [{file,"/usr/local/bin/vim_erlang_tags.erl"},{line,701}]},
     {vim_erlang_tags_erl__escript__1701__264790__904009__7,
         add_tags_from_file,3,
         [{file,"/usr/local/bin/vim_erlang_tags.erl"},{line,615}]}]}

^C

Thanks.

hcs42 commented 11 months ago

Is this supposed to work?

Yes, it worked before Erlang/OTP added a directory whose name was an emoji...

Anyway, @dmitrivereshchagin fixed it in #48, and I merged the fix.