preservim / vim-pencil

Rethinking Vim as a tool for writing
Other
1.57k stars 38 forks source link

Linebreak in lists #71

Closed ukos-git closed 6 years ago

ukos-git commented 6 years ago

the pencil plugin does not seem to respect next lines in rst syntax that are beginning with an * or - The following

headline
========

* here it is
* i have a bullet point that breaks a bullet point that breaks a bullet point that breaks a bullet point that breaks a bullet <-- Hit enter
  again and again and again and again and again and again and again and again and again and again and again and again and

should reformat to

headline
========

* here it is
* i have a bullet point that breaks a bullet point that breaks a bullet point
  that breaks a bullet point that breaks a bullet again and again and again and
  again and again and again and again and again and again and again and
  again and again and

but instead, it reformats to

headline
========

* here it is
* i have a bullet point that breaks a bullet point that breaks a bullet point
that breaks a bullet point that breaks a bullet again and again and again and
again and again and again and again and again and again and again and again
and again and

is there some clever way to fix the indentation here?

I am not sure if it is related with the other lists formatting issues I have on riv vim so I'm mentioning that no syntax highlighting is visible here.

ukos-git commented 6 years ago

sorry. it was not a pencil problem but related to wrong sw indentation