chr4 / nginx.vim

Improved nginx vim plugin (incl. syntax highlighting)
449 stars 41 forks source link

Detect configs inside an nginx directory #6

Closed nicklinnell closed 6 years ago

nicklinnell commented 6 years ago

Inside Rails projects we store our nginx configs inside the directory config/nginx/ so I added this path to the ftdetect list.

chr4 commented 6 years ago

Usually I don't like adding too many custom directories to the list, but in this case /nginx/*.conf sounds generic enough.

Thanks for the request! Merging.