diff options
author | w0rp <devw0rp@gmail.com> | 2020-08-28 19:50:36 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2020-08-28 19:50:36 +0100 |
commit | 7d4ce4e6aa960a6052a16d90322566d6f4fddb7c (patch) | |
tree | 0f191e0dff643cc4b53f6dbd5259fef028d7a0dd /ale_linters/nasm | |
parent | 3d5a2690ce707cbc9e71e8ed4d5d1955e4b26d65 (diff) | |
download | ale-7d4ce4e6aa960a6052a16d90322566d6f4fddb7c.zip |
Close #3325 - Apply new formatting where possible
Diffstat (limited to 'ale_linters/nasm')
-rw-r--r-- | ale_linters/nasm/nasm.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ale_linters/nasm/nasm.vim b/ale_linters/nasm/nasm.vim index 347abc1b..c4f53629 100644 --- a/ale_linters/nasm/nasm.vim +++ b/ale_linters/nasm/nasm.vim @@ -7,10 +7,9 @@ call ale#Set('nasm_nasm_options', '') 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) + return '%e -X gnu -I %s:h' . l:separator \ . ale#Pad(ale#Var(a:buffer, 'nasm_nasm_options')) \ . ' %s' \ . ' -o ' . l:output_null |