VSCodeVim / VSCodeVim/Vim

Enter key has side effects in Markdown lists

Open
#2,817 4 comments 0 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

Issue Type: Bug

Create a list using "-" in a Markdown document.
Write an item into the list.
Exit insert mode.
Enter command ":w" and press enter.
A newline starting with a "-" will be added in the document.

Extension version: 0.14.2
VS Code version: Code 1.24.1 (24f62626b222e9a8313213fb64b10d741a326288, 2018-06-13T17:51:32.889Z)
OS version: Windows_NT x64 10.0.16299

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

Reproduce the behavior in a TypeScript VS Code Vim extension with a Markdown list: write an item, leave insert mode, then run :w and press Enter. Trace the command handling and Markdown-list interaction; done when saving no longer inserts a new line beginning with "-".

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.