REditorSupport / REditorSupport/languageserver

Format selected lines stop working after trying to format already formatted lines

Open
#124 6 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'm not sure if this is a LanguageClient-neovim issue or the language server. When I visually select for example a = c(1, 2) in Vim and applied formatting, it will be corretly formatted to a <- c(1, 2), but when I changed <- back to = and applled formatting again, nothing happes.

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 issue in Neovim by visually selecting an R expression, formatting it, changing the formatted assignment back, and formatting again. Start by determining whether the failure belongs to LanguageClient-neovim or this language server; done means the selected lines format correctly on the repeated attempt or the responsible project is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
devtools, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.