Add java lsp

This commit is contained in:
sfigato 2021-10-08 10:12:32 +02:00
parent e25f1cd821
commit 53f8aa0777
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@ let g:ale_sign_warning = '~>'
" let g:ale_sign_warning = '⚠'
let g:ale_elixir_elixir_ls_release = '/usr/lib/elixir-ls/'
let g:ale_java_javalsp_executable = '/usr/bin/java-language-server'
let g:ale_linters = {
\ 'javascript': ['eslint'],
@ -24,6 +25,7 @@ let g:ale_linters = {
\ 'elm': ['elm_ls'],
\ 'sql': ['sql-lint'],
\ 'promql': ['promql-langserver'],
\ 'java': ['javalsp'],
\}
let g:ale_fixers = {

View File

@ -15,7 +15,8 @@ let g:LanguageClient_serverCommands = {
\ 'elm': ['/usr/bin/elm-language-server'],
\ 'python': ['/usr/bin/pyls'],
\ 'go': ['/usr/bin/gopls'],
\ 'promql': ['/usr/local/bin/promql-langserver']
\ 'promql': ['/usr/local/bin/promql-langserver'],
\ 'java': ['/usr/bin/java-language-server']
\ }
let g:LanguageClient_rootMarkers = {