diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-28 21:02:27 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2019-12-28 21:02:27 +0900 |
commit | bab2a078d67caf9e62ea2232b2581cb9197a2579 (patch) | |
tree | 70180653a493ecb2d4fe38287eab4fafa7fe1791 /settings/texlab.vim | |
parent | 3f2113c05c219460616a7cb2139d372693c08e09 (diff) | |
download | vim-lsp-settings-bab2a078d67caf9e62ea2232b2581cb9197a2579.tar.gz vim-lsp-settings-bab2a078d67caf9e62ea2232b2581cb9197a2579.tar.bz2 vim-lsp-settings-bab2a078d67caf9e62ea2232b2581cb9197a2579.zip |
Add texlab
Diffstat (limited to 'settings/texlab.vim')
-rw-r--r-- | settings/texlab.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/settings/texlab.vim b/settings/texlab.vim new file mode 100644 index 0000000..3cdee7d --- /dev/null +++ b/settings/texlab.vim @@ -0,0 +1,13 @@ +augroup vimlsp_settings_texlab + au! + LspRegisterServer { + \ 'name': 'texlab', + \ 'cmd': {server_info->lsp_settings#get('texlab', 'cmd', [lsp_settings#exec_path('texlab')])}, + \ 'root_uri':{server_info->lsp_settings#get('texlab', 'root_uri', lsp_settings#root_uri(['.git/']))}, + \ 'initialization_options': lsp_settings#get('texlab', 'initialization_options', {"diagnostics": "true"}), + \ 'whitelist': lsp_settings#get('texlab', 'whitelist', ['plaintex', 'tex']), + \ 'blacklist': lsp_settings#get('texlab', 'blacklist', []), + \ 'config': lsp_settings#get('texlab', 'config', {}), + \ 'workspace_config': lsp_settings#get('texlab', 'workspace_config', {}), + \ } +augroup END |