Suggest adding “nrformats” settings
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
When I want to change the decimal number "07" to "08", pressing ctrl+a changes it to "010", this is because vim recognizes 07 as octal and I want to use ":set nrformats-=octal" to temporarily unrecognize octal, however, it display the unknown option :nrformats.
Describe the solution you'd like
The nrformats option can be used
Contributor guide
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 by tracing how VSCodeVim handles :set options and Ctrl+A number changes, using the nrformats request as the entry point. Done means :set nrformats-=octal is accepted and changing 07 with Ctrl+A produces the requested decimal behavior; check for relevant existing tests before adding coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100