Updated plugins
This commit is contained in:
1 parent
6bd9eda8c3
commit
a6b64938eb
199 files changed
+2897
-980
No files matched your search
@@ -6,6 +6,7 @@ call ale#Set('cpp_clangd_options', '')
|
||||
|
||||
function! ale_linters#cpp#clangd#GetProjectRoot(buffer) abort
|
||||
let l:project_root = ale#path#FindNearestFile(a:buffer, 'compile_commands.json')
|
||||
|
||||
return !empty(l:project_root) ? fnamemodify(l:project_root, ':h') : ''
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in new issue
Block a user