diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-02 14:24:36 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-02 14:24:36 +0200 |
| commit | 4c562f926e13de8d040029e954b7cf407134a8bb (patch) | |
| tree | 8cba31b3a2e1a537b8df9984fff079b4639e5e07 /internal/lsp/handlers_codeaction.go | |
| parent | 43456c479fe497ff1c857aadd66556863c81118c (diff) | |
lsp: use appconfig.CustomAction directly for custom actions (task 411)
Diffstat (limited to 'internal/lsp/handlers_codeaction.go')
| -rw-r--r-- | internal/lsp/handlers_codeaction.go | 3 |
1 files changed, 2 insertions, 1 deletions
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 |
