Skip to content

Commit

Permalink
Fix wrong comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanson committed Mar 11, 2024
1 parent da34ff1 commit 5375546
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ale_linters/hurl/hurlfmt.vim
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,19 @@ function! ale_linters#hurl#hurlfmt#HandleOutput(buffer, lines) abort
" error: Parsing space
" --> test.hurl:11:48
" |
8 " | header "Content-Type"= "application/json; charset=utf-8"
" 8 | header "Content-Type"= "application/json; charset=utf-8"
" | ^ expecting a space
" |
"
" error: Parsing URL
" --> test.hurl:11:48
" |
11 " | PUT https://jsonplaceholder.typicode.com/posts/{post_id}}
" 11 | PUT https://jsonplaceholder.typicode.com/posts/{post_id}}
" | ^ illegal character <{>
" |
"
" Note: hurlfmt seems to report always the first error only so we assume
" there is only one error to make parsing easier.
" let l:pattern = '/\(error\|warning\): \(.\+\) --> \(.\+\):\(\d\+\):\(\d\+\) .\+ ^ \(.\+\) |'
let l:output = []

if empty(a:lines)
Expand Down

0 comments on commit 5375546

Please sign in to comment.