__fish_tokenizer_state: replace "str" with "state" (#8550)

Bug introduced 4c1173f
This commit is contained in:
Emily Grace Seville 2021-12-13 20:42:16 +10:00 committed by GitHub
parent 7a80ad74f4
commit e25b719b26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ function __fish_tokenizer_state --description "Print the state of the tokenizer
set -l state normal
if set -q _flag_initial_state
set str $_flag_initial_state
set state $_flag_initial_state
end
for char in (string split -- "" $argv[1])