Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Checker erlang: update errorformat for OTP 24
Browse files Browse the repository at this point in the history
  • Loading branch information
nevar committed Oct 18, 2021
1 parent 97bf9ec commit d086f49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions syntax_checkers/erlang/erlang_check_file.erl
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions syntax_checkers/erlang/escript.vim
Expand Up @@ -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'

Expand Down

0 comments on commit d086f49

Please sign in to comment.