VSCodeVim / VSCodeVim/Vim

Suggest adding “nrformats” settings

Open
#8,828 3 comments 4 reactions 0 assignees View on GitHub

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

Open the contributing guide

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.