jake-stewart/multicursor.nvim

Removes indentation in .norg files

Closed this issue · 6 comments

When using multiple cursors in .norg files. Indentation is removed.

Steps to replicate:

  1. Open any random .norg file
  2. Create new cursors (mouse or keyboard does not seem to affect this bug)
  3. Insert text
  4. Press escape
  5. Loose Indentation
Multicursor.nvim.norg.bug.mp4

Though the plugin is amazing thanks for all your work.

What plugins are you using for .norg files? Can you post min reproducible example? Thanks

.norg, I only use Neorg for .norg files and that's it. I am doing this on windows 11 laptop with windows Terminal.

Min reproducible steps:

  1. create a .norg file (The Neorg plugin is required to reproduce the bug)
  2. add cursors to lines of your choice in normal mode.
  3. insert text
  4. press escape after the text inserted
  5. Each lines indentation should be automatically removed after escape is pressed.
Multicursor.nvim.norg.bug.Example_2.mp4

Also, I am very new to programming in general so if this is not min-reproducible steps It would be helpful for you to specify what you mean by that. Also thanks for responding.

@Rahmyeon Even when multicursor.nvim is not installed, Neorg removes indentation when inserting. This is not a multicursor.nvim bug. I think you should open an issue for Neorg if this is undesired behaviour. I have no clue what norg is so I can't give much more input.

K, thanks I will report vhyrro.