mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
add project_root_callback for tsserver (#2290)
* add project_root_callback for tsserver * add tests for tsserver project root * Update test/command_callback/test_javascript_tsserver_command_callback.vader
This commit is contained in:
@@ -12,6 +12,6 @@ call ale#linter#Define('javascript', {
|
||||
\ 'node_modules/.bin/tsserver',
|
||||
\ ]),
|
||||
\ 'command': '%e',
|
||||
\ 'project_root_callback': {-> ''},
|
||||
\ 'project_root_callback': 'ale#handlers#tsserver#GetProjectRoot',
|
||||
\ 'language': '',
|
||||
\})
|
||||
|
||||
Reference in New Issue
Block a user