Skip to content

The built-in regular expressions of VSCode Vim conflict with those of Neovim. #9870

@M-cloner

Description

@M-cloner

When Neovim is enabled ("vim.enableNeovim": true), a conflict occurs between the regular expressions of VSCode Vim and Neovim.

  1. enableNeovim
20251215-0602-50.1554342.mp4

The regular expression engine of Neovim does not support certain syntax such as \b, which is supported by the regular expression engine of VSCode Vim. As a result, even though the extension correctly displays the replacement outcome, the replacement fails due to errors from Neovim.

Alternatively, when using regular expressions that are valid in Neovim, the VSCode Vim extension may correctly display the replacement results but fail to execute the replacement.
neovim

20251215-0613-02.5805306.mp4

using in vscode vim

20251215-0616-54.6701652.mp4

We hope to fix the bug where the VSCode Vim extension correctly displays the replacement but fails to apply it.Additionally, we hope to have highlighted display for matched words,like neovim

  • Extension (VsCodeVim) version: 1.32.4
  • VSCode version: 1.107.0
  • OS: Windows11 25H2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions