aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/syntastic.mk
AgeCommit message (Collapse)Author
2017-01-12plugins/syntastic.mk: New plugin to pass build options to SyntasticJean-Sébastien Pédron
Syntastic, an Erlang syntax checker plugin for Vim, uses the Erlang compile application to get compilation errors and warnings. Therefore it needs cooperation from the build system to get the appropriate compile flags. Currently it supports Rebar by parsing the configuration file. To add support for Erlang.mk, we need new Make targets to return the compile flags. This plugin adds three targets: o make show-ERL_LIBS o make show-ERLC_OPTS o make show-TEST_ERLC_OPTS Separate patches for Syntastic's builtin checker and syntaxerl are ready: they simply run those targets and parse the output.