Replies: 1 comment 1 reply
-
just curious, why is it recommended to use a function instead of alias? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all! 👋
I'm currently working on implementing an updated diagnostic handler here.
I'm wondering if anyone has any ideas for diagnostic messages to support.
Current Ideas
end
missingfor|while|switch|function|if|begin
is missing anend
token'
or"
is missing from string(
needs end character)
command
/builtin
prefix missingcommand
/builtin
prefix is missing (user will be able to opt into this behavior through env variables)functions/<file>.fish
does not have completions filefunctions/<file>.fish
does not have a function matching the filenamefish_lsp_*
env variable valuefish_lsp_*
variableecho '$some_variable'
echo $argv[0]
- fish indexing starts at 1if command -q some_cmd
orif set -q some_var
is missing--universal
definitions in fish script, use--universal
during interactive use (use '--global' instead)function
instead ofalias
return 0
missing from functionsource file.fish
file does not existfunction __private_func
Beta Was this translation helpful? Give feedback.
All reactions