vim-erlang / vim-erlang-compiler

Erlang syntax checking and compiler plugin for Vim
https://vim-erlang.github.io
56 stars 24 forks source link

Options rules #7

Closed hcs42 closed 10 years ago

hcs42 commented 10 years ago

So far we had a variable to determine the options to be used for :make:

let g:erlang_make_options = '--outdir . --xref'

This PR introduces a variable that is a list of rules so that different options can be used for different directories:

let g:erlang_make_options_rules =
  \ [{'path_re': 'project_a', 'options': '--outdir . --xref'},
  \  {'path_re': 'project_b', 'options': '--outdir ../ebin'}]

Notes: