You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new java file with vim (or nvim), the eclipse-jdt-ls server starts running but nothing happens.
I am using the ddc.vim plugin for auto-completion and ale for displaying errors and warnings, with plugins to bridge between vim-lsp and those two plugins. Neither of the two plugins show any information from vim-lsp, so I am guessing the problem is with vim-lsp.
Steps to reproduce
Install eclipse-jdt-ls using :LspInstallServer (if using vim-lsp-settings plugin)
mkdir newFolder && cd newFolder
vim NewFile.java
Wait until :LspStatus displays eclipse-jdt-ls: running
Start writing the keyword public or any other java code and see that vim-lsp does nothing
lsp-not-work.mp4
Environment
vim version: 9.0.1950
nvim version: 0.9.2
OS: macOS 12.6
Relevant parts of my .vimrc (all plugins using the latest version on github):
" To Install Plugins with Vundle: :PluginInstall" To Update Plugins with Vundle: :PluginUpdate" To Delete Plugins with Vundle: :PluginClean" Setting up Vundlesetnocompatible" be iMproved, requiredfiletypeoff" required" set the runtime path to include Vundle and initializesetrtp+=~/.vim/bundle/Vundle.vimcallvundle#begin()
Plugin'VundleVim/Vundle.vim'" let Vundle manage Vundle, requiredPlugin'dense-analysis/ale'" LinterPlugin'prabirshrestha/vim-lsp'" Use Language Server ProtocolPlugin'mattn/vim-lsp-settings'" Easily install LSP servers for vim-lspPlugin'vim-denops/denops.vim'" Let ddc use deno (javascript)Plugin'Shougo/ddc.vim'" AutocompletePlugin'Shougo/ddc-ui-native'" UI for ddcPlugin'tani/ddc-fuzzy'" Fuzzy matcher, sorter, and converter" Bridge vim-lsp -> ALE, vim-lsp -> ddcPlugin'rhysd/vim-lsp-ale'" Give LSP info from vim-lsp to ALE for errors and warningsPlugin'shun/ddc-source-vim-lsp'" Give LSP info from vim-lsp to ddc for autocompletecallvundle#end()
filetypepluginindenton" required (for Vundle)" -- ddc plugin settingscallddc#custom#patch_global('ui', 'native')
callddc#custom#patch_global('sources', ['vim-lsp'])
callddc#custom#patch_global('sourceOptions', #{
\ vim-lsp: #{
\ mark: 'lsp',
\ },
\ _: #{
\ sorters: ['sorter_fuzzy'],
\ matchers: ['matcher_fuzzy'],
\ converters: ['converter_fuzzy'],
\ },
\ })
The text was updated successfully, but these errors were encountered:
Bug description
When creating a new java file with vim (or nvim), the
eclipse-jdt-ls
server starts running but nothing happens.I am using the
ddc.vim
plugin for auto-completion andale
for displaying errors and warnings, with plugins to bridge betweenvim-lsp
and those two plugins. Neither of the two plugins show any information fromvim-lsp
, so I am guessing the problem is withvim-lsp
.Steps to reproduce
eclipse-jdt-ls
using:LspInstallServer
(if usingvim-lsp-settings
plugin)mkdir newFolder && cd newFolder
vim NewFile.java
:LspStatus
displayseclipse-jdt-ls: running
public
or any other java code and see thatvim-lsp
does nothinglsp-not-work.mp4
Environment
vim version: 9.0.1950
nvim version: 0.9.2
OS: macOS 12.6
Relevant parts of my
.vimrc
(all plugins using the latest version on github):The text was updated successfully, but these errors were encountered: