summaryrefslogtreecommitdiff
path: root/ale_linters/pyrex
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2020-08-28 19:50:36 +0100
committerw0rp <devw0rp@gmail.com>2020-08-28 19:50:36 +0100
commit7d4ce4e6aa960a6052a16d90322566d6f4fddb7c (patch)
tree0f191e0dff643cc4b53f6dbd5259fef028d7a0dd /ale_linters/pyrex
parent3d5a2690ce707cbc9e71e8ed4d5d1955e4b26d65 (diff)
downloadale-7d4ce4e6aa960a6052a16d90322566d6f4fddb7c.zip
Close #3325 - Apply new formatting where possible
Diffstat (limited to 'ale_linters/pyrex')
-rw-r--r--ale_linters/pyrex/cython.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/ale_linters/pyrex/cython.vim b/ale_linters/pyrex/cython.vim
index 84382ba1..247c3060 100644
--- a/ale_linters/pyrex/cython.vim
+++ b/ale_linters/pyrex/cython.vim
@@ -6,9 +6,7 @@ call ale#Set('pyrex_cython_executable', 'cython')
call ale#Set('pyrex_cython_options', '--warning-extra')
function! ale_linters#pyrex#cython#GetCommand(buffer) abort
- let l:local_dir = ale#Escape(fnamemodify(bufname(a:buffer), ':p:h'))
-
- return '%e --working ' . l:local_dir . ' --include-dir ' . l:local_dir
+ return '%e --working %s:h --include-dir %s:h'
\ . ale#Pad(ale#Var(a:buffer, 'pyrex_cython_options'))
\ . ' --output-file ' . g:ale#util#nul_file . ' %t'
endfunction