-
Notifications
You must be signed in to change notification settings - Fork 13
Closed
Labels
bug:reportSomething does not work as intended / expected.Something does not work as intended / expected.
Description
OS type:
- Unix
- Windows
- Other ([SPECIFY])
Vim:
- vim
- neovim
- Other ([SPECIFY])
Vim version: 8.2.716
Configuration:
- Plugin manager: Vundle
- Relevant vimrc parts:
let g:mkdx#settings = { 'highlight': { 'enable': 1 },
\ 'enter': { 'shift': 1 },
\ 'links': { 'external': { 'enable': 0 } },
\ 'toc' : { 'text': 'Table of Contents', 'update_on_write': 1 },
\ 'fold' : { 'enable': 1 },
\ 'tab' : { 'enable': 1 } }
Not sure if the rest of the vimrc is relevant
Reproduce steps:
- Open a markdown file
test.md
- Write anything
- Go to normal mode, type
:so $MYVIMRC
and enter - Try to insert a new line (
Enter
in insert mode,o
orO
in normal mode)
Expected:
A simple new line is created
Actual:
A new line is created, but an error is thrown (for each new line). It depends on the method used to create a new line:
Enter
:
Error detected while processing function mkdx#EnterHandler:
line 3:
E716: Key not present in Dictionary: enable && !empty(line))
o
:
Error detected while processing function mkdx#OHandler:
line 1:
E716: Key not present in Dictionary: o || !g:mkdx#settings.enter.enable)
O
:
Error detected while processing function mkdx#ShiftOHandler:
line 1:
E716: Key not present in Dictionary: shifto || !g:mkdx#settings.enter.enable)
Metadata
Metadata
Assignees
Labels
bug:reportSomething does not work as intended / expected.Something does not work as intended / expected.