Comments (5)
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.
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.
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.
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.
Thanks. The report is what I experienced. Closing.
from vim-fish.
Related Issues (20)
- Move usage notes from README to help file
- Drop or improve the funced behavior HOT 5
- Improve portability
- Syntax Checker return Unknown command 'eval' HOT 2
- HOW TO INSTALL? HOT 9
- E484: Can't open file /tmp/vnKV0xX/0 at Vim startup HOT 3
- syntastic checker doesn't work with current syntastic HOT 2
- Indentation is broken HOT 10
- funced support HOT 4
- Unable to create temp dir automatically
- Startup of vim-fish is insanely slow HOT 37
- Unknown option error on start up HOT 2
- neosnippet snippets HOT 1
- Not keyword is not highlighted HOT 4
- Broken syntax of quoted strings
- "Invalid range" plugin error when opening fish file HOT 1
- A fork that I indend to maintain HOT 1
- Completion is broken HOT 1
- pushd and popd are considered errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-fish.