-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fish --no-execute reports "Unknown command" for functions #977
Comments
(ok, that is a bug) This ought to be fixed, but in certain cases executing code is needed (some functions, like |
> fish --no-execute echo
open: No such file or directory |
Of course it doesn't. You want to check syntax of ~ $ fish --no-execute -c echo
~ $ |
Ah, of course. |
This bit me when updating the tests, because I'm inclined to say that when The real issue here is functions that are loaded from |
Relabeling this from "bug" to "enhancement" because the current behavior seems reasonable and is not in contradiction of the documentation. Whether we can provide a better experience is TBD. |
what about having sorta shim loaded when running so in that shim |
Please let me disagree. The current behavior, by far, doesn't seem reasonable. There can be no valid reason to flag errors when "syntax checking" code which works correctly, runs perfectly fine; this isn't linting.
|
This made some output for non-execution. See #977.
thanks a lot! works for me now |
I reported here before.
dag/vim-fish#16 (comment)
The text was updated successfully, but these errors were encountered: