diff --git a/src/widgets.zsh b/src/widgets.zsh
index 3c75cd3..925a5e2 100644
--- a/src/widgets.zsh
+++ b/src/widgets.zsh
@@ -55,7 +55,9 @@ _zsh_autosuggest_execute() {
 	# Remove the suggestion
 	unset POSTDISPLAY
 
-	zle .accept-line
+	# Call the original `accept-line` to handle syntax highlighting or
+	# other potential custom behavior
+	_zsh_autosuggest_invoke_original_widget "accept-line"
 }
 
 # Partially accept the suggestion
diff --git a/zsh-autosuggestions.zsh b/zsh-autosuggestions.zsh
index 6124953..cd8ad5a 100644
--- a/zsh-autosuggestions.zsh
+++ b/zsh-autosuggestions.zsh
@@ -266,7 +266,9 @@ _zsh_autosuggest_execute() {
 	# Remove the suggestion
 	unset POSTDISPLAY
 
-	zle .accept-line
+	# Call the original `accept-line` to handle syntax highlighting or
+	# other potential custom behavior
+	_zsh_autosuggest_invoke_original_widget "accept-line"
 }
 
 # Partially accept the suggestion