vim-erlang / vim-erlang-runtime

Erlang indentation and syntax for Vim
https://vim-erlang.github.io
101 stars 29 forks source link

Create ftdetect #26

Closed rgrinberg closed 9 years ago

rgrinberg commented 9 years ago

Make sure ft=erlang for misc. files e.g. rebar.config

hcs42 commented 9 years ago

Thank you. I have only a minor request: could you modify the title of the commit from "improve ftdetect" to "Create ftdetect"? "Create" is a more precise word here, and all other commits start with a capital letter, so why not this one too. Afterwards I will merge the commit.

Note: when trying out the patch, I found that simply including the ftdetect directory's parent directory in 'runtimepath' is not enough for the ftdetect file to be used. I needed to call filetype off | filetype on after setting 'runtimepath' to reread the ftdetect files. (This is automatically done by execute pathogen#infect(), if you happen to use Pathogen.)

rgrinberg commented 9 years ago

@hcs42 Commit ammended