diff options
author | Daniel Jones <xXDJONESXx@hotmail.com> | 2018-09-10 08:17:44 +1000 |
---|---|---|
committer | Daniel Jones <xXDJONESXx@hotmail.com> | 2018-09-10 08:17:44 +1000 |
commit | 8bbf1425bf371df6a35a86981ead8644ba77d2c5 (patch) | |
tree | c1022aeb5bd75b3791d707b6655c9ed85e9a45e5 /ale_linters | |
parent | 0948dcc435201f0ea62a22c53ce31971a75cba35 (diff) | |
download | ale-8bbf1425bf371df6a35a86981ead8644ba77d2c5.zip |
Fixed NASM linter from outputting junk file
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/nasm/nasm.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ale_linters/nasm/nasm.vim b/ale_linters/nasm/nasm.vim index 29d19e62..cb2119a6 100644 --- a/ale_linters/nasm/nasm.vim +++ b/ale_linters/nasm/nasm.vim @@ -8,10 +8,12 @@ function! ale_linters#nasm#nasm#GetCommand(buffer) abort " Note that NASM requires a trailing slash for the -I option. let l:separator = has('win32') ? '\' : '/' let l:path = fnamemodify(bufname(a:buffer), ':p:h') . l:separator + let l:output_null = has('win32') ? 'NUL' : '/dev/null' return '%e -X gnu -I ' . ale#Escape(l:path) \ . ale#Pad(ale#Var(a:buffer, 'nasm_nasm_options')) \ . ' %s' + \ . ' -o ' . l:output_null endfunction function! ale_linters#nasm#nasm#Handle(buffer, lines) abort |