From 6e1538353e4d4196d695dda8200c7e2d50cd9d2d Mon Sep 17 00:00:00 2001 From: Pinghao Wu Date: Sun, 24 Nov 2024 22:34:39 +0800 Subject: [PATCH] vim: ale: javalsp --- .config/vim/vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 134d57e..352022c 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -47,6 +47,14 @@ let g:ale_vue_volar_init_options={ let g:ale_php_phpcs_options="--standard=PSR2" let g:ale_completion_enabled=1 let g:ale_java_javac_classpath=$ANDROID_SDK_ROOT."/platforms/android-33/android.jar" +let g:ale_java_javalsp_executable=$HOME.'/sources/java-language-server/dist/lang_server_linux.sh' +let g:ale_java_javalsp_config={ +\ 'java': { +\ 'classPath': [ +\ $ANDROID_SDK_ROOT.'/platforms/android-33/android.jar' +\ ] +\ } +\} let g:ale_javascript_eslint_options='--flag unstable_ts_config' let g:SuperTabDefaultCompletionType='' -- 2.45.2