1
0
Fork 0
mirror of synced 2024-11-17 22:45:34 -05:00
ultimate-vim/sources_non_forked/ale/ale_linters/javascript/tsserver.vim

18 lines
588 B
VimL
Raw Normal View History

2018-07-04 06:53:25 -04:00
" Author: Chaucerbao, w0rp <devw0rp@gmail.com>
" Description: tsserver integration for ALE
call ale#Set('javascript_tsserver_executable', 'tsserver')
call ale#Set('javascript_tsserver_config_path', '')
call ale#Set('javascript_tsserver_use_global', get(g:, 'ale_use_global_executables', 0))
call ale#linter#Define('javascript', {
\ 'name': 'tsserver',
\ 'lsp': 'tsserver',
2018-08-25 12:13:42 -04:00
\ 'executable_callback': ale#node#FindExecutableFunc('javascript_tsserver', [
\ 'node_modules/.bin/tsserver',
\ ]),
\ 'command': '%e',
\ 'project_root_callback': {-> ''},
2018-07-04 06:53:25 -04:00
\ 'language': '',
\})