Add ccls tests

This commit is contained in:
Ye Jingchen
2018-09-26 22:50:43 +08:00
parent 56658fd3ad
commit 626e47f5c9
8 changed files with 138 additions and 6 deletions

View File

@@ -9,7 +9,9 @@ function! ale_linters#c#ccls#GetProjectRoot(buffer) abort
if empty(l:project_root)
let l:project_root = ale#path#FindNearestFile(a:buffer, 'compile_commands.json')
elseif empty(l:project_root)
endif
if empty(l:project_root)
let l:project_root = ale#path#FindNearestFile(a:buffer, '.ccls')
endif