require('packer').startup({ function(use)
use {
'SidOfc/mkdx',
ft = { 'markdown' },
}
end})
create empty markdown file
insert test (mind the leading space) and
still in insert mode hit enter.
Expected:
A new line is added after the current one. I.e. we should get
test
with the cursor on the second line.
Actual:
The current line is deleted. I.e. we have
with the cursor on the start of that line.
Comment:
This phenomena occurs in a variety of situations, and I came to believe that the leading space as indicated in the title is the cause, but it is totally possible that this is only a special case of a more general criterion.
And thanks a lot for your work on this plugin. Very much appreciated!
OS type:
Vim:
Vim version:
Reproduce steps:
On Neovim config with only
test
(mind the leading space) andExpected:
A new line is added after the current one. I.e. we should get
with the cursor on the second line.
Actual:
The current line is deleted. I.e. we have
with the cursor on the start of that line.
Comment:
This phenomena occurs in a variety of situations, and I came to believe that the leading space as indicated in the title is the cause, but it is totally possible that this is only a special case of a more general criterion.
And thanks a lot for your work on this plugin. Very much appreciated!