We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
use
parse-help
nu::parser::expected_keyword
this:
use ~/Developer/nu_scripts/custom-completions/auto-generate/parse-fish.nu
throws this:
Error: nu::parser::expected_keyword × Expected keyword. ╭─[/Users/daniel/Developer/nu_scripts/custom-completions/auto-generate/parse-fish.nu:86:1] 86 │ 87 │ let quote = '"' # " · ─┬─ · ╰── expected def, const, def-env, extern, extern-wrapped, alias, use, module, export or export-env keyword 88 │ ╰────
The text was updated successfully, but these errors were encountered:
Could you try source prase-fish.nu?
source prase-fish.nu
Code containing non-function can only be used source but not use, I think?
source
It may be a good idea to make quote a function like
quote
def quote [] { '"' # " }
Sorry, something went wrong.
source parse-fish.nu does not raise an error on my side. The error is there when using use.
source parse-fish.nu
I just tried quickly to replace let quote = '"' # " by const quote = '"' # " and then it worked
let quote = '"' # "
const quote = '"' # "
No branches or pull requests
this:
throws this:
The text was updated successfully, but these errors were encountered: