Giter Site home page Giter Site logo

Comments (5)

lilyball avatar lilyball commented on July 16, 2024

I'm not seeing this. In fact, vim-fish doesn't even detect funced functions, because it doesn't have a filename or shebang.

What I am seeing is if the first line of a function is a comment, then the comment gets erased, but fish appears to be doing that on its end, when the function is created (either on the commandline or as a file stored in ~/.config/fish/functions/). Every comment after the very first line of the function is left intact, and survives being edited by vim.

Did you do something to make funced functions actually enable the fish filetype?

from vim-fish.

tusj avatar tusj commented on July 16, 2024

I retested on my machine with setting the nano as EDITOR, and I can confirm that it is the same problem. So that excludes vim-fish as the source. So false alarm, sorry for that.

I had a look at the funced definition, and from what I can see it does not seem to do that much.

from vim-fish.

lilyball avatar lilyball commented on July 16, 2024

It's not funced, the actual function definition loses the comment. I'll file an issue on the fish project to track it. In the meantime, you should probably close this vim-fish issue.

from vim-fish.

lilyball avatar lilyball commented on July 16, 2024

I've filed it as fish-shell/fish-shell#1710. Please comment there if I did not accurately capture what you're seeing.

from vim-fish.

tusj avatar tusj commented on July 16, 2024

Thanks. The report is what I experienced. Closing.

from vim-fish.

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.