This commit is contained in:
Fabian Homborg 2021-10-14 17:02:42 +02:00
parent c54b8dca33
commit 7ecb0b78e9

View File

@ -46,7 +46,7 @@ Scripting improvements
- An oversight prevented all syntax checks from running on commands given to ``fish -c`` (:issue:`8171`). This includes checks like e.g. ``exec`` not being allowed in a pipeline and ``$$`` not being a valid variable. Most of these would have triggered an assert or other error before.
- ``fish_indent`` now correctly reformats tokens that end with a backslash followed by a newline (:issue:`8197`).
- ``set`` learned a new option ``--function`` to set a variable in the function's top scope. This should be a more familiar way of scoping variables and avoids issues with ``--local``, which is actually block-scoped (:issue:`565`, :issue:`8145`).
- ``_`` is now a reserved keyword (:isues:`8342`).::
- ``_`` is now a reserved keyword (:issue:`8342`).::
function demonstration
if true