Fix #2421 - Use compile_commands.json in build dirs to find roots

This commit is contained in:
w0rp
2019-05-20 19:57:08 +01:00
parent 781bf1502f
commit 143af2b9fd
15 changed files with 78 additions and 78 deletions

View File

@@ -2,6 +2,7 @@ Before:
" Make sure the c.vim file is loaded first.
call ale#c#FindProjectRoot(bufnr(''))
Save g:ale_c_parse_compile_commands
Save g:ale_c_parse_makefile
Save g:__ale_c_project_filenames
@@ -14,6 +15,7 @@ Before:
\ 'v:val isnot# ''.git/HEAD'''
\)
let g:ale_c_parse_compile_commands = 0
let g:ale_c_parse_makefile = 0
After: