From 8be05efc3cf65b361645a66d4079c3b45505c2de Mon Sep 17 00:00:00 2001
From: Eric Freese <ericdfreese@gmail.com>
Date: Thu, 7 Sep 2023 09:05:38 -0600
Subject: [PATCH] Stop requiring function_argzero

This commit is based on [zsh-syntax-highlighting's similar commit][1].

Also, motivated from PR #640.

[1]: https://github.com/zsh-users/zsh-syntax-highlighting/commit/750aebc553f2f4149055ef4cb9d7641f5df6d3ea
---
 zsh-autosuggestions.plugin.zsh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/zsh-autosuggestions.plugin.zsh b/zsh-autosuggestions.plugin.zsh
index 16c2256..8b312c2 100644
--- a/zsh-autosuggestions.plugin.zsh
+++ b/zsh-autosuggestions.plugin.zsh
@@ -1 +1,2 @@
+0=${(%):-%N}
 source ${0:A:h}/zsh-autosuggestions.zsh