summaryrefslogtreecommitdiff
path: root/test/command_callback/test_c_import_paths.vader
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-05-20 19:57:08 +0100
committerw0rp <devw0rp@gmail.com>2019-05-20 19:57:08 +0100
commit143af2b9fd78dbfd5ee8ae727a522dd2dcc79b61 (patch)
tree2c44b311a5f127cba4654ff4f9a1e450d55f365a /test/command_callback/test_c_import_paths.vader
parent781bf1502f78f7882347a70b587512a0e94ea380 (diff)
downloadale-143af2b9fd78dbfd5ee8ae727a522dd2dcc79b61.zip
Fix #2421 - Use compile_commands.json in build dirs to find roots
Diffstat (limited to 'test/command_callback/test_c_import_paths.vader')
-rw-r--r--test/command_callback/test_c_import_paths.vader2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/command_callback/test_c_import_paths.vader b/test/command_callback/test_c_import_paths.vader
index f941e0fa..6c616d89 100644
--- a/test/command_callback/test_c_import_paths.vader
+++ b/test/command_callback/test_c_import_paths.vader
@@ -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: