vim-lsp-settings icon indicating copy to clipboard operation
vim-lsp-settings copied to clipboard

Server could not be installed. See :messages for details.

Open maka-io opened this issue 2 years ago • 7 comments

When trying to install eclipse-jdt-ls: Screen Shot 2022-05-25 at 5 27 00 PM

I get this error: Screen Shot 2022-05-25 at 5 27 06 PM

When looking at the messages, I get: Screen Shot 2022-05-25 at 5 27 12 PM

Any Ideas?

maka-io avatar May 25 '22 21:05 maka-io

Me too...

Watynecc avatar Jun 05 '22 19:06 Watynecc

Do you have any settings for g:lsp_settings ?

mattn avatar Jun 06 '22 02:06 mattn

Do you have any settings for g:lsp_settings ?

From my vimrc no I didn't use any settings for g:lsp_settings

Watynecc avatar Jun 06 '22 13:06 Watynecc

@maka-io @Watynecc Are you setting the file type? LspServerInstall is needs file type. Try :set filetype=java before :LspInstallServer eclipse-jdt-ls

mikoto2000 avatar Oct 07 '22 20:10 mikoto2000

I will try out

Le ven. 7 oct. 2022 à 22:48, mikoto2000 @.***> a écrit :

@maka-io https://github.com/maka-io @Watynecc https://github.com/Watynecc Are you setting the file type? LspServerInstall is needs file type. Try :set filetype=java before :LspInstallServer eclipse-jdt-ls

— Reply to this email directly, view it on GitHub https://github.com/mattn/vim-lsp-settings/issues/576#issuecomment-1272075461, or unsubscribe https://github.com/notifications/unsubscribe-auth/APMJHWJFU35KNOYDGS6CVJTWCCEBRANCNFSM5W6SVD2A . You are receiving this because you were mentioned.Message ID: @.***>

Watynecc avatar Oct 07 '22 20:10 Watynecc

@maka-io @Watynecc Are you setting the file type? LspServerInstall is needs file type. Try :set filetype=java before :LspInstallServer eclipse-jdt-ls

This worked for me 👏👏

leonmjuancarlos avatar Oct 14 '22 18:10 leonmjuancarlos

is this problem solved? I meet this problem today, I have try:set filetype=java and :LspInstallServer eclipse-jdt-ls. Also, I checked the closed issue, I tried to use the previous commit(Plug 'prabirshrestha/vim-lsp', { 'commit': '5537fec' }), but it still not works.

XiejiLi avatar Dec 26 '22 10:12 XiejiLi