diff --git a/README.md b/README.md index 7507db6..d7f0e4f 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ Before we dive in I'd like to give a special thanks to the following contributor - [@samarulmeu](https://github.com/samarulmeu) - idea to mark every line with a quote mark - discovering a bug with double insertion of quote marks + - finding duplicate helptag + - his critical thinking on enhancing gf and gx - [@yous](https://github.com/yous) - discovering a bug when using unicode characters in list items - [@marcdeop](https://github.com/marcdeop) ([Erasys](https://www.erasys.de/)) @@ -1517,7 +1519,7 @@ See [CHANGELOG.md](CHANGELOG.md) for older changes. - Fix: no-op folding functions when `g:markdown_folding` is enabled - Fix: allow mkdx to work with [plasticboy/vim-markdown](https://github.com/plasticboy/vim-markdown) enabled - Fix: insertion of double quote marks on enter -- Fix: removed duplicate helptag causing Vundle to crash +- Fix: removed duplicate helptag causing Vundle to crash ([#92](../../issues/92) by @samarulmeu) - Fix: `
` TOC not unindenting properly when `&sw` is `0` - Fix: typo in README ([#88](../../issues/88) by @Ginner) diff --git a/autoload/mkdx.vim b/autoload/mkdx.vim index fe2169a..04bdab6 100644 --- a/autoload/mkdx.vim +++ b/autoload/mkdx.vim @@ -1731,7 +1731,7 @@ fun! mkdx#EnterHandler() if (!empty(line) && g:mkdx#settings.enter.enable) let len = strwidth(line) - let at_end = cnum > len + let at_end = 1 " implementation before #107: cnum > len let results = matchlist(line, sp_pat) let t = get(results, 2, '') let t = t == '>' ? '' : t diff --git a/test/components/lists.vader b/test/components/lists.vader index e76b5b1..32e2eae 100644 --- a/test/components/lists.vader +++ b/test/components/lists.vader @@ -107,7 +107,7 @@ Do ( in the middle of list item performs regular ): Expect (An empty list item): - list - item + - item - list item Do (+ in the middle of list item performs indented ): @@ -127,17 +127,6 @@ Given (A nested markdown list): 2.2. subtask 3. hello -Do ( in the middle of list item performs regular ): - 2j8la\ - -Expect (An empty list item): - 1. task - 2. task - 2.1. - subtask - 2.2. subtask - 3. hello - Do (+ in the middle of list item performs indented ): 2j11la\ @@ -187,8 +176,8 @@ Expect (An empty list item): > 1. task > 2. task > 2.1. - > subtask > 2.2. subtask + > 2.3. subtask > 3. hello Do (+ in the middle of list item performs indented ):