Mapping list item not working
Closed this issue · 4 comments
avidseeker commented
OS type: Unix
Vim: Neovim
Neovim version: 0.8.0
vim -v
: 9.0
Reproduce steps:
- Run nvim safe mode with mkdx installed
- type "- first item"
- 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.
avidseeker commented
Polyglot is disabled.
SidOfc commented
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:
- How did you "install"
mkdx
? - What is the command you used to "run vim in safe mode with mkdx installed"?
- What is the output of
:script
after you:edit some-test-file.md
?
avidseeker commented
I discovered the problem is a conflict with pear-tree.
Problem is solved by disabling it.
SidOfc commented
Awesome, thank you for checking and confirming!