benknoble / vim-racket

vim bundle for Racket
MIT License
24 stars 4 forks source link

language server will not initialzed when this plugin installed. #9

Closed RickyYCheng closed 2 years ago

RickyYCheng commented 2 years ago

os: windows 11, env: wsl2

install nvim 0.6.1 and Plug install node(12) and yarn for coc.nvim install coc.nvim install racket and drracket update wslg to use gui app. raco pkg install racket-langserver configure CocConfig to enable auto complelemtation.

everything was fine so far. ready to install benknoble/vim-racket

Plug 'benknoble/vim-racket' and :PlugInstall

if we open a .rkt or .ss file, the syntax highlighting will be enabled due to the vim-racket plugin, but the language server or code complementation will not be enabled. (nvim just not show Initializing languageserver.racket)

benknoble commented 2 years ago

I don't have built-in support for CoC in this plugin. I did contribute to ALE so that it could run racket-langserver, though.

My recommendation would be to configure CoC in the usual way to use racket-langserver as the LSP server for racket files.

RickyYCheng commented 2 years ago

I don't have built-in support for CoC in this plugin. I did contribute to ALE so that it could run racket-langserver, though.

My recommendation would be to configure CoC in the usual way to use racket-langserver as the LSP server for racket files.

alright