Add java lsp
This commit is contained in:
parent
e25f1cd821
commit
53f8aa0777
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user