Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with lists other than bulleted #602

Closed
szaffarano opened this issue Jan 13, 2019 · 4 comments
Closed

Error with lists other than bulleted #602

szaffarano opened this issue Jan 13, 2019 · 4 comments
Labels

Comments

@szaffarano
Copy link

I have an error with both markdown and vimwiki syntax when I use numbered lists. When I type a number followed by a dot, write something and press enter:

1. Hello <enter>

then I get the following error

Error detected while processing function <SNR>132_CR[9]..vimwiki#lst#kbd_cr[36]..<SNR>164_cr_on_list_item[4]..<SNR>164_clone_marker_from_to[13]..<SNR>164_adjust_numbered_list_below[5]..<SNR>
164_guess_kind_of_numbered_item[5]..vimwiki#vars#get_syntaxlocal:
line   10:
E716: Key not present in Dictionary: number_kinds
E15: Invalid expression: g:vimwiki_syntax_variables[syntax][a:key]
Error detected while processing function <SNR>132_CR[9]..vimwiki#lst#kbd_cr[36]..<SNR>164_cr_on_list_item[4]..<SNR>164_clone_marker_from_to[13]..<SNR>164_adjust_numbered_list_below[13]..<SNR
>164_get_next_list_item[3]..<SNR>164_regexp_of_marker[4]..vimwiki#vars#get_syntaxlocal:
line   10:
E716: Key not present in Dictionary: number_divisors
E15: Invalid expression: g:vimwiki_syntax_variables[syntax][a:key]

I found that the "bug" (actually I don't know if it's a bug!) started with commit 75819ca because until f9b8906 everything worked fine.

  • Vim version: 2:8.1.0693-2
  • Operating System: Debian GNU/Linux buster
  • Vimrc file
set nocompatible
filetype plugin on
syntax on
  • Vim plugins installed
@llinfeng
Copy link

llinfeng commented Jan 17, 2019

I'd like to report the same problem on Windows 10. Switching away from the dev branch did revert things back to normal. I deleted the folder for the plugin completely, and specified the following for the setting for Plug.vim:

Plug 'vimwiki/vimwiki'

@EinfachToll
Copy link
Member

Should be fixed now.

@szaffarano
Copy link
Author

Thank you! It works fine now

@llinfeng
Copy link

Fixed here, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants