add jsonnet lsp config
This commit is contained in:
parent
a77f8c0e28
commit
69446e5a1e
|
@ -45,6 +45,7 @@ let g:ale_fixers = {
|
||||||
\ 'vala': ['uncrustify'],
|
\ 'vala': ['uncrustify'],
|
||||||
\ 'dart': ['dartfmt'],
|
\ 'dart': ['dartfmt'],
|
||||||
\ 'scss': ['prettier'],
|
\ 'scss': ['prettier'],
|
||||||
|
\ 'jsonnet': ['jsonnetfmt'],
|
||||||
\}
|
\}
|
||||||
|
|
||||||
let g:ale_rust_rls_config = {
|
let g:ale_rust_rls_config = {
|
||||||
|
|
|
@ -34,6 +34,7 @@ let g:LanguageClient_serverCommands = {
|
||||||
\ 'java': ['/usr/bin/java-language-server'],
|
\ 'java': ['/usr/bin/java-language-server'],
|
||||||
\ 'typescript': ['/usr/bin/typescript-language-server', '--stdio'],
|
\ 'typescript': ['/usr/bin/typescript-language-server', '--stdio'],
|
||||||
\ 'typescriptreact': ['/usr/bin/typescript-language-server', '--stdio'],
|
\ 'typescriptreact': ['/usr/bin/typescript-language-server', '--stdio'],
|
||||||
|
\ 'jsonnet': ['/usr/bin/jsonnet-language-server'],
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
let g:LanguageClient_rootMarkers = {
|
let g:LanguageClient_rootMarkers = {
|
||||||
|
@ -42,6 +43,7 @@ let g:LanguageClient_rootMarkers = {
|
||||||
\ 'typescriptreact': ['package.json'],
|
\ 'typescriptreact': ['package.json'],
|
||||||
\ 'rust': ['Cargo.toml'],
|
\ 'rust': ['Cargo.toml'],
|
||||||
\ 'python': ['pyproject.toml', 'setup.cfg'],
|
\ 'python': ['pyproject.toml', 'setup.cfg'],
|
||||||
|
\ 'jsonnet': ['jsonnetfile.json', 'jsonnetfile.lock.json'],
|
||||||
\ }
|
\ }
|
||||||
|
|
||||||
let g:LanguageClient_hoverPreview = 'always'
|
let g:LanguageClient_hoverPreview = 'always'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user