mirror of
https://github.com/dense-analysis/ale
synced 2024-12-18 04:15:39 +00:00
8891b7c349
Tests are kept as-is.
15 lines
538 B
VimL
15 lines
538 B
VimL
" Author: Ye Jingchen <ye.jingchen@gmail.com>, Ben Falconer <ben@falconers.me.uk>, jtalowell <jtalowell@protonmail.com>
|
|
" Description: A language server for C
|
|
|
|
call ale#Set('c_ccls_executable', 'ccls')
|
|
call ale#Set('c_ccls_init_options', {})
|
|
|
|
call ale#linter#Define('c', {
|
|
\ 'name': 'ccls',
|
|
\ 'lsp': 'stdio',
|
|
\ 'executable_callback': ale#VarFunc('c_ccls_executable'),
|
|
\ 'command': '%e',
|
|
\ 'project_root_callback': 'ale#handlers#ccls#GetProjectRoot',
|
|
\ 'initialization_options_callback':ale#VarFunc('c_ccls_init_options'),
|
|
\})
|