REditorSupport / REditorSupport/languageserver

Over does not display help correctly

Open
#670 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
675
Forks
118
Avg merge
1d 37m
Merged PRs (30d)
11

Description

I am using lspsaga to enhance LSP in neovim (https://github.com/nvimdev/lspsaga.nvim).

One interesting feature is the over (https://nvimdev.github.io/lspsaga/hover/) function (shift+k) that provides function help. When I use this function in other language, the display looks like this:

In Rust:

image

In Python:

image

However, while this kinda works with R, the information is displayed as Markdown/HTML:

image

Anyone know if this could be easily fixed?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the R over/hover display in Neovim with lspsaga and compare it with the Rust and Python examples in the issue. Inspect how the language server's hover response is formatted, and consider the work complete when R help is rendered rather than shown as raw Markdown/HTML.

Written by the indexing model from the issue text.

Assessment

Tech stack
neovim, r
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.