mirror of
https://github.com/gryf/.vim.git
synced 2025-12-18 03:50:30 +01:00
Added syntastic plugin, moved pylint_parseable script to compiler.
This commit is contained in:
12
bundle/git_syntastic/syntax_checkers/erlang_check_file.erl
Executable file
12
bundle/git_syntastic/syntax_checkers/erlang_check_file.erl
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env escript
|
||||
-export([main/1]).
|
||||
|
||||
main([FileName]) ->
|
||||
compile:file(FileName, [warn_obsolete_guard,
|
||||
warn_unused_import,
|
||||
warn_shadow_vars,
|
||||
warn_export_vars,
|
||||
strong_validation,
|
||||
report,
|
||||
{i, filename:dirname(FileName) ++ "/../include"}
|
||||
]).
|
||||
Reference in New Issue
Block a user