From 5be9532cfa630f4aacd8d879c3e4f5cc316da0fa Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 6 Sep 2025 10:25:36 +0300 Subject: feat(lsp): configurable inline/chat triggers; switch inline markers to >text>/>>text>; update docs and example config; tests updated to new triggers and raise LSP coverage to >=85%; chore: remove semicolon legacy; chore(mage): auto-refresh coverage daily if docs/coverage.out is older than 24h --- internal/lsp/postprocess_indent_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'internal/lsp/postprocess_indent_test.go') diff --git a/internal/lsp/postprocess_indent_test.go b/internal/lsp/postprocess_indent_test.go index 4b4ad2a..b546068 100644 --- a/internal/lsp/postprocess_indent_test.go +++ b/internal/lsp/postprocess_indent_test.go @@ -2,13 +2,12 @@ package lsp import "testing" -func TestPostProcessCompletion_IndentWithDoubleSemicolon(t *testing.T) { +func TestPostProcessCompletion_IndentWithDoubleOpen(t *testing.T) { s := newTestServer() - cleaned := s.postProcessCompletion("a\nb", "", " ;;gen;") + cleaned := s.postProcessCompletion("a\nb", "", " >>gen>") // Expect each non-empty line to be indented by two spaces want := " a\n b" if cleaned != want { t.Fatalf("got %q want %q", cleaned, want) } } - -- cgit v1.2.3