Nimbin[12]?Mirrors & Forks / syntastic / commits / d086f49d

syntastic git · master

syntastic vim plugin (fork)

vim fork · first commit 2009-07-10 · last commit 2022-07-10 (4 years ago) · synced 3 days ago · upstream: github.com/vim-syntastic/syntastic

Vim Script 99%
git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gz

Checker erlang: update errorformat for OTP 24

nevar · 2021-10-18 10:01 · d086f49d389e1c2d58211b1f92cf20c9f63dc325

 syntax_checkers/erlang/erlang_check_file.erl | 1 +
 syntax_checkers/erlang/escript.vim           | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/syntax_checkers/erlang/erlang_check_file.erl b/syntax_checkers/erlang/erlang_check_file.erl
index f25e73eb..bd6eafc5 100755
--- a/syntax_checkers/erlang/erlang_check_file.erl
+++ b/syntax_checkers/erlang/erlang_check_file.erl
@@ -9,6 +9,7 @@ main([File]) ->
             warn_obsolete_guard,
             warn_unused_import,
             report,
+            brief,
             {i, Dir ++ "/include"}],
     %% `rebar.config` is looked for,
     %% but it is not necessarily the one in the project root.
diff --git a/syntax_checkers/erlang/escript.vim b/syntax_checkers/erlang/escript.vim
index 454b806f..9ec1a4f3 100644
--- a/syntax_checkers/erlang/escript.vim
+++ b/syntax_checkers/erlang/escript.vim
@@ -45,6 +45,8 @@ function! SyntaxCheckers_erlang_escript_GetLocList() dict
         \ 'post_args_after': post_args })
 
     let errorformat =
+        \ '%W%f:%l:%c: warning: %m,'.
+        \ '%E%f:%l:%c: %m,'.
         \ '%W%f:%l: warning: %m,'.
         \ '%E%f:%l: %m'