SidOfc/mkdx

Mapping list item not working

Closed this issue · 4 comments

OS type: Unix

Vim: Neovim

Neovim version: 0.8.0
vim -v: 9.0

Reproduce steps:

  1. Run nvim safe mode with mkdx installed
  2. type "- first item"
  3. type "1. first item"

Expected:
Auto insert "-" and "2." for second item.

Actual:
New line.

I checked this on vim, the dash worked, but "1." didn't.
On neovim, both don't work.

Polyglot is disabled.

Hello there!

As long as mkdx is loaded properly (by putting it in a pack directory for example. :h packages), everything is working fine for me in Neovim. For me it did not work in Vim initially but I figured out I also needed filetype plugin on in my .vimrc for it to work.

If that line is already present, then I've got a few questions:

  1. How did you "install" mkdx?
  2. What is the command you used to "run vim in safe mode with mkdx installed"?
  3. What is the output of :script after you :edit some-test-file.md?

I discovered the problem is a conflict with pear-tree.

Problem is solved by disabling it.

Awesome, thank you for checking and confirming!