Git Product home page Git Product logo

Comments (6)

StarWitch avatar StarWitch commented on May 18, 2024 2

Looks like 1400 (released today on Mac Homebrew) fixes it. 😄

from vim-anyfold.

pseewald avatar pseewald commented on May 18, 2024 1

Interesting and weird. You're using a very recent version of vim (2 days old) so I just hope this is going to be fixed in Vim soon. I looked for vim issues related to list slicing and I found this and this. So it seems that list slicing does not work unconditionally in vim.

from vim-anyfold.

StarWitch avatar StarWitch commented on May 18, 2024 1

Confirming that I'm also receiving this error, also version 1350. Reverting to version 1300 fixes it for me.

from vim-anyfold.

samf avatar samf commented on May 18, 2024

I should have mentioned: my current vim is version 8.2.1350.

from vim-anyfold.

samf avatar samf commented on May 18, 2024

If I comment out line 496:

let b:anyfold_commentlines[changed[0]-1 : changed[1]-1] = s:MarkCommentLines(changed[0], changed[1])

then the problem goes away.

But it looks to me like your [s match with your ]s. I can't see the flaw, but I don't speak vim either. Again, maybe the problem is not in your code, but in recent versions of vim itself.

from vim-anyfold.

pseewald avatar pseewald commented on May 18, 2024

Thanks a lot for letting me know, this can be closed then.

from vim-anyfold.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.