languageserver icon indicating copy to clipboard operation
languageserver copied to clipboard

No documentSymbol response for Rmarkdown file with helix editor

Open fisher-j opened this issue 2 years ago • 1 comments
trafficstars

I'm trying to use languageserver to edit rmarkdown documents with the helix editor. The server times out with no response after submitting a document symbol request:

2023-08-11T08:53:32.778 helix_lsp::transport [INFO] -> {"jsonrpc":"2.0","method":"textDocument/documentSymbol","params":{"textDocument":{"uri":"file:///C:/Users/walki/Desktop/hx-test/test.rmd"}},"id":1}

I opened an issue with helix, which got converted to a discussion

Issue #381 talks about debugging a non-response for documentSymbol requests, but I'm not sure how to go about this with helix.

Any idea why the server is not responding?

fisher-j avatar Aug 18 '23 14:08 fisher-j

Hi @fisher-j , maybe the problem is the configuration of the LSP in Helix. For Neovim the current config set filetypes = { "r" , "rmd" }. Perhaps Helix only use r and not rmd.

rumichaska avatar Oct 03 '23 15:10 rumichaska