diff options
author | Horacio Sanson <hsanson@gmail.com> | 2022-01-05 22:19:32 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 22:19:32 +0900 |
commit | 7b8e711877449478796306be9124c1fdd690b987 (patch) | |
tree | 32663ce0a1db0d0f8561374385af65c999847a54 /ale_linters | |
parent | 11a90ad0ff0893118cd0b09de914c53f5683eeef (diff) | |
download | ale-7b8e711877449478796306be9124c1fdd690b987.zip |
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
Diffstat (limited to 'ale_linters')
-rw-r--r-- | ale_linters/tex/texlab.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ale_linters/tex/texlab.vim b/ale_linters/tex/texlab.vim index 0794bf51..8e96b80b 100644 --- a/ale_linters/tex/texlab.vim +++ b/ale_linters/tex/texlab.vim @@ -4,6 +4,7 @@ call ale#Set('tex_texlab_executable', 'texlab') call ale#Set('tex_texlab_options', '') +call ale#Set('tex_texlab_config', {}) function! ale_linters#tex#texlab#GetProjectRoot(buffer) abort let l:git_path = ale#path#FindNearestDirectory(a:buffer, '.git') @@ -21,4 +22,5 @@ call ale#linter#Define('tex', { \ 'executable': {b -> ale#Var(b, 'tex_texlab_executable')}, \ 'command': function('ale_linters#tex#texlab#GetCommand'), \ 'project_root': function('ale_linters#tex#texlab#GetProjectRoot'), +\ 'lsp_config': {b -> ale#Var(b, 'tex_texlab_config')}, \}) |