Code folding not working for restructuredText (.rst) after 8.1-153

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Code folding not working for restructuredText (.rst) after 8.1-153

Steve Canny
After a recent upgrade to 8.1-154 and 8.1-156, code-folding is not working for restructuredText (rst) file-type. Reverting to version 8.1-153 restores that functionality.

:e foobar.rst

-> file opens with text fully expanded

zc

-> E490: No fold found

set fdm? -> expr
set fde? -> RstFold#GetRstFold

This behavior was observed on two of my three machines, running 8.1-154, 8.1-156, and 8.1-153. Reverting the second one to v153 restored RST code-folding.

Let me know if you need more and I'll be happy to provide :)

--Steve

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/647cf68b-5c58-4de0-a51e-5053d49cbf1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Code folding not working for restructuredText (.rst) after 8.1-153

Christian Brabandt



On Mo, 01 Jul 2019, Steve Canny wrote:

> After a recent upgrade to 8.1-154 and 8.1-156, code-folding is not working for restructuredText (rst) file-type. Reverting to version 8.1-153 restores that functionality.
>
> :e foobar.rst
>
> -> file opens with text fully expanded
>
> zc
>
> -> E490: No fold found
>
> set fdm? -> expr
> set fde? -> RstFold#GetRstFold
>
> This behavior was observed on two of my three machines, running 8.1-154, 8.1-156, and 8.1-153. Reverting the second one to v153 restored RST code-folding.


Can you test a more recent version?


Best,
Christian
--
"Herr Doktor, der Patient von Zimmer 345, der Simulant, ist letzte Nacht
gestorben." - "Oha, jetzt übertreibt er aber!"

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20190702062324.GB21708%40256bit.org.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Code folding not working for restructuredText (.rst) after 8.1-153

Steve Canny
Okay, looks like I was stating a snapshot number, apologies for that. The versions are these:

    Folds .rst files as expected: 8.1.577

    Does not fold .rst files:  8.1.950, 8.1.1517

--Steve

On Jul 1, 2019, at 11:23 PM, Christian Brabandt <[hidden email]> wrote:




On Mo, 01 Jul 2019, Steve Canny wrote:
After a recent upgrade to 8.1-154 and 8.1-156, code-folding is not working for restructuredText (rst) file-type. Reverting to version 8.1-153 restores that functionality.

:e foobar.rst

-> file opens with text fully expanded

zc

-> E490: No fold found

set fdm? -> expr
set fde? -> RstFold#GetRstFold

This behavior was observed on two of my three machines, running 8.1-154, 8.1-156, and 8.1-153. Reverting the second one to v153 restored RST code-folding.


Can you test a more recent version?


Best,
Christian
-- 
"Herr Doktor, der Patient von Zimmer 345, der Simulant, ist letzte Nacht
gestorben." - "Oha, jetzt übertreibt er aber!"

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20190702062324.GB21708%40256bit.org.
For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/46449416-A9DE-430B-B9A2-B21B583FA77B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Code folding not working for restructuredText (.rst) after 8.1-153

Steve Canny
On Tuesday, July 2, 2019 at 11:22:47 AM UTC-7, Steve Canny wrote:

> Okay, looks like I was stating a snapshot number, apologies for that. The versions are these:
>
>
>     Folds .rst files as expected: 8.1.577
>
>
>     Does not fold .rst files:  8.1.950, 8.1.1517
>
>
>
> --Steve
>
>
>
>
>
> On Jul 1, 2019, at 11:23 PM, Christian Brabandt <[hidden email]> wrote:
>
>
>
>
> On Mo, 01 Jul 2019, Steve Canny wrote:
> After a recent upgrade to 8.1-154 and 8.1-156, code-folding is not working for restructuredText (rst) file-type. Reverting to version 8.1-153 restores that functionality.
>
> :e foobar.rst
>
> -> file opens with text fully expanded
>
> zc
>
> -> E490: No fold found
>
> set fdm? -> expr
> set fde? -> RstFold#GetRstFold
>
> This behavior was observed on two of my three machines, running 8.1-154, 8.1-156, and 8.1-153. Reverting the second one to v153 restored RST code-folding.
>
>
> Can you test a more recent version?
>
>
> Best,
> Christian
> -- 
> "Herr Doktor, der Patient von Zimmer 345, der Simulant, ist letzte Nacht
> gestorben." - "Oha, jetzt übertreibt er aber!"
>
> -- 
> -- 
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> --- 
> You received this message because you are subscribed to the Google Groups "vim_use" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20190702062324.GB21708%40256bit.org.
> For more options, visit https://groups.google.com/d/optout.
Hi Guys, just bumping this to see if there are any next steps. I'm happy to post an issue on the development site if you can tell me where that should go.

Best,
Steve

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/9b04e5a2-e312-4cb8-bf86-6ae24073d49f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Code folding not working for restructuredText (.rst) after 8.1-153

Christian Brabandt
In reply to this post by Steve Canny

On Mo, 01 Jul 2019, Steve Canny wrote:

> After a recent upgrade to 8.1-154 and 8.1-156, code-folding is not working for restructuredText (rst) file-type. Reverting to version 8.1-153 restores that functionality.
>
> :e foobar.rst
>
> -> file opens with text fully expanded
>
> zc
>
> -> E490: No fold found
>
> set fdm? -> expr
> set fde? -> RstFold#GetRstFold
>
> This behavior was observed on two of my three machines, running 8.1-154, 8.1-156, and 8.1-153. Reverting the second one to v153 restored RST code-folding.
>
> Let me know if you need more and I'll be happy to provide :)

The Vim runtime files for rst have been updated in between. Try the
latest version from https://github.com/marshallward/vim-restructuredtext

If it still doesn't work, open an issue there with the upstream author
to have it fixed. Thanks.


Best,
Christian
--
Freude bereiten heißt: Die Banane essen und die Schale einem Anderen hinlegen.
                -- Helmut Kohl
(Marc-Uwe Kling: Falsch zugeordnete Zitate; eigentlich Dashiell Hammett)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20190714132520.GD31610%40256bit.org.
For more options, visit https://groups.google.com/d/optout.