Skip to content

bug: Visual blockwise replace the first char #466

Closed
@unclenull

Description

@unclenull

Neovim version (nvim -v)

0.11.2

Neovim distribution

Neovide

Operating system

Windows

Terminal emulator / GUI

Windows Terminal

Describe the bug

It tripples the replaced chars, e.g. replace the 1 with 'a`

1234
1234
1234

becomes

aaa234
aaa234
aaa234

This doesn't happen when turn off this plugin.

Expected behavior

A single a

Healthcheck output

render-markdown:                                                          2 ⚠️

render-markdown.nvim [version] ~
- ✅ OK plugin 8.5.12
- ✅ OK neovim >= 0.11

render-markdown.nvim [configuration] ~
- ✅ OK valid

render-markdown.nvim [treesitter] ~
- ✅ OK markdown: parser installed
- ✅ OK markdown: highlights ~\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\markdown\highlights.scm
- ✅ OK markdown: highlighter enabled
- ✅ OK markdown_inline: parser installed
- ✅ OK markdown_inline: highlights ~\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\markdown_inline\highlights.scm
- ⚠️ WARNING latex: parser not installed
  - ADVICE:
    - disable latex support to avoid this warning
    - require('render-markdown').setup({ latex = { enabled = false } })
- ✅ OK html: parser installed

render-markdown.nvim [icons] ~
- ✅ OK using: nvim-web-devicons

render-markdown.nvim [executables] ~
- ⚠️ WARNING latex2text: not installed
  - ADVICE:
    - disable latex support to avoid this warning
    - require('render-markdown').setup({ latex = { enabled = false } })

render-markdown.nvim [conflicts] ~
- ✅ OK headlines: not installed
- ✅ OK markview: not installed
- ✅ OK obsidian: not installed

Plugin configuration

{
  'MeanderingProgrammer/render-markdown.nvim',
  dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' },
  opts = {
    -- log_level = 'debug',
    file_types = { 'markdown', 'norg', 'rmd', 'org', 'codecompanion' },
    code = {
      style = 'language',
      border = 'none',
    },
    indent = {
      enabled = true,
      skip_heading = true,
    },
    inline_highlight = {
      enabled = false,
    },
  },
}

Plugin error log

N/A

Confirmations

  • I have updated this plugin to the latest version using my plugin manager
  • I have provided the text contained in all screenshots as raw text in this issue. This means if there is a screenshot below it is the copy pasted contents of the file in the screenshot. I understand that my issue will be closed if I have not.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    not a bugNot a bug in this plugin

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions