Close #3325 - Apply new formatting where possible

This commit is contained in:
w0rp
2020-08-28 19:50:36 +01:00
parent 3d5a2690ce
commit 7d4ce4e6aa
30 changed files with 71 additions and 96 deletions

View File

@@ -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