diff options
| author | Paul Buetow <paul@buetow.org> | 2025-08-31 23:09:47 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-08-31 23:09:47 +0300 |
| commit | 64a846c2b2abc244106cbf24b0a309a1e57308fe (patch) | |
| tree | 4f335090947a0b7fdfff18857ace74d00cebf62e /internal/lsp | |
| parent | 397e9009ed808b00fdb36014b52626881436a2ed (diff) | |
module: set module path to codeberg.org/snonux/hexai; update imports; docs: add go install instructionsv0.3.4
Diffstat (limited to 'internal/lsp')
| -rw-r--r-- | internal/lsp/codeaction_test.go | 8 | ||||
| -rw-r--r-- | internal/lsp/completion_cache_test.go | 10 | ||||
| -rw-r--r-- | internal/lsp/completion_codex_path_test.go | 8 | ||||
| -rw-r--r-- | internal/lsp/context.go | 2 | ||||
| -rw-r--r-- | internal/lsp/handlers_codeaction.go | 14 | ||||
| -rw-r--r-- | internal/lsp/handlers_completion.go | 4 | ||||
| -rw-r--r-- | internal/lsp/handlers_document.go | 12 | ||||
| -rw-r--r-- | internal/lsp/handlers_init.go | 4 | ||||
| -rw-r--r-- | internal/lsp/handlers_utils.go | 10 | ||||
| -rw-r--r-- | internal/lsp/server.go | 4 | ||||
| -rw-r--r-- | internal/lsp/testfakes_test.go | 4 | ||||
| -rw-r--r-- | internal/lsp/transport.go | 2 |
12 files changed, 41 insertions, 41 deletions
diff --git a/internal/lsp/codeaction_test.go b/internal/lsp/codeaction_test.go index f5abbbf..5a74d66 100644 --- a/internal/lsp/codeaction_test.go +++ b/internal/lsp/codeaction_test.go @@ -1,10 +1,10 @@ package lsp import ( - "context" - "encoding/json" - "hexai/internal/llm" - "testing" + "context" + "encoding/json" + "codeberg.org/snonux/hexai/internal/llm" + "testing" ) type fakeLLM struct { diff --git a/internal/lsp/completion_cache_test.go b/internal/lsp/completion_cache_test.go index 779f89d..9ef0f00 100644 --- a/internal/lsp/completion_cache_test.go +++ b/internal/lsp/completion_cache_test.go @@ -1,12 +1,12 @@ package lsp import ( - "bytes" - "log" - "strings" - "testing" + "bytes" + "log" + "strings" + "testing" - "hexai/internal/logging" + "codeberg.org/snonux/hexai/internal/logging" ) func TestCompletionCache_IgnoresWhitespaceBeforeCursor(t *testing.T) { diff --git a/internal/lsp/completion_codex_path_test.go b/internal/lsp/completion_codex_path_test.go index c8ce912..6030d92 100644 --- a/internal/lsp/completion_codex_path_test.go +++ b/internal/lsp/completion_codex_path_test.go @@ -1,11 +1,11 @@ package lsp import ( - "context" - "errors" - "testing" + "context" + "errors" + "testing" - "hexai/internal/llm" + "codeberg.org/snonux/hexai/internal/llm" ) // fakeCodeLLM implements both llm.Client and llm.CodeCompleter. diff --git a/internal/lsp/context.go b/internal/lsp/context.go index 89f245d..72331a8 100644 --- a/internal/lsp/context.go +++ b/internal/lsp/context.go @@ -2,7 +2,7 @@ package lsp import ( - "hexai/internal/logging" + "codeberg.org/snonux/hexai/internal/logging" "strings" ) diff --git a/internal/lsp/handlers_codeaction.go b/internal/lsp/handlers_codeaction.go index 2599238..4407ac0 100644 --- a/internal/lsp/handlers_codeaction.go +++ b/internal/lsp/handlers_codeaction.go @@ -2,13 +2,13 @@ package lsp import ( - "context" - "encoding/json" - "fmt" - "hexai/internal/llm" - "hexai/internal/logging" - "strings" - "time" + "context" + "encoding/json" + "fmt" + "codeberg.org/snonux/hexai/internal/llm" + "codeberg.org/snonux/hexai/internal/logging" + "strings" + "time" ) func (s *Server) handleCodeAction(req Request) { diff --git a/internal/lsp/handlers_completion.go b/internal/lsp/handlers_completion.go index 56baeab..73c903f 100644 --- a/internal/lsp/handlers_completion.go +++ b/internal/lsp/handlers_completion.go @@ -5,8 +5,8 @@ import ( "context" "encoding/json" "fmt" - "hexai/internal/llm" - "hexai/internal/logging" + "codeberg.org/snonux/hexai/internal/llm" + "codeberg.org/snonux/hexai/internal/logging" "strings" "time" ) diff --git a/internal/lsp/handlers_document.go b/internal/lsp/handlers_document.go index 0dba2f7..53c1588 100644 --- a/internal/lsp/handlers_document.go +++ b/internal/lsp/handlers_document.go @@ -2,12 +2,12 @@ package lsp import ( - "context" - "encoding/json" - "hexai/internal/llm" - "hexai/internal/logging" - "strings" - "time" + "context" + "encoding/json" + "codeberg.org/snonux/hexai/internal/llm" + "codeberg.org/snonux/hexai/internal/logging" + "strings" + "time" ) func (s *Server) handleDidOpen(req Request) { diff --git a/internal/lsp/handlers_init.go b/internal/lsp/handlers_init.go index 1047e78..99ab026 100644 --- a/internal/lsp/handlers_init.go +++ b/internal/lsp/handlers_init.go @@ -2,8 +2,8 @@ package lsp import ( - "hexai/internal" - "hexai/internal/logging" + "codeberg.org/snonux/hexai/internal" + "codeberg.org/snonux/hexai/internal/logging" "os" ) diff --git a/internal/lsp/handlers_utils.go b/internal/lsp/handlers_utils.go index d2cf52d..42b35a5 100644 --- a/internal/lsp/handlers_utils.go +++ b/internal/lsp/handlers_utils.go @@ -2,11 +2,11 @@ package lsp import ( - "fmt" - "hexai/internal/llm" - "hexai/internal/logging" - "strings" - "time" + "fmt" + "codeberg.org/snonux/hexai/internal/llm" + "codeberg.org/snonux/hexai/internal/logging" + "strings" + "time" ) // llmRequestOpts builds request options from server settings. diff --git a/internal/lsp/server.go b/internal/lsp/server.go index 624c2cd..999c3e4 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -4,8 +4,8 @@ package lsp import ( "bufio" "encoding/json" - "hexai/internal/llm" - "hexai/internal/logging" + "codeberg.org/snonux/hexai/internal/llm" + "codeberg.org/snonux/hexai/internal/logging" "io" "log" "sync" diff --git a/internal/lsp/testfakes_test.go b/internal/lsp/testfakes_test.go index 7887692..41fa705 100644 --- a/internal/lsp/testfakes_test.go +++ b/internal/lsp/testfakes_test.go @@ -1,8 +1,8 @@ package lsp import ( - "context" - "hexai/internal/llm" + "context" + "codeberg.org/snonux/hexai/internal/llm" ) // countingLLM counts Chat calls; minimal implementation for tests that need diff --git a/internal/lsp/transport.go b/internal/lsp/transport.go index 4cda4c6..c30fbd1 100644 --- a/internal/lsp/transport.go +++ b/internal/lsp/transport.go @@ -4,7 +4,7 @@ package lsp import ( "encoding/json" "fmt" - "hexai/internal/logging" + "codeberg.org/snonux/hexai/internal/logging" "io" "net/textproto" "strconv" |
