vim-erlang/vim-erlang-runtime

Improve detection of Erlang files

hcs42 opened this issue · 2 comments

Create a scripts.vim file that recognizes Emacs file type specification (-*- erlang -*-) and escript hash bangs as Erlang files.

*.erlang files should also be recognized as Erlang files.

I wrote:

*.erlang files should also be recognized as Erlang files.

Emacs does not recognize *.erlang as Erlang, so neither should Vim. If the user wants to create such a file, they should add % -*- erlang -*- as the first line.