diff options
Diffstat (limited to 'ale_linters/yaml')
-rw-r--r-- | ale_linters/yaml/yamllint.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/yaml/yamllint.vim b/ale_linters/yaml/yamllint.vim index 04f6b1d0..cb7ca4b9 100644 --- a/ale_linters/yaml/yamllint.vim +++ b/ale_linters/yaml/yamllint.vim @@ -8,8 +8,8 @@ let g:loaded_ale_linters_yaml_yamllint = 1 function! ale_linters#yaml#yamllint#Handle(buffer, lines) " Matches patterns line the following: - " something.yaml: line 2, col 1, Error - Expected RBRACE at line 2, col 1. (errors) - " + " something.yaml:1:1: [warning] missing document start "---" (document-start) + " something.yml:2:1: [error] syntax error: expected the node content, but found '<stream end>' let pattern = '^.*:\(\d\+\):\(\d\+\): \[\(error\|warning\)\] \(.\+\)$' let output = [] |