From 4c562f926e13de8d040029e954b7cf407134a8bb Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 2 Mar 2026 14:24:36 +0200 Subject: lsp: use appconfig.CustomAction directly for custom actions (task 411) --- internal/lsp/handlers_codeaction.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/lsp/handlers_codeaction.go') diff --git a/internal/lsp/handlers_codeaction.go b/internal/lsp/handlers_codeaction.go index 7798f24..58d7134 100644 --- a/internal/lsp/handlers_codeaction.go +++ b/internal/lsp/handlers_codeaction.go @@ -9,6 +9,7 @@ import ( "strings" "time" + "codeberg.org/snonux/hexai/internal/appconfig" "codeberg.org/snonux/hexai/internal/llm" "codeberg.org/snonux/hexai/internal/logging" ) @@ -380,7 +381,7 @@ func formatCustomDiagnostics(diagnostics []Diagnostic) string { return b.String() } -func (s *Server) customActionByID(id string) *CustomAction { +func (s *Server) customActionByID(id string) *appconfig.CustomAction { for _, item := range s.customActions() { if item.ID == id { action := item -- cgit v1.2.3