mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated the plugins
This commit is contained in:
14
sources_non_forked/ale/ale_linters/objc/ccls.vim
Normal file
14
sources_non_forked/ale/ale_linters/objc/ccls.vim
Normal file
@ -0,0 +1,14 @@
|
||||
" Author: Ye Jingchen <ye.jingchen@gmail.com>, Ben Falconer <ben@falconers.me.uk>, jtalowell <jtalowell@protonmail.com>
|
||||
" Description: A language server for Objective-C
|
||||
|
||||
call ale#Set('objc_ccls_executable', 'ccls')
|
||||
call ale#Set('objc_ccls_init_options', {})
|
||||
|
||||
call ale#linter#Define('objc', {
|
||||
\ 'name': 'ccls',
|
||||
\ 'lsp': 'stdio',
|
||||
\ 'executable_callback': ale#VarFunc('objc_ccls_executable'),
|
||||
\ 'command': '%e',
|
||||
\ 'project_root_callback': 'ale#handlers#ccls#GetProjectRoot',
|
||||
\ 'initialization_options_callback': ale#VarFunc('objc_ccls_init_options'),
|
||||
\})
|
Reference in New Issue
Block a user