Add ccls tests

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

No files matched your search

+3 -1
View File
@@ -9,7 +9,9 @@ function! ale_linters#cpp#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