diff options
author | w0rp <devw0rp@gmail.com> | 2016-10-03 23:53:04 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-03 23:53:04 +0100 |
commit | 2d1f1fd698ba195b32e58bbf09b48d7a236bea5f (patch) | |
tree | 17a3e8385e8e8d8dfb38d990b12a8b14e7ced12f /ale_linters/yaml | |
parent | 513e2c02354811c56771b6718c8dacbb6580572e (diff) | |
download | ale-2d1f1fd698ba195b32e58bbf09b48d7a236bea5f.zip |
Write YAML for the name instead, and make the example lines match the YAML linter regex.
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 = [] |