Fix 4025 - Allow to configure texlab LSP settings (#4027)

* Fix 4025 - Allow to configure texlab LSP settings

* Fix ale_tex_texlab_config type in help
This commit is contained in:
Horacio Sanson
2022-01-05 22:19:32 +09:00
committed by GitHub
parent 11a90ad0ff
commit 7b8e711877
3 changed files with 23 additions and 1 deletions

View File

@@ -28,3 +28,8 @@ Execute(The options should be configurable):
let b:ale_tex_texlab_options = '-v'
AssertLinter 'texlab', ale#Escape('texlab') . ' ' . b:ale_tex_texlab_options
Execute(Should accpet configuration settings):
AssertLSPConfig {}
let b:ale_tex_texlab_config = {'build':{'onSave':v:true}}
AssertLSPConfig {'build':{'onSave':v:true}}