slashmili/alchemist.vim

Erlang ExDoc

chernyshof opened this issue · 1 comments

When I try to K on erlang module and it throws error:

Error detected while processing function man#init_pager:               
line    2:                                                             
E21: Cannot make changes, 'modifiable' is off                          
Error detected while processing /usr/share/nvim/runtime/syntax/man.vim:
                                                                       
line   29:                                                             
E121: Undefined variable: b:man_sect                                   
E15: Invalid expression: b:man_sect =~# '^[23]'                        
Error detected while processing function man#init_pager:               
line    2:                                                             
E21: Cannot make changes, 'modifiable' is off                          
Press ENTER or type command to continue   

After pressing enter it is shows module's doc as expected.
How can I get rid of this error?

P.S. works fine with elixir modules/functions.

Looks like that it only happens in neovim. fetch the new changes.