summaryrefslogtreecommitdiff
path: root/ale_linters/objcpp
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/objcpp
parent3d5a2690ce707cbc9e71e8ed4d5d1955e4b26d65 (diff)
downloadale-7d4ce4e6aa960a6052a16d90322566d6f4fddb7c.zip
Close #3325 - Apply new formatting where possible
Diffstat (limited to 'ale_linters/objcpp')
-rw-r--r--ale_linters/objcpp/clang.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/objcpp/clang.vim b/ale_linters/objcpp/clang.vim
index 4dbe55b3..35a40c6f 100644
--- a/ale_linters/objcpp/clang.vim
+++ b/ale_linters/objcpp/clang.vim
@@ -10,7 +10,7 @@ function! ale_linters#objcpp#clang#GetCommand(buffer) abort
" -iquote with the directory the file is in makes #include work for
" headers in the same directory.
return 'clang++ -S -x objective-c++ -fsyntax-only '
- \ . '-iquote ' . ale#Escape(fnamemodify(bufname(a:buffer), ':p:h'))
+ \ . '-iquote %s:h'
\ . ' ' . ale#Var(a:buffer, 'objcpp_clang_options') . ' -'
endfunction