Closed hcs42 closed 10 years ago
So far we had a variable to determine the options to be used for :make:
: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:
g:erlang_make_options
g:erlang_flymake_options
g:erlang_flymake_options_rules
So far we had a variable to determine the options to be used for
:make
:This PR introduces a variable that is a list of rules so that different options can be used for different directories:
Notes:
g:erlang_make_options
is used, so this change is 100% backward compatible.g:erlang_flymake_options
andg:erlang_flymake_options_rules
.