microsoft / microsoft/language-server-protocol
Add 'linewidth' parameter to 'formatting_options'
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13k
- Forks
- 1k
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 10
Description
vim.lsp.buf.format ignores vim.opt.textwidth value. Also, I could not specify line width with formatting options. Please add that ability.
(I tried to create issue in neovim, but they told me that it is up to LSP.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked LSP 3.17 formattingOptions specification and locate its formatting-options definition in this repository. Determine how a linewidth field should be represented and documented, then verify that the protocol definition and its expected formatting behavior are unambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100