From c971c7f8a88d11f2b692a1bcd4d17b9b0c1a11d2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 16 Aug 2025 23:41:12 +0300 Subject: fix(lsp): avoid duplicate assignment prefix in completions - Prompt: instruct model to only continue from cursor; do not repeat LHS already typed.\n- Add stripDuplicateAssignmentPrefix to drop duplicated 'name :=' or 'name =' when model repeats it.\n- Tests: cover := and = cases.\n- .gitignore: ignore built binary and go caches. --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index f73b447..0788e7f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ -./hexai +/hexai +/.gocache/ +/.gomodcache/ -- cgit v1.2.3