diff options
author | w0rp <devw0rp@gmail.com> | 2017-04-15 12:52:08 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-04-15 12:52:08 +0100 |
commit | cab68cba250fb81a4d20ffd637925a708bb46e8a (patch) | |
tree | 14a917e41e977aa5cd591ebdb2a2eda7c29530f3 /ale_linters/nim | |
parent | c9a5d9845b9bff9174c4bb3b67a9f7bfda190ee6 (diff) | |
download | ale-cab68cba250fb81a4d20ffd637925a708bb46e8a.zip |
Make code more consistent
Diffstat (limited to 'ale_linters/nim')
-rw-r--r-- | ale_linters/nim/nimcheck.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/nim/nimcheck.vim b/ale_linters/nim/nimcheck.vim index 0b8cfc8f..0d3a1b51 100644 --- a/ale_linters/nim/nimcheck.vim +++ b/ale_linters/nim/nimcheck.vim @@ -5,7 +5,7 @@ function! ale_linters#nim#nimcheck#Handle(buffer, lines) abort let l:buffer_filename = fnamemodify(bufname(a:buffer), ':p:t') let l:pattern = '^\(.\+\.nim\)(\(\d\+\), \(\d\+\)) \(.\+\)' - let l:output = [] + let l:output = [] for l:line in a:lines let l:match = matchlist(l:line, l:pattern) @@ -51,7 +51,7 @@ function! ale_linters#nim#nimcheck#Handle(buffer, lines) abort endfunction -function! ale_linters#nim#nimcheck#GetCommand(buffer) +function! ale_linters#nim#nimcheck#GetCommand(buffer) abort return 'nim check --path:' . fnameescape(fnamemodify(bufname(a:buffer), ':p:h')) . ' --threads:on --verbosity:0 --colors:off --listFullPaths %t' endfunction |