-
Notifications
You must be signed in to change notification settings - Fork 621
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
Pressing <Enter> in insert mode in table breaks line wrapping #891
Comments
Can you add some example texts or screenshots please: not clear to me |
If I start with a blank file in vimwiki, and then examine the textwidth via Now let's say I enter insert mode and start to create a table: | foo | bar |█ Now I press enter and vimwiki will know that this is a table and will start to auto-format: | foo | bar |
| | █ | Now I return to normal mode and examine the textwidth variable via As I understand it, vimwiki sets |
Issue: Pressing <Enter> in insert mode in table breaks line wrapping vimwiki#891
Fixed: dfc5344 -> Removing the autocmd reseting tw (to zero)
|
Issue: Pressing <Enter> in insert mode in table breaks line wrapping vimwiki#891
Issue: Pressing <Enter> in insert mode in table breaks line wrapping vimwiki#891
If I enter some data in a table, either in Markdown syntax or Vimwiki syntax and then go to another part of the file outside the table (possibly having exited insert mode) and start adding text, line wrapping no longer works. If I check
:set textwidth
I find that it gets set to0
and doesn't go back to its original value.I suspect that when entering data into a table Vimwiki turns off line wrapping by setting
textwidth=0
, but never reverts the setting to its original value.:VimwikiShowVersion
:The text was updated successfully, but these errors were encountered: