turbo-editors/turbo-corepublic Fork 0
f3ade8d
Commits
Clone
git clone https://git.rickub.com/turbo-editors/turbo-core.git
git clone ssh://git@rickub.com/turbo-editors/turbo-core.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

📦 Turbo Core

k33g committed 2026-09-19T11:49:34+02:00 Browse files
f3ade8d parent: d662ceb
modified .memory/summary.md +3 -3
@@ -8,7 +8,7 @@ The library every Turbo editor is built on: a Turbo C-style terminal IDE with a
88
99 An editor built on it is a command, a `profile.Profile`, and a scanner.
1010
11-Module path `codeberg.org/turbo-editors/turbo-core`. Go 1.26.5. Remote: `ssh://git@codeberg.org/turbo-editors/turbo-core.git`.
11+Module path `rickub.com/turbo-editors/turbo-core`. Go 1.26.5. Remote: `ssh://git@rickub.com/turbo-editors/turbo-core.git`.
1212
1313 Extracted from turbo-go on 2026-09-01, at the point a second editor was wanted. Nearly all of it moved unchanged.
1414
@@ -145,9 +145,9 @@ python3 ~/.claude/skills/quality/scripts/quality_report.py --workspace .
145145 ## State as of 2026-09-01
146146
147147 - **Tool parameters implemented.** A `{{label}}` in a tools command opens a box before the command runs. `tools/placeholder.go` parses and fills; `app`'s `ParametersDialog` asks. Verified in a real pty against both editors.
148-- **v0.1.0 is released.** The tag is on `main` at `f1f0375`, the release page is at `https://codeberg.org/turbo-editors/turbo-core/releases/tag/v0.1.0`, and `go get codeberg.org/turbo-editors/turbo-core@v0.1.0` works from the module proxy. Both editors `require` it with **no active `replace`**, verified by running their suites against the real published module.
148+- **v0.1.0 is released.** The tag is on `main` at `f1f0375`, the release page is at `https://rickub.com/turbo-editors/turbo-core/releases/tag/v0.1.0`, and `go get rickub.com/turbo-editors/turbo-core@v0.1.0` works from the module proxy. Both editors `require` it with **no active `replace`**, verified by running their suites against the real published module.
149149 - **HEAD is one commit past the tag.** `bc4a464` holds `02-release.publish.sh`, its eight tests, and the release how-to's rewrite — so **none of that is in v0.1.0**. It changes no API, so nothing depending on the library is affected; the only visible consequence is that the v0.1.0 release page's documentation links, which are pinned to the tag, show the how-to as it was before the publish script existed. Fold it into the next tag rather than moving v0.1.0.
150-- **Two release scripts.** `01-release.tag.sh` runs `make check`, refuses a tag taken locally or on origin, refuses a `go.mod` with a `replace`, and tags only after pushing. `02-release.publish.sh` creates the Codeberg release page for a tag that is already there, building its JSON with jq, telling the HTTP statuses apart, and taking `--dry-run`. There is deliberately no 03 or 04: those build and attach binaries, and a library has none. `release.env` and `turbo-core.token.env` are gitignored by `*.env`.
150+- **Two release scripts.** `01-release.tag.sh` runs `make check`, refuses a tag taken locally or on origin, refuses a `go.mod` with a `replace`, and tags only after pushing. `02-release.publish.sh` creates the Rickub release page for a tag that is already there, building its JSON with jq, telling the HTTP statuses apart, and taking `--dry-run`. There is deliberately no 03 or 04: those build and attach binaries, and a library has none. `release.env` and `turbo-core.token.env` are gitignored by `*.env`.
151151 - **Extracted and green.** Sixteen packages, whole suite passing, and passing under `-race`.
152152 - **Eight languages are coloured.** YAML, XML and Dockerfiles were added on 2026-09-01, and `Definition` grew a `Filenames` field so a file with no extension and no shebang — a `Dockerfile` — can be recognised. `LanguageOf` now looks at the extension, then the name, then the first line.
153153 - **Quality gate: PASS.** 0 errors, 0 warnings, 0 smells, total complexity 2306 (run 29, 2026-09-17).
@@ -8,7 +8,7 @@ The library every Turbo editor is built on: a Turbo C-style terminal IDE with a
8 8
9 An editor built on it is a command, a `profile.Profile`, and a scanner.9 An editor built on it is a command, a `profile.Profile`, and a scanner.
10 10
11-Module path `codeberg.org/turbo-editors/turbo-core`. Go 1.26.5. Remote: `ssh://git@codeberg.org/turbo-editors/turbo-core.git`.11+Module path `rickub.com/turbo-editors/turbo-core`. Go 1.26.5. Remote: `ssh://git@rickub.com/turbo-editors/turbo-core.git`.
12 12
13 Extracted from turbo-go on 2026-09-01, at the point a second editor was wanted. Nearly all of it moved unchanged.13 Extracted from turbo-go on 2026-09-01, at the point a second editor was wanted. Nearly all of it moved unchanged.
14 14
@@ -145,9 +145,9 @@ python3 ~/.claude/skills/quality/scripts/quality_report.py --workspace .
145 ## State as of 2026-09-01145 ## State as of 2026-09-01
146 146
147 - **Tool parameters implemented.** A `{{label}}` in a tools command opens a box before the command runs. `tools/placeholder.go` parses and fills; `app`'s `ParametersDialog` asks. Verified in a real pty against both editors.147 - **Tool parameters implemented.** A `{{label}}` in a tools command opens a box before the command runs. `tools/placeholder.go` parses and fills; `app`'s `ParametersDialog` asks. Verified in a real pty against both editors.
148-- **v0.1.0 is released.** The tag is on `main` at `f1f0375`, the release page is at `https://codeberg.org/turbo-editors/turbo-core/releases/tag/v0.1.0`, and `go get codeberg.org/turbo-editors/turbo-core@v0.1.0` works from the module proxy. Both editors `require` it with **no active `replace`**, verified by running their suites against the real published module.148+- **v0.1.0 is released.** The tag is on `main` at `f1f0375`, the release page is at `https://rickub.com/turbo-editors/turbo-core/releases/tag/v0.1.0`, and `go get rickub.com/turbo-editors/turbo-core@v0.1.0` works from the module proxy. Both editors `require` it with **no active `replace`**, verified by running their suites against the real published module.
149 - **HEAD is one commit past the tag.** `bc4a464` holds `02-release.publish.sh`, its eight tests, and the release how-to's rewrite — so **none of that is in v0.1.0**. It changes no API, so nothing depending on the library is affected; the only visible consequence is that the v0.1.0 release page's documentation links, which are pinned to the tag, show the how-to as it was before the publish script existed. Fold it into the next tag rather than moving v0.1.0.149 - **HEAD is one commit past the tag.** `bc4a464` holds `02-release.publish.sh`, its eight tests, and the release how-to's rewrite — so **none of that is in v0.1.0**. It changes no API, so nothing depending on the library is affected; the only visible consequence is that the v0.1.0 release page's documentation links, which are pinned to the tag, show the how-to as it was before the publish script existed. Fold it into the next tag rather than moving v0.1.0.
150-- **Two release scripts.** `01-release.tag.sh` runs `make check`, refuses a tag taken locally or on origin, refuses a `go.mod` with a `replace`, and tags only after pushing. `02-release.publish.sh` creates the Codeberg release page for a tag that is already there, building its JSON with jq, telling the HTTP statuses apart, and taking `--dry-run`. There is deliberately no 03 or 04: those build and attach binaries, and a library has none. `release.env` and `turbo-core.token.env` are gitignored by `*.env`.150+- **Two release scripts.** `01-release.tag.sh` runs `make check`, refuses a tag taken locally or on origin, refuses a `go.mod` with a `replace`, and tags only after pushing. `02-release.publish.sh` creates the Rickub release page for a tag that is already there, building its JSON with jq, telling the HTTP statuses apart, and taking `--dry-run`. There is deliberately no 03 or 04: those build and attach binaries, and a library has none. `release.env` and `turbo-core.token.env` are gitignored by `*.env`.
151 - **Extracted and green.** Sixteen packages, whole suite passing, and passing under `-race`.151 - **Extracted and green.** Sixteen packages, whole suite passing, and passing under `-race`.
152 - **Eight languages are coloured.** YAML, XML and Dockerfiles were added on 2026-09-01, and `Definition` grew a `Filenames` field so a file with no extension and no shebang — a `Dockerfile` — can be recognised. `LanguageOf` now looks at the extension, then the name, then the first line.152 - **Eight languages are coloured.** YAML, XML and Dockerfiles were added on 2026-09-01, and `Definition` grew a `Filenames` field so a file with no extension and no shebang — a `Dockerfile` — can be recognised. `LanguageOf` now looks at the extension, then the name, then the first line.
153 - **Quality gate: PASS.** 0 errors, 0 warnings, 0 smells, total complexity 2306 (run 29, 2026-09-17).153 - **Quality gate: PASS.** 0 errors, 0 warnings, 0 smells, total complexity 2306 (run 29, 2026-09-17).
modified 01-release.tag.sh +2 -2
@@ -106,6 +106,6 @@ echo "✅ turbo-core ${TAG} published"
106106 echo "💡 The tag push started the Release workflow; it stages the archive and"
107107 echo " creates the release page. Watch it on the repository's Actions tab."
108108 echo "💡 Now point each editor at it, one at a time:"
109-echo " go mod edit -require=codeberg.org/turbo-editors/turbo-core@${TAG}"
110-echo " go mod edit -dropreplace=codeberg.org/turbo-editors/turbo-core"
109+echo " go mod edit -require=rickub.com/turbo-editors/turbo-core@${TAG}"
110+echo " go mod edit -dropreplace=rickub.com/turbo-editors/turbo-core"
111111 echo " go mod tidy && make test"
@@ -106,6 +106,6 @@ echo "✅ turbo-core ${TAG} published"
106 echo "💡 The tag push started the Release workflow; it stages the archive and"106 echo "💡 The tag push started the Release workflow; it stages the archive and"
107 echo " creates the release page. Watch it on the repository's Actions tab."107 echo " creates the release page. Watch it on the repository's Actions tab."
108 echo "💡 Now point each editor at it, one at a time:"108 echo "💡 Now point each editor at it, one at a time:"
109-echo " go mod edit -require=codeberg.org/turbo-editors/turbo-core@${TAG}"109+echo " go mod edit -require=rickub.com/turbo-editors/turbo-core@${TAG}"
110-echo " go mod edit -dropreplace=codeberg.org/turbo-editors/turbo-core"110+echo " go mod edit -dropreplace=rickub.com/turbo-editors/turbo-core"
111 echo " go mod tidy && make test"111 echo " go mod tidy && make test"
modified README.md +7 -7
@@ -6,12 +6,12 @@ turbo-core is a Turbo C-style terminal IDE with a hole where the language goes:
66
77 An editor built on it is a command, a `profile.Profile`, and a scanner:
88
9-- **[Turbo Go](https://rickub.com/turbo-editors/turbo-go)** — `codeberg.org/turbo-editors/turbo-go`
10-- **[Turbo Rust](https://codeberg.org/turbo-editors/turbo-rust)** — `codeberg.org/turbo-editors/turbo-rust`
11-- **[Turbo Python](https://codeberg.org/turbo-editors/turbo-python)** — `codeberg.org/turbo-editors/turbo-python`
12-- **[Turbo MoonBit](https://codeberg.org/turbo-editors/turbo-moonbit)** — `codeberg.org/turbo-editors/turbo-moonbit`
13-- **[Turbo Golo](https://codeberg.org/turbo-editors/turbo-golo)** — `codeberg.org/turbo-editors/turbo-golo`
14-- **[Turbo JS](https://codeberg.org/turbo-editors/turbo-js)** — `codeberg.org/turbo-editors/turbo-js`
9+- **[Turbo Go](https://rickub.com/turbo-editors/turbo-go)** — `rickub.com/turbo-editors/turbo-go`
10+- **[Turbo Rust](https://rickub.com/turbo-editors/turbo-rust)** — `rickub.com/turbo-editors/turbo-rust`
11+- **[Turbo Python](https://rickub.com/turbo-editors/turbo-python)** — `rickub.com/turbo-editors/turbo-python`
12+- **[Turbo MoonBit](https://rickub.com/turbo-editors/turbo-moonbit)** — `rickub.com/turbo-editors/turbo-moonbit`
13+- **[Turbo Golo](https://rickub.com/turbo-editors/turbo-golo)** — `rickub.com/turbo-editors/turbo-golo`
14+- **[Turbo JS](https://rickub.com/turbo-editors/turbo-js)** — `rickub.com/turbo-editors/turbo-js`
1515
1616 ## The whole of the difference
1717
@@ -38,7 +38,7 @@ That, plus `syntax.Register` for the colouring, is everything Turbo Rust is that
3838 [Build an editor](docs/en/tutorials/build-an-editor.md) walks through a working IDE for a language of your own, in about eighty lines. It has been run start to finish.
3939
4040 ```bash
41-go get codeberg.org/turbo-editors/turbo-core
41+go get rickub.com/turbo-editors/turbo-core
4242 ```
4343
4444 Go 1.26.5 or later.
@@ -6,12 +6,12 @@ turbo-core is a Turbo C-style terminal IDE with a hole where the language goes:
6 6
7 An editor built on it is a command, a `profile.Profile`, and a scanner:7 An editor built on it is a command, a `profile.Profile`, and a scanner:
8 8
9-- **[Turbo Go](https://rickub.com/turbo-editors/turbo-go)** — `codeberg.org/turbo-editors/turbo-go`9+- **[Turbo Go](https://rickub.com/turbo-editors/turbo-go)** — `rickub.com/turbo-editors/turbo-go`
10-- **[Turbo Rust](https://codeberg.org/turbo-editors/turbo-rust)** — `codeberg.org/turbo-editors/turbo-rust`10+- **[Turbo Rust](https://rickub.com/turbo-editors/turbo-rust)** — `rickub.com/turbo-editors/turbo-rust`
11-- **[Turbo Python](https://codeberg.org/turbo-editors/turbo-python)** — `codeberg.org/turbo-editors/turbo-python`11+- **[Turbo Python](https://rickub.com/turbo-editors/turbo-python)** — `rickub.com/turbo-editors/turbo-python`
12-- **[Turbo MoonBit](https://codeberg.org/turbo-editors/turbo-moonbit)** — `codeberg.org/turbo-editors/turbo-moonbit`12+- **[Turbo MoonBit](https://rickub.com/turbo-editors/turbo-moonbit)** — `rickub.com/turbo-editors/turbo-moonbit`
13-- **[Turbo Golo](https://codeberg.org/turbo-editors/turbo-golo)** — `codeberg.org/turbo-editors/turbo-golo`13+- **[Turbo Golo](https://rickub.com/turbo-editors/turbo-golo)** — `rickub.com/turbo-editors/turbo-golo`
14-- **[Turbo JS](https://codeberg.org/turbo-editors/turbo-js)** — `codeberg.org/turbo-editors/turbo-js`14+- **[Turbo JS](https://rickub.com/turbo-editors/turbo-js)** — `rickub.com/turbo-editors/turbo-js`
15 15
16 ## The whole of the difference16 ## The whole of the difference
17 17
@@ -38,7 +38,7 @@ That, plus `syntax.Register` for the colouring, is everything Turbo Rust is that
38 [Build an editor](docs/en/tutorials/build-an-editor.md) walks through a working IDE for a language of your own, in about eighty lines. It has been run start to finish.38 [Build an editor](docs/en/tutorials/build-an-editor.md) walks through a working IDE for a language of your own, in about eighty lines. It has been run start to finish.
39 39
40 ```bash40 ```bash
41-go get codeberg.org/turbo-editors/turbo-core41+go get rickub.com/turbo-editors/turbo-core
42 ```42 ```
43 43
44 Go 1.26.5 or later.44 Go 1.26.5 or later.
modified acp/blocks.go +1 -1
@@ -6,7 +6,7 @@ package acp
66 import (
77 "strings"
88
9- "codeberg.org/turbo-editors/turbo-core/syntax"
9+ "rickub.com/turbo-editors/turbo-core/syntax"
1010 )
1111
1212 // Block is a run of an entry's text that is either prose or code.
@@ -6,7 +6,7 @@ package acp
6 import (6 import (
7 "strings"7 "strings"
8 8
9- "codeberg.org/turbo-editors/turbo-core/syntax"9+ "rickub.com/turbo-editors/turbo-core/syntax"
10 )10 )
11 11
12 // Block is a run of an entry's text that is either prose or code.12 // Block is a run of an entry's text that is either prose or code.
modified acp/config.go +1 -1
@@ -21,7 +21,7 @@ import (
2121
2222 "github.com/BurntSushi/toml"
2323
24- "codeberg.org/turbo-editors/turbo-core/profile"
24+ "rickub.com/turbo-editors/turbo-core/profile"
2525 )
2626
2727 // FileName is the file the agents are listed in. It sits in the editor's own
@@ -21,7 +21,7 @@ import (
21 21
22 "github.com/BurntSushi/toml"22 "github.com/BurntSushi/toml"
23 23
24- "codeberg.org/turbo-editors/turbo-core/profile"24+ "rickub.com/turbo-editors/turbo-core/profile"
25 )25 )
26 26
27 // FileName is the file the agents are listed in. It sits in the editor's own27 // FileName is the file the agents are listed in. It sits in the editor's own
modified acp/config_test.go +2 -2
@@ -7,8 +7,8 @@ import (
77 "strings"
88 "testing"
99
10- "codeberg.org/turbo-editors/turbo-core/acp"
11- "codeberg.org/turbo-editors/turbo-core/profile"
10+ "rickub.com/turbo-editors/turbo-core/acp"
11+ "rickub.com/turbo-editors/turbo-core/profile"
1212 )
1313
1414 // testProfile is an editor whose user directory is a temporary one, so a test
@@ -7,8 +7,8 @@ import (
7 "strings"7 "strings"
8 "testing"8 "testing"
9 9
10- "codeberg.org/turbo-editors/turbo-core/acp"10+ "rickub.com/turbo-editors/turbo-core/acp"
11- "codeberg.org/turbo-editors/turbo-core/profile"11+ "rickub.com/turbo-editors/turbo-core/profile"
12 )12 )
13 13
14 // testProfile is an editor whose user directory is a temporary one, so a test14 // testProfile is an editor whose user directory is a temporary one, so a test
modified acp/create.go +2 -2
@@ -3,8 +3,8 @@ package acp
33 import (
44 "fmt"
55
6- "codeberg.org/turbo-editors/turbo-core/profile"
7- "codeberg.org/turbo-editors/turbo-core/projectfile"
6+ "rickub.com/turbo-editors/turbo-core/profile"
7+ "rickub.com/turbo-editors/turbo-core/projectfile"
88 )
99
1010 // template returns the starter file: the profile's Templates.Agents with the
@@ -3,8 +3,8 @@ package acp
3 import (3 import (
4 "fmt"4 "fmt"
5 5
6- "codeberg.org/turbo-editors/turbo-core/profile"6+ "rickub.com/turbo-editors/turbo-core/profile"
7- "codeberg.org/turbo-editors/turbo-core/projectfile"7+ "rickub.com/turbo-editors/turbo-core/projectfile"
8 )8 )
9 9
10 // template returns the starter file: the profile's Templates.Agents with the10 // template returns the starter file: the profile's Templates.Agents with the
modified acp/fakeagent_test.go +1 -1
@@ -9,7 +9,7 @@ import (
99 "testing"
1010 "time"
1111
12- "codeberg.org/turbo-editors/turbo-core/acp"
12+ "rickub.com/turbo-editors/turbo-core/acp"
1313 )
1414
1515 // fakeAgent is an agent living in this process, at the far end of an in-memory
@@ -9,7 +9,7 @@ import (
9 "testing"9 "testing"
10 "time"10 "time"
11 11
12- "codeberg.org/turbo-editors/turbo-core/acp"12+ "rickub.com/turbo-editors/turbo-core/acp"
13 )13 )
14 14
15 // fakeAgent is an agent living in this process, at the far end of an in-memory15 // fakeAgent is an agent living in this process, at the far end of an in-memory
modified acp/permission_test.go +1 -1
@@ -6,7 +6,7 @@ import (
66 "strings"
77 "testing"
88
9- "codeberg.org/turbo-editors/turbo-core/acp"
9+ "rickub.com/turbo-editors/turbo-core/acp"
1010 )
1111
1212 func TestAPermissionIsHandedOverAndAnsweredLater(t *testing.T) {
@@ -6,7 +6,7 @@ import (
6 "strings"6 "strings"
7 "testing"7 "testing"
8 8
9- "codeberg.org/turbo-editors/turbo-core/acp"9+ "rickub.com/turbo-editors/turbo-core/acp"
10 )10 )
11 11
12 func TestAPermissionIsHandedOverAndAnsweredLater(t *testing.T) {12 func TestAPermissionIsHandedOverAndAnsweredLater(t *testing.T) {
modified acp/picker.go +1 -1
@@ -5,7 +5,7 @@ import (
55
66 "github.com/gdamore/tcell/v2"
77
8- "codeberg.org/turbo-editors/turbo-core/ui"
8+ "rickub.com/turbo-editors/turbo-core/ui"
99 )
1010
1111 // The two characters that open the picker: "/" at the very start of the box
@@ -5,7 +5,7 @@ import (
5 5
6 "github.com/gdamore/tcell/v2"6 "github.com/gdamore/tcell/v2"
7 7
8- "codeberg.org/turbo-editors/turbo-core/ui"8+ "rickub.com/turbo-editors/turbo-core/ui"
9 )9 )
10 10
11 // The two characters that open the picker: "/" at the very start of the box11 // The two characters that open the picker: "/" at the very start of the box
modified acp/picker_draw.go +2 -2
@@ -7,8 +7,8 @@ package acp
77 import (
88 "strings"
99
10- "codeberg.org/turbo-editors/turbo-core/theme"
11- "codeberg.org/turbo-editors/turbo-core/ui"
10+ "rickub.com/turbo-editors/turbo-core/theme"
11+ "rickub.com/turbo-editors/turbo-core/ui"
1212 )
1313
1414 // drawPicker paints the popup just above the rule, over the bottom of the
@@ -7,8 +7,8 @@ package acp
7 import (7 import (
8 "strings"8 "strings"
9 9
10- "codeberg.org/turbo-editors/turbo-core/theme"10+ "rickub.com/turbo-editors/turbo-core/theme"
11- "codeberg.org/turbo-editors/turbo-core/ui"11+ "rickub.com/turbo-editors/turbo-core/ui"
12 )12 )
13 13
14 // drawPicker paints the popup just above the rule, over the bottom of the14 // drawPicker paints the popup just above the rule, over the bottom of the
modified acp/picker_test.go +1 -1
@@ -6,7 +6,7 @@ import (
66
77 "github.com/gdamore/tcell/v2"
88
9- "codeberg.org/turbo-editors/turbo-core/acp"
9+ "rickub.com/turbo-editors/turbo-core/acp"
1010 )
1111
1212 // typeText types each rune into the view.
@@ -6,7 +6,7 @@ import (
6 6
7 "github.com/gdamore/tcell/v2"7 "github.com/gdamore/tcell/v2"
8 8
9- "codeberg.org/turbo-editors/turbo-core/acp"9+ "rickub.com/turbo-editors/turbo-core/acp"
10 )10 )
11 11
12 // typeText types each rune into the view.12 // typeText types each rune into the view.
modified acp/render.go +2 -2
@@ -1,8 +1,8 @@
11 package acp
22
33 import (
4- "codeberg.org/turbo-editors/turbo-core/syntax"
5- "codeberg.org/turbo-editors/turbo-core/theme"
4+ "rickub.com/turbo-editors/turbo-core/syntax"
5+ "rickub.com/turbo-editors/turbo-core/theme"
66 )
77
88 // Line is one drawn line of a conversation: its text, and how to colour it.
@@ -1,8 +1,8 @@
1 package acp1 package acp
2 2
3 import (3 import (
4- "codeberg.org/turbo-editors/turbo-core/syntax"4+ "rickub.com/turbo-editors/turbo-core/syntax"
5- "codeberg.org/turbo-editors/turbo-core/theme"5+ "rickub.com/turbo-editors/turbo-core/theme"
6 )6 )
7 7
8 // Line is one drawn line of a conversation: its text, and how to colour it.8 // Line is one drawn line of a conversation: its text, and how to colour it.
modified acp/render_test.go +3 -3
@@ -6,9 +6,9 @@ import (
66 "strings"
77 "testing"
88
9- "codeberg.org/turbo-editors/turbo-core/acp"
10- "codeberg.org/turbo-editors/turbo-core/syntax"
11- "codeberg.org/turbo-editors/turbo-core/theme"
9+ "rickub.com/turbo-editors/turbo-core/acp"
10+ "rickub.com/turbo-editors/turbo-core/syntax"
11+ "rickub.com/turbo-editors/turbo-core/theme"
1212 )
1313
1414 // TestMain registers a stand-in Go, because an editor is what teaches this
@@ -6,9 +6,9 @@ import (
6 "strings"6 "strings"
7 "testing"7 "testing"
8 8
9- "codeberg.org/turbo-editors/turbo-core/acp"9+ "rickub.com/turbo-editors/turbo-core/acp"
10- "codeberg.org/turbo-editors/turbo-core/syntax"10+ "rickub.com/turbo-editors/turbo-core/syntax"
11- "codeberg.org/turbo-editors/turbo-core/theme"11+ "rickub.com/turbo-editors/turbo-core/theme"
12 )12 )
13 13
14 // TestMain registers a stand-in Go, because an editor is what teaches this14 // TestMain registers a stand-in Go, because an editor is what teaches this
modified acp/session.go +1 -1
@@ -10,7 +10,7 @@ import (
1010 "sync"
1111 "time"
1212
13- "codeberg.org/turbo-editors/turbo-core/jsonrpc"
13+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
1414 )
1515
1616 // HandshakeTimeout caps how long the editor waits for an agent to say hello.
@@ -10,7 +10,7 @@ import (
10 "sync"10 "sync"
11 "time"11 "time"
12 12
13- "codeberg.org/turbo-editors/turbo-core/jsonrpc"13+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
14 )14 )
15 15
16 // HandshakeTimeout caps how long the editor waits for an agent to say hello.16 // HandshakeTimeout caps how long the editor waits for an agent to say hello.
modified acp/session_files.go +1 -1
@@ -10,7 +10,7 @@ import (
1010 "errors"
1111 "os"
1212
13- "codeberg.org/turbo-editors/turbo-core/jsonrpc"
13+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
1414 )
1515
1616 // readFile returns a file's text as the editor sees it — the same view the
@@ -10,7 +10,7 @@ import (
10 "errors"10 "errors"
11 "os"11 "os"
12 12
13- "codeberg.org/turbo-editors/turbo-core/jsonrpc"13+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
14 )14 )
15 15
16 // readFile returns a file's text as the editor sees it — the same view the16 // readFile returns a file's text as the editor sees it — the same view the
modified acp/session_test.go +1 -1
@@ -5,7 +5,7 @@ import (
55 "strings"
66 "testing"
77
8- "codeberg.org/turbo-editors/turbo-core/acp"
8+ "rickub.com/turbo-editors/turbo-core/acp"
99 )
1010
1111 // start returns a session talking to a fake agent over an in-memory pipe.
@@ -5,7 +5,7 @@ import (
5 "strings"5 "strings"
6 "testing"6 "testing"
7 7
8- "codeberg.org/turbo-editors/turbo-core/acp"8+ "rickub.com/turbo-editors/turbo-core/acp"
9 )9 )
10 10
11 // start returns a session talking to a fake agent over an in-memory pipe.11 // start returns a session talking to a fake agent over an in-memory pipe.
modified acp/trace_test.go +1 -1
@@ -6,7 +6,7 @@ import (
66 "strings"
77 "testing"
88
9- "codeberg.org/turbo-editors/turbo-core/acp"
9+ "rickub.com/turbo-editors/turbo-core/acp"
1010 )
1111
1212 func TestAnUpdateThatCannotBeDecodedIsCountedAndNamed(t *testing.T) {
@@ -6,7 +6,7 @@ import (
6 "strings"6 "strings"
7 "testing"7 "testing"
8 8
9- "codeberg.org/turbo-editors/turbo-core/acp"9+ "rickub.com/turbo-editors/turbo-core/acp"
10 )10 )
11 11
12 func TestAnUpdateThatCannotBeDecodedIsCountedAndNamed(t *testing.T) {12 func TestAnUpdateThatCannotBeDecodedIsCountedAndNamed(t *testing.T) {
modified acp/view.go +2 -2
@@ -4,8 +4,8 @@ import (
44 "strings"
55 "time"
66
7- "codeberg.org/turbo-editors/turbo-core/syntax"
8- "codeberg.org/turbo-editors/turbo-core/ui"
7+ "rickub.com/turbo-editors/turbo-core/syntax"
8+ "rickub.com/turbo-editors/turbo-core/ui"
99 )
1010
1111 // InputHeight is how many rows the box you type into takes, not counting the
@@ -4,8 +4,8 @@ import (
4 "strings"4 "strings"
5 "time"5 "time"
6 6
7- "codeberg.org/turbo-editors/turbo-core/syntax"7+ "rickub.com/turbo-editors/turbo-core/syntax"
8- "codeberg.org/turbo-editors/turbo-core/ui"8+ "rickub.com/turbo-editors/turbo-core/ui"
9 )9 )
10 10
11 // InputHeight is how many rows the box you type into takes, not counting the11 // InputHeight is how many rows the box you type into takes, not counting the
modified acp/view_draw.go +2 -2
@@ -3,8 +3,8 @@ package acp
33 import (
44 "github.com/gdamore/tcell/v2"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
7- "codeberg.org/turbo-editors/turbo-core/ui"
6+ "rickub.com/turbo-editors/turbo-core/theme"
7+ "rickub.com/turbo-editors/turbo-core/ui"
88 )
99
1010 // Draw paints the conversation, the rule, and the box you type in.
@@ -3,8 +3,8 @@ package acp
3 import (3 import (
4 "github.com/gdamore/tcell/v2"4 "github.com/gdamore/tcell/v2"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7- "codeberg.org/turbo-editors/turbo-core/ui"7+ "rickub.com/turbo-editors/turbo-core/ui"
8 )8 )
9 9
10 // Draw paints the conversation, the rule, and the box you type in.10 // Draw paints the conversation, the rule, and the box you type in.
modified acp/view_test.go +3 -3
@@ -7,9 +7,9 @@ import (
77
88 "github.com/gdamore/tcell/v2"
99
10- "codeberg.org/turbo-editors/turbo-core/acp"
11- "codeberg.org/turbo-editors/turbo-core/theme"
12- "codeberg.org/turbo-editors/turbo-core/ui"
10+ "rickub.com/turbo-editors/turbo-core/acp"
11+ "rickub.com/turbo-editors/turbo-core/theme"
12+ "rickub.com/turbo-editors/turbo-core/ui"
1313 )
1414
1515 // newView returns a view over a session whose agent never answers, sized to a
@@ -7,9 +7,9 @@ import (
7 7
8 "github.com/gdamore/tcell/v2"8 "github.com/gdamore/tcell/v2"
9 9
10- "codeberg.org/turbo-editors/turbo-core/acp"10+ "rickub.com/turbo-editors/turbo-core/acp"
11- "codeberg.org/turbo-editors/turbo-core/theme"11+ "rickub.com/turbo-editors/turbo-core/theme"
12- "codeberg.org/turbo-editors/turbo-core/ui"12+ "rickub.com/turbo-editors/turbo-core/ui"
13 )13 )
14 14
15 // newView returns a view over a session whose agent never answers, sized to a15 // newView returns a view over a session whose agent never answers, sized to a
modified app/actions_edit.go +4 -4
@@ -8,10 +8,10 @@ import (
88 "strconv"
99 "strings"
1010
11- "codeberg.org/turbo-editors/turbo-core/buffer"
12- "codeberg.org/turbo-editors/turbo-core/editor"
13- "codeberg.org/turbo-editors/turbo-core/lsp"
14- "codeberg.org/turbo-editors/turbo-core/ui"
11+ "rickub.com/turbo-editors/turbo-core/buffer"
12+ "rickub.com/turbo-editors/turbo-core/editor"
13+ "rickub.com/turbo-editors/turbo-core/lsp"
14+ "rickub.com/turbo-editors/turbo-core/ui"
1515 )
1616
1717 // Undo, Redo, Cut, Copy, Paste and SelectAll forward to the front window.
@@ -8,10 +8,10 @@ import (
8 "strconv"8 "strconv"
9 "strings"9 "strings"
10 10
11- "codeberg.org/turbo-editors/turbo-core/buffer"11+ "rickub.com/turbo-editors/turbo-core/buffer"
12- "codeberg.org/turbo-editors/turbo-core/editor"12+ "rickub.com/turbo-editors/turbo-core/editor"
13- "codeberg.org/turbo-editors/turbo-core/lsp"13+ "rickub.com/turbo-editors/turbo-core/lsp"
14- "codeberg.org/turbo-editors/turbo-core/ui"14+ "rickub.com/turbo-editors/turbo-core/ui"
15 )15 )
16 16
17 // Undo, Redo, Cut, Copy, Paste and SelectAll forward to the front window.17 // Undo, Redo, Cut, Copy, Paste and SelectAll forward to the front window.
modified app/actions_file.go +3 -3
@@ -6,9 +6,9 @@ import (
66 "fmt"
77 "path/filepath"
88
9- "codeberg.org/turbo-editors/turbo-core/buffer"
10- "codeberg.org/turbo-editors/turbo-core/editor"
11- "codeberg.org/turbo-editors/turbo-core/ui"
9+ "rickub.com/turbo-editors/turbo-core/buffer"
10+ "rickub.com/turbo-editors/turbo-core/editor"
11+ "rickub.com/turbo-editors/turbo-core/ui"
1212 )
1313
1414 // untitledName is what a window with no file yet is called.
@@ -6,9 +6,9 @@ import (
6 "fmt"6 "fmt"
7 "path/filepath"7 "path/filepath"
8 8
9- "codeberg.org/turbo-editors/turbo-core/buffer"9+ "rickub.com/turbo-editors/turbo-core/buffer"
10- "codeberg.org/turbo-editors/turbo-core/editor"10+ "rickub.com/turbo-editors/turbo-core/editor"
11- "codeberg.org/turbo-editors/turbo-core/ui"11+ "rickub.com/turbo-editors/turbo-core/ui"
12 )12 )
13 13
14 // untitledName is what a window with no file yet is called.14 // untitledName is what a window with no file yet is called.
modified app/actions_view.go +4 -4
@@ -7,10 +7,10 @@ import (
77 "path/filepath"
88 "strings"
99
10- "codeberg.org/turbo-editors/turbo-core/editor"
11- "codeberg.org/turbo-editors/turbo-core/theme"
12- "codeberg.org/turbo-editors/turbo-core/ui"
13- "codeberg.org/turbo-editors/turbo-core/version"
10+ "rickub.com/turbo-editors/turbo-core/editor"
11+ "rickub.com/turbo-editors/turbo-core/theme"
12+ "rickub.com/turbo-editors/turbo-core/ui"
13+ "rickub.com/turbo-editors/turbo-core/version"
1414 )
1515
1616 // ToggleLineNumbers shows or hides the gutter in the front window.
@@ -7,10 +7,10 @@ import (
7 "path/filepath"7 "path/filepath"
8 "strings"8 "strings"
9 9
10- "codeberg.org/turbo-editors/turbo-core/editor"10+ "rickub.com/turbo-editors/turbo-core/editor"
11- "codeberg.org/turbo-editors/turbo-core/theme"11+ "rickub.com/turbo-editors/turbo-core/theme"
12- "codeberg.org/turbo-editors/turbo-core/ui"12+ "rickub.com/turbo-editors/turbo-core/ui"
13- "codeberg.org/turbo-editors/turbo-core/version"13+ "rickub.com/turbo-editors/turbo-core/version"
14 )14 )
15 15
16 // ToggleLineNumbers shows or hides the gutter in the front window.16 // ToggleLineNumbers shows or hides the gutter in the front window.
modified app/agent_files.go +1 -1
@@ -7,7 +7,7 @@ import (
77 "io/fs"
88 "path/filepath"
99
10- "codeberg.org/turbo-editors/turbo-core/acp"
10+ "rickub.com/turbo-editors/turbo-core/acp"
1111 )
1212
1313 // projectFileLimit caps how many files an agent window is offered.
@@ -7,7 +7,7 @@ import (
7 "io/fs"7 "io/fs"
8 "path/filepath"8 "path/filepath"
9 9
10- "codeberg.org/turbo-editors/turbo-core/acp"10+ "rickub.com/turbo-editors/turbo-core/acp"
11 )11 )
12 12
13 // projectFileLimit caps how many files an agent window is offered.13 // projectFileLimit caps how many files an agent window is offered.
modified app/agent_permissions.go +2 -2
@@ -6,8 +6,8 @@ import (
66 "strings"
77 "sync"
88
9- "codeberg.org/turbo-editors/turbo-core/acp"
10- "codeberg.org/turbo-editors/turbo-core/ui"
9+ "rickub.com/turbo-editors/turbo-core/acp"
10+ "rickub.com/turbo-editors/turbo-core/ui"
1111 )
1212
1313 // pendingPermissions is a queue of agents waiting for an answer.
@@ -6,8 +6,8 @@ import (
6 "strings"6 "strings"
7 "sync"7 "sync"
8 8
9- "codeberg.org/turbo-editors/turbo-core/acp"9+ "rickub.com/turbo-editors/turbo-core/acp"
10- "codeberg.org/turbo-editors/turbo-core/ui"10+ "rickub.com/turbo-editors/turbo-core/ui"
11 )11 )
12 12
13 // pendingPermissions is a queue of agents waiting for an answer.13 // pendingPermissions is a queue of agents waiting for an answer.
modified app/agents.go +3 -3
@@ -10,9 +10,9 @@ import (
1010 "strings"
1111 "sync"
1212
13- "codeberg.org/turbo-editors/turbo-core/acp"
14- "codeberg.org/turbo-editors/turbo-core/buffer"
15- "codeberg.org/turbo-editors/turbo-core/ui"
13+ "rickub.com/turbo-editors/turbo-core/acp"
14+ "rickub.com/turbo-editors/turbo-core/buffer"
15+ "rickub.com/turbo-editors/turbo-core/ui"
1616 )
1717
1818 // agentWindow is one open conversation: the session, and the view drawing it.
@@ -10,9 +10,9 @@ import (
10 "strings"10 "strings"
11 "sync"11 "sync"
12 12
13- "codeberg.org/turbo-editors/turbo-core/acp"13+ "rickub.com/turbo-editors/turbo-core/acp"
14- "codeberg.org/turbo-editors/turbo-core/buffer"14+ "rickub.com/turbo-editors/turbo-core/buffer"
15- "codeberg.org/turbo-editors/turbo-core/ui"15+ "rickub.com/turbo-editors/turbo-core/ui"
16 )16 )
17 17
18 // agentWindow is one open conversation: the session, and the view drawing it.18 // agentWindow is one open conversation: the session, and the view drawing it.
modified app/agents_test.go +2 -2
@@ -6,8 +6,8 @@ import (
66 "strings"
77 "testing"
88
9- "codeberg.org/turbo-editors/turbo-core/acp"
10- "codeberg.org/turbo-editors/turbo-core/ui"
9+ "rickub.com/turbo-editors/turbo-core/acp"
10+ "rickub.com/turbo-editors/turbo-core/ui"
1111 )
1212
1313 // newAgentsApp returns an editor whose project holds the given acp.toml, and
@@ -6,8 +6,8 @@ import (
6 "strings"6 "strings"
7 "testing"7 "testing"
8 8
9- "codeberg.org/turbo-editors/turbo-core/acp"9+ "rickub.com/turbo-editors/turbo-core/acp"
10- "codeberg.org/turbo-editors/turbo-core/ui"10+ "rickub.com/turbo-editors/turbo-core/ui"
11 )11 )
12 12
13 // newAgentsApp returns an editor whose project holds the given acp.toml, and13 // newAgentsApp returns an editor whose project holds the given acp.toml, and
modified app/app.go +7 -7
@@ -14,13 +14,13 @@ import (
1414
1515 "github.com/gdamore/tcell/v2"
1616
17- "codeberg.org/turbo-editors/turbo-core/editor"
18- "codeberg.org/turbo-editors/turbo-core/filetree"
19- "codeberg.org/turbo-editors/turbo-core/profile"
20- "codeberg.org/turbo-editors/turbo-core/settings"
21- "codeberg.org/turbo-editors/turbo-core/terminal"
22- "codeberg.org/turbo-editors/turbo-core/theme"
23- "codeberg.org/turbo-editors/turbo-core/ui"
17+ "rickub.com/turbo-editors/turbo-core/editor"
18+ "rickub.com/turbo-editors/turbo-core/filetree"
19+ "rickub.com/turbo-editors/turbo-core/profile"
20+ "rickub.com/turbo-editors/turbo-core/settings"
21+ "rickub.com/turbo-editors/turbo-core/terminal"
22+ "rickub.com/turbo-editors/turbo-core/theme"
23+ "rickub.com/turbo-editors/turbo-core/ui"
2424 )
2525
2626 // menuBarHeight and statusBarHeight are the rows the furniture takes off the
@@ -14,13 +14,13 @@ import (
14 14
15 "github.com/gdamore/tcell/v2"15 "github.com/gdamore/tcell/v2"
16 16
17- "codeberg.org/turbo-editors/turbo-core/editor"17+ "rickub.com/turbo-editors/turbo-core/editor"
18- "codeberg.org/turbo-editors/turbo-core/filetree"18+ "rickub.com/turbo-editors/turbo-core/filetree"
19- "codeberg.org/turbo-editors/turbo-core/profile"19+ "rickub.com/turbo-editors/turbo-core/profile"
20- "codeberg.org/turbo-editors/turbo-core/settings"20+ "rickub.com/turbo-editors/turbo-core/settings"
21- "codeberg.org/turbo-editors/turbo-core/terminal"21+ "rickub.com/turbo-editors/turbo-core/terminal"
22- "codeberg.org/turbo-editors/turbo-core/theme"22+ "rickub.com/turbo-editors/turbo-core/theme"
23- "codeberg.org/turbo-editors/turbo-core/ui"23+ "rickub.com/turbo-editors/turbo-core/ui"
24 )24 )
25 25
26 // menuBarHeight and statusBarHeight are the rows the furniture takes off the26 // menuBarHeight and statusBarHeight are the rows the furniture takes off the
modified app/app_test.go +5 -5
@@ -8,11 +8,11 @@ import (
88
99 "github.com/gdamore/tcell/v2"
1010
11- "codeberg.org/turbo-editors/turbo-core/buffer"
12- "codeberg.org/turbo-editors/turbo-core/editor"
13- "codeberg.org/turbo-editors/turbo-core/theme"
14- "codeberg.org/turbo-editors/turbo-core/ui"
15- "codeberg.org/turbo-editors/turbo-core/version"
11+ "rickub.com/turbo-editors/turbo-core/buffer"
12+ "rickub.com/turbo-editors/turbo-core/editor"
13+ "rickub.com/turbo-editors/turbo-core/theme"
14+ "rickub.com/turbo-editors/turbo-core/ui"
15+ "rickub.com/turbo-editors/turbo-core/version"
1616 )
1717
1818 // newTestApp returns an editor drawing on a simulated terminal.
@@ -8,11 +8,11 @@ import (
8 8
9 "github.com/gdamore/tcell/v2"9 "github.com/gdamore/tcell/v2"
10 10
11- "codeberg.org/turbo-editors/turbo-core/buffer"11+ "rickub.com/turbo-editors/turbo-core/buffer"
12- "codeberg.org/turbo-editors/turbo-core/editor"12+ "rickub.com/turbo-editors/turbo-core/editor"
13- "codeberg.org/turbo-editors/turbo-core/theme"13+ "rickub.com/turbo-editors/turbo-core/theme"
14- "codeberg.org/turbo-editors/turbo-core/ui"14+ "rickub.com/turbo-editors/turbo-core/ui"
15- "codeberg.org/turbo-editors/turbo-core/version"15+ "rickub.com/turbo-editors/turbo-core/version"
16 )16 )
17 17
18 // newTestApp returns an editor drawing on a simulated terminal.18 // newTestApp returns an editor drawing on a simulated terminal.
modified app/autosave.go +2 -2
@@ -7,8 +7,8 @@ import (
77 "path/filepath"
88 "time"
99
10- "codeberg.org/turbo-editors/turbo-core/editor"
11- "codeberg.org/turbo-editors/turbo-core/ui"
10+ "rickub.com/turbo-editors/turbo-core/editor"
11+ "rickub.com/turbo-editors/turbo-core/ui"
1212 )
1313
1414 // autosave is the state of the pending automatic save.
@@ -7,8 +7,8 @@ import (
7 "path/filepath"7 "path/filepath"
8 "time"8 "time"
9 9
10- "codeberg.org/turbo-editors/turbo-core/editor"10+ "rickub.com/turbo-editors/turbo-core/editor"
11- "codeberg.org/turbo-editors/turbo-core/ui"11+ "rickub.com/turbo-editors/turbo-core/ui"
12 )12 )
13 13
14 // autosave is the state of the pending automatic save.14 // autosave is the state of the pending automatic save.
modified app/autosave_test.go +1 -1
@@ -7,7 +7,7 @@ import (
77 "testing"
88 "time"
99
10- "codeberg.org/turbo-editors/turbo-core/settings"
10+ "rickub.com/turbo-editors/turbo-core/settings"
1111 )
1212
1313 // fakeClock is a clock the test moves by hand, so an autosave deadline is
@@ -7,7 +7,7 @@ import (
7 "testing"7 "testing"
8 "time"8 "time"
9 9
10- "codeberg.org/turbo-editors/turbo-core/settings"10+ "rickub.com/turbo-editors/turbo-core/settings"
11 )11 )
12 12
13 // fakeClock is a clock the test moves by hand, so an autosave deadline is13 // fakeClock is a clock the test moves by hand, so an autosave deadline is
modified app/code.go +2 -2
@@ -11,8 +11,8 @@ import (
1111 "path/filepath"
1212 "strings"
1313
14- "codeberg.org/turbo-editors/turbo-core/lsp"
15- "codeberg.org/turbo-editors/turbo-core/ui"
14+ "rickub.com/turbo-editors/turbo-core/lsp"
15+ "rickub.com/turbo-editors/turbo-core/ui"
1616 )
1717
1818 // GoToTypeDefinition opens the declaration of the *type* of the thing under
@@ -11,8 +11,8 @@ import (
11 "path/filepath"11 "path/filepath"
12 "strings"12 "strings"
13 13
14- "codeberg.org/turbo-editors/turbo-core/lsp"14+ "rickub.com/turbo-editors/turbo-core/lsp"
15- "codeberg.org/turbo-editors/turbo-core/ui"15+ "rickub.com/turbo-editors/turbo-core/ui"
16 )16 )
17 17
18 // GoToTypeDefinition opens the declaration of the *type* of the thing under18 // GoToTypeDefinition opens the declaration of the *type* of the thing under
modified app/code_test.go +4 -4
@@ -8,10 +8,10 @@ import (
88
99 "github.com/gdamore/tcell/v2"
1010
11- "codeberg.org/turbo-editors/turbo-core/buffer"
12- "codeberg.org/turbo-editors/turbo-core/editor"
13- "codeberg.org/turbo-editors/turbo-core/lsp"
14- "codeberg.org/turbo-editors/turbo-core/ui"
11+ "rickub.com/turbo-editors/turbo-core/buffer"
12+ "rickub.com/turbo-editors/turbo-core/editor"
13+ "rickub.com/turbo-editors/turbo-core/lsp"
14+ "rickub.com/turbo-editors/turbo-core/ui"
1515 )
1616
1717 // newCodeApp returns an editor with a file open, a fake language server
@@ -8,10 +8,10 @@ import (
8 8
9 "github.com/gdamore/tcell/v2"9 "github.com/gdamore/tcell/v2"
10 10
11- "codeberg.org/turbo-editors/turbo-core/buffer"11+ "rickub.com/turbo-editors/turbo-core/buffer"
12- "codeberg.org/turbo-editors/turbo-core/editor"12+ "rickub.com/turbo-editors/turbo-core/editor"
13- "codeberg.org/turbo-editors/turbo-core/lsp"13+ "rickub.com/turbo-editors/turbo-core/lsp"
14- "codeberg.org/turbo-editors/turbo-core/ui"14+ "rickub.com/turbo-editors/turbo-core/ui"
15 )15 )
16 16
17 // newCodeApp returns an editor with a file open, a fake language server17 // newCodeApp returns an editor with a file open, a fake language server
modified app/complete.go +1 -1
@@ -3,7 +3,7 @@ package app
33 import (
44 "context"
55
6- "codeberg.org/turbo-editors/turbo-core/lsp"
6+ "rickub.com/turbo-editors/turbo-core/lsp"
77 )
88
99 // RequestCompletion asks the language server what could be typed here and
@@ -3,7 +3,7 @@ package app
3 import (3 import (
4 "context"4 "context"
5 5
6- "codeberg.org/turbo-editors/turbo-core/lsp"6+ "rickub.com/turbo-editors/turbo-core/lsp"
7 )7 )
8 8
9 // RequestCompletion asks the language server what could be typed here and9 // RequestCompletion asks the language server what could be typed here and
modified app/completion.go +3 -3
@@ -5,9 +5,9 @@ import (
55
66 "github.com/gdamore/tcell/v2"
77
8- "codeberg.org/turbo-editors/turbo-core/lsp"
9- "codeberg.org/turbo-editors/turbo-core/theme"
10- "codeberg.org/turbo-editors/turbo-core/ui"
8+ "rickub.com/turbo-editors/turbo-core/lsp"
9+ "rickub.com/turbo-editors/turbo-core/theme"
10+ "rickub.com/turbo-editors/turbo-core/ui"
1111 )
1212
1313 // Completion popup geometry. It is deliberately small: a list that covers half
@@ -5,9 +5,9 @@ import (
5 5
6 "github.com/gdamore/tcell/v2"6 "github.com/gdamore/tcell/v2"
7 7
8- "codeberg.org/turbo-editors/turbo-core/lsp"8+ "rickub.com/turbo-editors/turbo-core/lsp"
9- "codeberg.org/turbo-editors/turbo-core/theme"9+ "rickub.com/turbo-editors/turbo-core/theme"
10- "codeberg.org/turbo-editors/turbo-core/ui"10+ "rickub.com/turbo-editors/turbo-core/ui"
11 )11 )
12 12
13 // Completion popup geometry. It is deliberately small: a list that covers half13 // Completion popup geometry. It is deliberately small: a list that covers half
modified app/completion_test.go +2 -2
@@ -7,8 +7,8 @@ import (
77
88 "github.com/gdamore/tcell/v2"
99
10- "codeberg.org/turbo-editors/turbo-core/lsp"
11- "codeberg.org/turbo-editors/turbo-core/ui"
10+ "rickub.com/turbo-editors/turbo-core/lsp"
11+ "rickub.com/turbo-editors/turbo-core/ui"
1212 )
1313
1414 // sampleItems is a completion list shaped like one gopls returns for "fmt.".
@@ -7,8 +7,8 @@ import (
7 7
8 "github.com/gdamore/tcell/v2"8 "github.com/gdamore/tcell/v2"
9 9
10- "codeberg.org/turbo-editors/turbo-core/lsp"10+ "rickub.com/turbo-editors/turbo-core/lsp"
11- "codeberg.org/turbo-editors/turbo-core/ui"11+ "rickub.com/turbo-editors/turbo-core/ui"
12 )12 )
13 13
14 // sampleItems is a completion list shaped like one gopls returns for "fmt.".14 // sampleItems is a completion list shaped like one gopls returns for "fmt.".
modified app/diagnostics_test.go +1 -1
@@ -4,7 +4,7 @@ import (
44 "path/filepath"
55 "testing"
66
7- "codeberg.org/turbo-editors/turbo-core/lsp"
7+ "rickub.com/turbo-editors/turbo-core/lsp"
88 )
99
1010 func TestDiagnosticsAreFoundForAFileOpenedByARelativePath(t *testing.T) {
@@ -4,7 +4,7 @@ import (
4 "path/filepath"4 "path/filepath"
5 "testing"5 "testing"
6 6
7- "codeberg.org/turbo-editors/turbo-core/lsp"7+ "rickub.com/turbo-editors/turbo-core/lsp"
8 )8 )
9 9
10 func TestDiagnosticsAreFoundForAFileOpenedByARelativePath(t *testing.T) {10 func TestDiagnosticsAreFoundForAFileOpenedByARelativePath(t *testing.T) {
modified app/dialogs.go +1 -1
@@ -6,7 +6,7 @@ import (
66 "sort"
77 "strings"
88
9- "codeberg.org/turbo-editors/turbo-core/ui"
9+ "rickub.com/turbo-editors/turbo-core/ui"
1010 )
1111
1212 // dialogWidth and dialogHeight are the sizes the editor's dialogs come in.
@@ -6,7 +6,7 @@ import (
6 "sort"6 "sort"
7 "strings"7 "strings"
8 8
9- "codeberg.org/turbo-editors/turbo-core/ui"9+ "rickub.com/turbo-editors/turbo-core/ui"
10 )10 )
11 11
12 // dialogWidth and dialogHeight are the sizes the editor's dialogs come in.12 // dialogWidth and dialogHeight are the sizes the editor's dialogs come in.
modified app/dialogs_test.go +1 -1
@@ -8,7 +8,7 @@ import (
88
99 "github.com/gdamore/tcell/v2"
1010
11- "codeberg.org/turbo-editors/turbo-core/ui"
11+ "rickub.com/turbo-editors/turbo-core/ui"
1212 )
1313
1414 // testDirectory builds a directory holding the given entries; a name ending in
@@ -8,7 +8,7 @@ import (
8 8
9 "github.com/gdamore/tcell/v2"9 "github.com/gdamore/tcell/v2"
10 10
11- "codeberg.org/turbo-editors/turbo-core/ui"11+ "rickub.com/turbo-editors/turbo-core/ui"
12 )12 )
13 13
14 // testDirectory builds a directory holding the given entries; a name ending in14 // testDirectory builds a directory holding the given entries; a name ending in
modified app/fakelsp_test.go +1 -1
@@ -8,7 +8,7 @@ import (
88 "testing"
99 "time"
1010
11- "codeberg.org/turbo-editors/turbo-core/lsp"
11+ "rickub.com/turbo-editors/turbo-core/lsp"
1212 )
1313
1414 // fakeLSP is a language server living in this process, at the far end of an
@@ -8,7 +8,7 @@ import (
8 "testing"8 "testing"
9 "time"9 "time"
10 10
11- "codeberg.org/turbo-editors/turbo-core/lsp"11+ "rickub.com/turbo-editors/turbo-core/lsp"
12 )12 )
13 13
14 // fakeLSP is a language server living in this process, at the far end of an14 // fakeLSP is a language server living in this process, at the far end of an
modified app/language.go +2 -2
@@ -7,8 +7,8 @@ import (
77 "sort"
88 "sync"
99
10- "codeberg.org/turbo-editors/turbo-core/lsp"
11- "codeberg.org/turbo-editors/turbo-core/profile"
10+ "rickub.com/turbo-editors/turbo-core/lsp"
11+ "rickub.com/turbo-editors/turbo-core/profile"
1212 )
1313
1414 // Language is the editor's side of the language-server conversation.
@@ -7,8 +7,8 @@ import (
7 "sort"7 "sort"
8 "sync"8 "sync"
9 9
10- "codeberg.org/turbo-editors/turbo-core/lsp"10+ "rickub.com/turbo-editors/turbo-core/lsp"
11- "codeberg.org/turbo-editors/turbo-core/profile"11+ "rickub.com/turbo-editors/turbo-core/profile"
12 )12 )
13 13
14 // Language is the editor's side of the language-server conversation.14 // Language is the editor's side of the language-server conversation.
modified app/menus.go +1 -1
@@ -1,6 +1,6 @@
11 package app
22
3-import "codeberg.org/turbo-editors/turbo-core/ui"
3+import "rickub.com/turbo-editors/turbo-core/ui"
44
55 // buildMenus returns the editor's menu bar: File, Edit, Search, Run, Options,
66 // Window and Help, laid out the way Turbo C laid its own out, with Snippets,
@@ -1,6 +1,6 @@
1 package app1 package app
2 2
3-import "codeberg.org/turbo-editors/turbo-core/ui"3+import "rickub.com/turbo-editors/turbo-core/ui"
4 4
5 // buildMenus returns the editor's menu bar: File, Edit, Search, Run, Options,5 // buildMenus returns the editor's menu bar: File, Edit, Search, Run, Options,
6 // Window and Help, laid out the way Turbo C laid its own out, with Snippets,6 // Window and Help, laid out the way Turbo C laid its own out, with Snippets,
modified app/parameters_test.go +2 -2
@@ -8,8 +8,8 @@ import (
88
99 "github.com/gdamore/tcell/v2"
1010
11- "codeberg.org/turbo-editors/turbo-core/tools"
12- "codeberg.org/turbo-editors/turbo-core/ui"
11+ "rickub.com/turbo-editors/turbo-core/tools"
12+ "rickub.com/turbo-editors/turbo-core/ui"
1313 )
1414
1515 // parametersBox returns the parameters dialog on screen, failing the test when
@@ -8,8 +8,8 @@ import (
8 8
9 "github.com/gdamore/tcell/v2"9 "github.com/gdamore/tcell/v2"
10 10
11- "codeberg.org/turbo-editors/turbo-core/tools"11+ "rickub.com/turbo-editors/turbo-core/tools"
12- "codeberg.org/turbo-editors/turbo-core/ui"12+ "rickub.com/turbo-editors/turbo-core/ui"
13 )13 )
14 14
15 // parametersBox returns the parameters dialog on screen, failing the test when15 // parametersBox returns the parameters dialog on screen, failing the test when
modified app/problems.go +3 -3
@@ -7,9 +7,9 @@ import (
77 "path/filepath"
88 "strings"
99
10- "codeberg.org/turbo-editors/turbo-core/editor"
11- "codeberg.org/turbo-editors/turbo-core/lsp"
12- "codeberg.org/turbo-editors/turbo-core/ui"
10+ "rickub.com/turbo-editors/turbo-core/editor"
11+ "rickub.com/turbo-editors/turbo-core/lsp"
12+ "rickub.com/turbo-editors/turbo-core/ui"
1313 )
1414
1515 // ShowProblems lists every problem the language server has reported, for every
@@ -7,9 +7,9 @@ import (
7 "path/filepath"7 "path/filepath"
8 "strings"8 "strings"
9 9
10- "codeberg.org/turbo-editors/turbo-core/editor"10+ "rickub.com/turbo-editors/turbo-core/editor"
11- "codeberg.org/turbo-editors/turbo-core/lsp"11+ "rickub.com/turbo-editors/turbo-core/lsp"
12- "codeberg.org/turbo-editors/turbo-core/ui"12+ "rickub.com/turbo-editors/turbo-core/ui"
13 )13 )
14 14
15 // ShowProblems lists every problem the language server has reported, for every15 // ShowProblems lists every problem the language server has reported, for every
modified app/project.go +4 -4
@@ -8,10 +8,10 @@ import (
88 "os"
99 "path/filepath"
1010
11- "codeberg.org/turbo-editors/turbo-core/settings"
12- "codeberg.org/turbo-editors/turbo-core/snippets"
13- "codeberg.org/turbo-editors/turbo-core/tools"
14- "codeberg.org/turbo-editors/turbo-core/ui"
11+ "rickub.com/turbo-editors/turbo-core/settings"
12+ "rickub.com/turbo-editors/turbo-core/snippets"
13+ "rickub.com/turbo-editors/turbo-core/tools"
14+ "rickub.com/turbo-editors/turbo-core/ui"
1515 )
1616
1717 // CreateProjectSettings writes settings.toml into the editor's own directory
@@ -8,10 +8,10 @@ import (
8 "os"8 "os"
9 "path/filepath"9 "path/filepath"
10 10
11- "codeberg.org/turbo-editors/turbo-core/settings"11+ "rickub.com/turbo-editors/turbo-core/settings"
12- "codeberg.org/turbo-editors/turbo-core/snippets"12+ "rickub.com/turbo-editors/turbo-core/snippets"
13- "codeberg.org/turbo-editors/turbo-core/tools"13+ "rickub.com/turbo-editors/turbo-core/tools"
14- "codeberg.org/turbo-editors/turbo-core/ui"14+ "rickub.com/turbo-editors/turbo-core/ui"
15 )15 )
16 16
17 // CreateProjectSettings writes settings.toml into the editor's own directory17 // CreateProjectSettings writes settings.toml into the editor's own directory
modified app/project_test.go +5 -5
@@ -9,11 +9,11 @@ import (
99
1010 "github.com/gdamore/tcell/v2"
1111
12- "codeberg.org/turbo-editors/turbo-core/settings"
13- "codeberg.org/turbo-editors/turbo-core/snippets"
14- "codeberg.org/turbo-editors/turbo-core/theme"
15- "codeberg.org/turbo-editors/turbo-core/tools"
16- "codeberg.org/turbo-editors/turbo-core/ui"
12+ "rickub.com/turbo-editors/turbo-core/settings"
13+ "rickub.com/turbo-editors/turbo-core/snippets"
14+ "rickub.com/turbo-editors/turbo-core/theme"
15+ "rickub.com/turbo-editors/turbo-core/tools"
16+ "rickub.com/turbo-editors/turbo-core/ui"
1717 )
1818
1919 // newProjectApp returns an editor whose working directory is an empty project.
@@ -9,11 +9,11 @@ import (
9 9
10 "github.com/gdamore/tcell/v2"10 "github.com/gdamore/tcell/v2"
11 11
12- "codeberg.org/turbo-editors/turbo-core/settings"12+ "rickub.com/turbo-editors/turbo-core/settings"
13- "codeberg.org/turbo-editors/turbo-core/snippets"13+ "rickub.com/turbo-editors/turbo-core/snippets"
14- "codeberg.org/turbo-editors/turbo-core/theme"14+ "rickub.com/turbo-editors/turbo-core/theme"
15- "codeberg.org/turbo-editors/turbo-core/tools"15+ "rickub.com/turbo-editors/turbo-core/tools"
16- "codeberg.org/turbo-editors/turbo-core/ui"16+ "rickub.com/turbo-editors/turbo-core/ui"
17 )17 )
18 18
19 // newProjectApp returns an editor whose working directory is an empty project.19 // newProjectApp returns an editor whose working directory is an empty project.
modified app/root.go +1 -1
@@ -7,7 +7,7 @@ import (
77 "os"
88 "path/filepath"
99
10- "codeberg.org/turbo-editors/turbo-core/profile"
10+ "rickub.com/turbo-editors/turbo-core/profile"
1111 )
1212
1313 // ProjectRoot returns the directory the language server should work in: the
@@ -7,7 +7,7 @@ import (
7 "os"7 "os"
8 "path/filepath"8 "path/filepath"
9 9
10- "codeberg.org/turbo-editors/turbo-core/profile"10+ "rickub.com/turbo-editors/turbo-core/profile"
11 )11 )
12 12
13 // ProjectRoot returns the directory the language server should work in: the13 // ProjectRoot returns the directory the language server should work in: the
modified app/root_test.go +1 -1
@@ -5,7 +5,7 @@ import (
55 "path/filepath"
66 "testing"
77
8- "codeberg.org/turbo-editors/turbo-core/profile"
8+ "rickub.com/turbo-editors/turbo-core/profile"
99 )
1010
1111 // touch creates an empty file, making its directory first.
@@ -5,7 +5,7 @@ import (
5 "path/filepath"5 "path/filepath"
6 "testing"6 "testing"
7 7
8- "codeberg.org/turbo-editors/turbo-core/profile"8+ "rickub.com/turbo-editors/turbo-core/profile"
9 )9 )
10 10
11 // touch creates an empty file, making its directory first.11 // touch creates an empty file, making its directory first.
modified app/snippets.go +3 -3
@@ -6,9 +6,9 @@ package app
66 import (
77 "os"
88
9- "codeberg.org/turbo-editors/turbo-core/snippets"
10- "codeberg.org/turbo-editors/turbo-core/syntax"
11- "codeberg.org/turbo-editors/turbo-core/ui"
9+ "rickub.com/turbo-editors/turbo-core/snippets"
10+ "rickub.com/turbo-editors/turbo-core/syntax"
11+ "rickub.com/turbo-editors/turbo-core/ui"
1212 )
1313
1414 // createSnippetsLabel is the item that writes a starter file, kept at the
@@ -6,9 +6,9 @@ package app
6 import (6 import (
7 "os"7 "os"
8 8
9- "codeberg.org/turbo-editors/turbo-core/snippets"9+ "rickub.com/turbo-editors/turbo-core/snippets"
10- "codeberg.org/turbo-editors/turbo-core/syntax"10+ "rickub.com/turbo-editors/turbo-core/syntax"
11- "codeberg.org/turbo-editors/turbo-core/ui"11+ "rickub.com/turbo-editors/turbo-core/ui"
12 )12 )
13 13
14 // createSnippetsLabel is the item that writes a starter file, kept at the14 // createSnippetsLabel is the item that writes a starter file, kept at the
modified app/snippets_test.go +2 -2
@@ -8,8 +8,8 @@ import (
88
99 "github.com/gdamore/tcell/v2"
1010
11- "codeberg.org/turbo-editors/turbo-core/snippets"
12- "codeberg.org/turbo-editors/turbo-core/ui"
11+ "rickub.com/turbo-editors/turbo-core/snippets"
12+ "rickub.com/turbo-editors/turbo-core/ui"
1313 )
1414
1515 // newSnippetApp returns an editor whose working directory is a project holding
@@ -8,8 +8,8 @@ import (
8 8
9 "github.com/gdamore/tcell/v2"9 "github.com/gdamore/tcell/v2"
10 10
11- "codeberg.org/turbo-editors/turbo-core/snippets"11+ "rickub.com/turbo-editors/turbo-core/snippets"
12- "codeberg.org/turbo-editors/turbo-core/ui"12+ "rickub.com/turbo-editors/turbo-core/ui"
13 )13 )
14 14
15 // newSnippetApp returns an editor whose working directory is a project holding15 // newSnippetApp returns an editor whose working directory is a project holding
modified app/symbols.go +2 -2
@@ -9,8 +9,8 @@ import (
99 "path/filepath"
1010 "strings"
1111
12- "codeberg.org/turbo-editors/turbo-core/lsp"
13- "codeberg.org/turbo-editors/turbo-core/ui"
12+ "rickub.com/turbo-editors/turbo-core/lsp"
13+ "rickub.com/turbo-editors/turbo-core/ui"
1414 )
1515
1616 // SymbolInFile lists what the file in front declares, and goes to the one
@@ -9,8 +9,8 @@ import (
9 "path/filepath"9 "path/filepath"
10 "strings"10 "strings"
11 11
12- "codeberg.org/turbo-editors/turbo-core/lsp"12+ "rickub.com/turbo-editors/turbo-core/lsp"
13- "codeberg.org/turbo-editors/turbo-core/ui"13+ "rickub.com/turbo-editors/turbo-core/ui"
14 )14 )
15 15
16 // SymbolInFile lists what the file in front declares, and goes to the one16 // SymbolInFile lists what the file in front declares, and goes to the one
modified app/terminals.go +3 -3
@@ -8,9 +8,9 @@ import (
88 "os"
99 "path/filepath"
1010
11- "codeberg.org/turbo-editors/turbo-core/editor"
12- "codeberg.org/turbo-editors/turbo-core/terminal"
13- "codeberg.org/turbo-editors/turbo-core/ui"
11+ "rickub.com/turbo-editors/turbo-core/editor"
12+ "rickub.com/turbo-editors/turbo-core/terminal"
13+ "rickub.com/turbo-editors/turbo-core/ui"
1414 )
1515
1616 // NewTerminal opens a window running a shell.
@@ -8,9 +8,9 @@ import (
8 "os"8 "os"
9 "path/filepath"9 "path/filepath"
10 10
11- "codeberg.org/turbo-editors/turbo-core/editor"11+ "rickub.com/turbo-editors/turbo-core/editor"
12- "codeberg.org/turbo-editors/turbo-core/terminal"12+ "rickub.com/turbo-editors/turbo-core/terminal"
13- "codeberg.org/turbo-editors/turbo-core/ui"13+ "rickub.com/turbo-editors/turbo-core/ui"
14 )14 )
15 15
16 // NewTerminal opens a window running a shell.16 // NewTerminal opens a window running a shell.
modified app/terminals_test.go +1 -1
@@ -10,7 +10,7 @@ import (
1010
1111 "github.com/gdamore/tcell/v2"
1212
13- "codeberg.org/turbo-editors/turbo-core/terminal"
13+ "rickub.com/turbo-editors/turbo-core/terminal"
1414 )
1515
1616 // newTerminalTestApp returns an editor whose terminals run a plain /bin/sh.
@@ -10,7 +10,7 @@ import (
10 10
11 "github.com/gdamore/tcell/v2"11 "github.com/gdamore/tcell/v2"
12 12
13- "codeberg.org/turbo-editors/turbo-core/terminal"13+ "rickub.com/turbo-editors/turbo-core/terminal"
14 )14 )
15 15
16 // newTerminalTestApp returns an editor whose terminals run a plain /bin/sh.16 // newTerminalTestApp returns an editor whose terminals run a plain /bin/sh.
modified app/testprofile_test.go +1 -1
@@ -1,6 +1,6 @@
11 package app
22
3-import "codeberg.org/turbo-editors/turbo-core/profile"
3+import "rickub.com/turbo-editors/turbo-core/profile"
44
55 // testProfile is the fictional editor the tests in this package drive.
66 //
@@ -1,6 +1,6 @@
1 package app1 package app
2 2
3-import "codeberg.org/turbo-editors/turbo-core/profile"3+import "rickub.com/turbo-editors/turbo-core/profile"
4 4
5 // testProfile is the fictional editor the tests in this package drive.5 // testProfile is the fictional editor the tests in this package drive.
6 //6 //
modified app/toolchain.go +4 -4
@@ -11,11 +11,11 @@ import (
1111 "strconv"
1212 "strings"
1313
14- "codeberg.org/turbo-editors/turbo-core/buffer"
14+ "rickub.com/turbo-editors/turbo-core/buffer"
1515
16- "codeberg.org/turbo-editors/turbo-core/terminal"
17- "codeberg.org/turbo-editors/turbo-core/tools"
18- "codeberg.org/turbo-editors/turbo-core/ui"
16+ "rickub.com/turbo-editors/turbo-core/terminal"
17+ "rickub.com/turbo-editors/turbo-core/tools"
18+ "rickub.com/turbo-editors/turbo-core/ui"
1919 )
2020
2121 // createToolsLabel is the item that writes a starter file, kept at the bottom
@@ -11,11 +11,11 @@ import (
11 "strconv"11 "strconv"
12 "strings"12 "strings"
13 13
14- "codeberg.org/turbo-editors/turbo-core/buffer"14+ "rickub.com/turbo-editors/turbo-core/buffer"
15 15
16- "codeberg.org/turbo-editors/turbo-core/terminal"16+ "rickub.com/turbo-editors/turbo-core/terminal"
17- "codeberg.org/turbo-editors/turbo-core/tools"17+ "rickub.com/turbo-editors/turbo-core/tools"
18- "codeberg.org/turbo-editors/turbo-core/ui"18+ "rickub.com/turbo-editors/turbo-core/ui"
19 )19 )
20 20
21 // createToolsLabel is the item that writes a starter file, kept at the bottom21 // createToolsLabel is the item that writes a starter file, kept at the bottom
modified app/toolchain_test.go +2 -2
@@ -9,8 +9,8 @@ import (
99
1010 "github.com/gdamore/tcell/v2"
1111
12- "codeberg.org/turbo-editors/turbo-core/tools"
13- "codeberg.org/turbo-editors/turbo-core/ui"
12+ "rickub.com/turbo-editors/turbo-core/tools"
13+ "rickub.com/turbo-editors/turbo-core/ui"
1414 )
1515
1616 // newToolsApp returns an editor whose working directory is a project holding
@@ -9,8 +9,8 @@ import (
9 9
10 "github.com/gdamore/tcell/v2"10 "github.com/gdamore/tcell/v2"
11 11
12- "codeberg.org/turbo-editors/turbo-core/tools"12+ "rickub.com/turbo-editors/turbo-core/tools"
13- "codeberg.org/turbo-editors/turbo-core/ui"13+ "rickub.com/turbo-editors/turbo-core/ui"
14 )14 )
15 15
16 // newToolsApp returns an editor whose working directory is a project holding16 // newToolsApp returns an editor whose working directory is a project holding
modified app/toolmenus.go +2 -2
@@ -8,8 +8,8 @@ import (
88 "time"
99 "unicode"
1010
11- "codeberg.org/turbo-editors/turbo-core/tools"
12- "codeberg.org/turbo-editors/turbo-core/ui"
11+ "rickub.com/turbo-editors/turbo-core/tools"
12+ "rickub.com/turbo-editors/turbo-core/ui"
1313 )
1414
1515 // allMenus returns the whole bar: the fixed menus, then the ones the project's
@@ -8,8 +8,8 @@ import (
8 "time"8 "time"
9 "unicode"9 "unicode"
10 10
11- "codeberg.org/turbo-editors/turbo-core/tools"11+ "rickub.com/turbo-editors/turbo-core/tools"
12- "codeberg.org/turbo-editors/turbo-core/ui"12+ "rickub.com/turbo-editors/turbo-core/ui"
13 )13 )
14 14
15 // allMenus returns the whole bar: the fixed menus, then the ones the project's15 // allMenus returns the whole bar: the fixed menus, then the ones the project's
modified app/toolmenus_test.go +2 -2
@@ -5,8 +5,8 @@ import (
55 "slices"
66 "testing"
77
8- "codeberg.org/turbo-editors/turbo-core/tools"
9- "codeberg.org/turbo-editors/turbo-core/ui"
8+ "rickub.com/turbo-editors/turbo-core/tools"
9+ "rickub.com/turbo-editors/turbo-core/ui"
1010 )
1111
1212 // barMenuOf returns the menu with the given plain label, its items filled in.
@@ -5,8 +5,8 @@ import (
5 "slices"5 "slices"
6 "testing"6 "testing"
7 7
8- "codeberg.org/turbo-editors/turbo-core/tools"8+ "rickub.com/turbo-editors/turbo-core/tools"
9- "codeberg.org/turbo-editors/turbo-core/ui"9+ "rickub.com/turbo-editors/turbo-core/ui"
10 )10 )
11 11
12 // barMenuOf returns the menu with the given plain label, its items filled in.12 // barMenuOf returns the menu with the given plain label, its items filled in.
modified app/tree.go +2 -2
@@ -6,8 +6,8 @@ package app
66 import (
77 "os"
88
9- "codeberg.org/turbo-editors/turbo-core/filetree"
10- "codeberg.org/turbo-editors/turbo-core/ui"
9+ "rickub.com/turbo-editors/turbo-core/filetree"
10+ "rickub.com/turbo-editors/turbo-core/ui"
1111 )
1212
1313 // ProjectTree opens a window showing the project's files, or brings the one
@@ -6,8 +6,8 @@ package app
6 import (6 import (
7 "os"7 "os"
8 8
9- "codeberg.org/turbo-editors/turbo-core/filetree"9+ "rickub.com/turbo-editors/turbo-core/filetree"
10- "codeberg.org/turbo-editors/turbo-core/ui"10+ "rickub.com/turbo-editors/turbo-core/ui"
11 )11 )
12 12
13 // ProjectTree opens a window showing the project's files, or brings the one13 // ProjectTree opens a window showing the project's files, or brings the one
modified buffer/example_test.go +1 -1
@@ -3,7 +3,7 @@ package buffer_test
33 import (
44 "fmt"
55
6- "codeberg.org/turbo-editors/turbo-core/buffer"
6+ "rickub.com/turbo-editors/turbo-core/buffer"
77 )
88
99 // Typing into a buffer and reading the result back.
@@ -3,7 +3,7 @@ package buffer_test
3 import (3 import (
4 "fmt"4 "fmt"
5 5
6- "codeberg.org/turbo-editors/turbo-core/buffer"6+ "rickub.com/turbo-editors/turbo-core/buffer"
7 )7 )
8 8
9 // Typing into a buffer and reading the result back.9 // Typing into a buffer and reading the result back.
modified docs/en/README.md +2 -2
@@ -31,7 +31,7 @@ This documentation follows [Diátaxis](https://diataxis.fr): four kinds of page,
3131
3232 ## Where the editors are
3333
34-- **Turbo Go** — `codeberg.org/turbo-editors/turbo-go`
35-- **Turbo Rust** — `codeberg.org/turbo-editors/turbo-rust`
34+- **Turbo Go** — `rickub.com/turbo-editors/turbo-go`
35+- **Turbo Rust** — `rickub.com/turbo-editors/turbo-rust`
3636
3737 Both are thin: a command, a profile, and a scanner. If you are looking for how to *use* one of them, its own documentation is the place.
@@ -31,7 +31,7 @@ This documentation follows [Diátaxis](https://diataxis.fr): four kinds of page,
31 31
32 ## Where the editors are32 ## Where the editors are
33 33
34-- **Turbo Go** — `codeberg.org/turbo-editors/turbo-go`34+- **Turbo Go** — `rickub.com/turbo-editors/turbo-go`
35-- **Turbo Rust** — `codeberg.org/turbo-editors/turbo-rust`35+- **Turbo Rust** — `rickub.com/turbo-editors/turbo-rust`
36 36
37 Both are thin: a command, a profile, and a scanner. If you are looking for how to *use* one of them, its own documentation is the place.37 Both are thin: a command, a profile, and a scanner. If you are looking for how to *use* one of them, its own documentation is the place.
modified docs/en/how-to/release-the-library.md +2 -2
@@ -54,8 +54,8 @@ There is no `03` or `04` here. Those build and attach binaries in the editors; a
5454 One editor at a time, running its suite before moving to the next:
5555
5656 ```bash
57-go mod edit -require=codeberg.org/turbo-editors/turbo-core@v0.1.0
58-go mod edit -dropreplace=codeberg.org/turbo-editors/turbo-core
57+go mod edit -require=rickub.com/turbo-editors/turbo-core@v0.1.0
58+go mod edit -dropreplace=rickub.com/turbo-editors/turbo-core
5959 go mod tidy
6060 make test
6161 ```
@@ -54,8 +54,8 @@ There is no `03` or `04` here. Those build and attach binaries in the editors; a
54 One editor at a time, running its suite before moving to the next:54 One editor at a time, running its suite before moving to the next:
55 55
56 ```bash56 ```bash
57-go mod edit -require=codeberg.org/turbo-editors/turbo-core@v0.1.057+go mod edit -require=rickub.com/turbo-editors/turbo-core@v0.1.0
58-go mod edit -dropreplace=codeberg.org/turbo-editors/turbo-core58+go mod edit -dropreplace=rickub.com/turbo-editors/turbo-core
59 go mod tidy59 go mod tidy
60 make test60 make test
61 ```61 ```
modified docs/en/how-to/test-without-publishing.md +6 -6
@@ -7,7 +7,7 @@ This guide shows how to run Turbo Go or Turbo Rust against a turbo-core you have
77 The editors depend on turbo-core the way anyone else would — by module path and version:
88
99 ```
10-require codeberg.org/turbo-editors/turbo-core v0.2.0
10+require rickub.com/turbo-editors/turbo-core v0.2.0
1111 ```
1212
1313 That version comes from the module proxy, not from the directory next door. A change you make in `../turbo-core` is invisible to the editors until it is tagged **and** published, which is exactly the wrong order: you would be publishing to find out whether the change works.
@@ -29,18 +29,18 @@ make build
2929 ./bin/turbo-go
3030 ```
3131
32-Every import of `codeberg.org/turbo-editors/turbo-core/...` now resolves to your checkout. Nothing in `go.mod` or `go.sum` changed, which is the whole point: there is no edit to undo and nothing to forget before committing.
32+Every import of `rickub.com/turbo-editors/turbo-core/...` now resolves to your checkout. Nothing in `go.mod` or `go.sum` changed, which is the whole point: there is no edit to undo and nothing to forget before committing.
3333
3434 ### Check it took
3535
3636 ```bash
37-go list -f '{{.Dir}}' codeberg.org/turbo-editors/turbo-core/app
37+go list -f '{{.Dir}}' rickub.com/turbo-editors/turbo-core/app
3838 ```
3939
4040 | Answer | Meaning |
4141 | --- | --- |
4242 | `…/turbo-editors/turbo-core/app` | The workspace is in force; you are testing your changes |
43-| `…/pkg/mod/codeberg.org/…@v0.2.0/app` | It is not; you are testing the published library |
43+| `…/pkg/mod/rickub.com/…@v0.2.0/app` | It is not; you are testing the published library |
4444
4545 The second answer is the one that wastes an afternoon, because everything still builds and still passes.
4646
@@ -70,7 +70,7 @@ Put that `go.work` in the **parent** directory and every `go` command run under
7070 Each editor's `go.mod` ends with the same line, commented out:
7171
7272 ```
73-// replace codeberg.org/turbo-editors/turbo-core => ../turbo-core
73+// replace rickub.com/turbo-editors/turbo-core => ../turbo-core
7474 ```
7575
7676 Uncommenting it does the same job. It is kept because it is the form the Go documentation reaches for first and the one you will meet in older notes, but prefer the workspace, for one reason: **a `replace` is an edit to a tracked file, and can be committed by accident.** A committed `replace` breaks a clean clone on any machine without that checkout, and `01-release.tag.sh` refuses to tag a release with one in `go.mod` — which is the safety net telling you the mistake is common enough to be worth a check.
@@ -93,7 +93,7 @@ Then, in each editor, with **no** workspace and **no** replace:
9393
9494 ```bash
9595 rm -f go.work go.work.sum
96-go get codeberg.org/turbo-editors/turbo-core@v0.3.0
96+go get rickub.com/turbo-editors/turbo-core@v0.3.0
9797 go mod tidy
9898 make check
9999 ```
@@ -7,7 +7,7 @@ This guide shows how to run Turbo Go or Turbo Rust against a turbo-core you have
7 The editors depend on turbo-core the way anyone else would — by module path and version:7 The editors depend on turbo-core the way anyone else would — by module path and version:
8 8
9 ```9 ```
10-require codeberg.org/turbo-editors/turbo-core v0.2.010+require rickub.com/turbo-editors/turbo-core v0.2.0
11 ```11 ```
12 12
13 That version comes from the module proxy, not from the directory next door. A change you make in `../turbo-core` is invisible to the editors until it is tagged **and** published, which is exactly the wrong order: you would be publishing to find out whether the change works.13 That version comes from the module proxy, not from the directory next door. A change you make in `../turbo-core` is invisible to the editors until it is tagged **and** published, which is exactly the wrong order: you would be publishing to find out whether the change works.
@@ -29,18 +29,18 @@ make build
29 ./bin/turbo-go29 ./bin/turbo-go
30 ```30 ```
31 31
32-Every import of `codeberg.org/turbo-editors/turbo-core/...` now resolves to your checkout. Nothing in `go.mod` or `go.sum` changed, which is the whole point: there is no edit to undo and nothing to forget before committing.32+Every import of `rickub.com/turbo-editors/turbo-core/...` now resolves to your checkout. Nothing in `go.mod` or `go.sum` changed, which is the whole point: there is no edit to undo and nothing to forget before committing.
33 33
34 ### Check it took34 ### Check it took
35 35
36 ```bash36 ```bash
37-go list -f '{{.Dir}}' codeberg.org/turbo-editors/turbo-core/app37+go list -f '{{.Dir}}' rickub.com/turbo-editors/turbo-core/app
38 ```38 ```
39 39
40 | Answer | Meaning |40 | Answer | Meaning |
41 | --- | --- |41 | --- | --- |
42 | `…/turbo-editors/turbo-core/app` | The workspace is in force; you are testing your changes |42 | `…/turbo-editors/turbo-core/app` | The workspace is in force; you are testing your changes |
43-| `…/pkg/mod/codeberg.org/…@v0.2.0/app` | It is not; you are testing the published library |43+| `…/pkg/mod/rickub.com/…@v0.2.0/app` | It is not; you are testing the published library |
44 44
45 The second answer is the one that wastes an afternoon, because everything still builds and still passes.45 The second answer is the one that wastes an afternoon, because everything still builds and still passes.
46 46
@@ -70,7 +70,7 @@ Put that `go.work` in the **parent** directory and every `go` command run under
70 Each editor's `go.mod` ends with the same line, commented out:70 Each editor's `go.mod` ends with the same line, commented out:
71 71
72 ```72 ```
73-// replace codeberg.org/turbo-editors/turbo-core => ../turbo-core73+// replace rickub.com/turbo-editors/turbo-core => ../turbo-core
74 ```74 ```
75 75
76 Uncommenting it does the same job. It is kept because it is the form the Go documentation reaches for first and the one you will meet in older notes, but prefer the workspace, for one reason: **a `replace` is an edit to a tracked file, and can be committed by accident.** A committed `replace` breaks a clean clone on any machine without that checkout, and `01-release.tag.sh` refuses to tag a release with one in `go.mod` — which is the safety net telling you the mistake is common enough to be worth a check.76 Uncommenting it does the same job. It is kept because it is the form the Go documentation reaches for first and the one you will meet in older notes, but prefer the workspace, for one reason: **a `replace` is an edit to a tracked file, and can be committed by accident.** A committed `replace` breaks a clean clone on any machine without that checkout, and `01-release.tag.sh` refuses to tag a release with one in `go.mod` — which is the safety net telling you the mistake is common enough to be worth a check.
@@ -93,7 +93,7 @@ Then, in each editor, with **no** workspace and **no** replace:
93 93
94 ```bash94 ```bash
95 rm -f go.work go.work.sum95 rm -f go.work go.work.sum
96-go get codeberg.org/turbo-editors/turbo-core@v0.3.096+go get rickub.com/turbo-editors/turbo-core@v0.3.0
97 go mod tidy97 go mod tidy
98 make check98 make check
99 ```99 ```
modified docs/en/reference/profile.md +1 -1
@@ -1,6 +1,6 @@
11 # Reference: profile
22
3-> Neutral, exhaustive description of `codeberg.org/turbo-editors/turbo-core/profile`.
3+> Neutral, exhaustive description of `rickub.com/turbo-editors/turbo-core/profile`.
44
55 `Profile` is the value an editor built on turbo-core differs by. Every field that would otherwise be a hardcoded name, path or command is here.
66
@@ -1,6 +1,6 @@
1 # Reference: profile1 # Reference: profile
2 2
3-> Neutral, exhaustive description of `codeberg.org/turbo-editors/turbo-core/profile`.3+> Neutral, exhaustive description of `rickub.com/turbo-editors/turbo-core/profile`.
4 4
5 `Profile` is the value an editor built on turbo-core differs by. Every field that would otherwise be a hardcoded name, path or command is here.5 `Profile` is the value an editor built on turbo-core differs by. Every field that would otherwise be a hardcoded name, path or command is here.
6 6
modified docs/en/reference/syntax.md +1 -1
@@ -1,6 +1,6 @@
11 # Reference: the syntax extension point
22
3-> Neutral, exhaustive description of what `codeberg.org/turbo-editors/turbo-core/syntax` offers a language author.
3+> Neutral, exhaustive description of what `rickub.com/turbo-editors/turbo-core/syntax` offers a language author.
44
55 ## Language
66
@@ -1,6 +1,6 @@
1 # Reference: the syntax extension point1 # Reference: the syntax extension point
2 2
3-> Neutral, exhaustive description of what `codeberg.org/turbo-editors/turbo-core/syntax` offers a language author.3+> Neutral, exhaustive description of what `rickub.com/turbo-editors/turbo-core/syntax` offers a language author.
4 4
5 ## Language5 ## Language
6 6
modified docs/en/tutorials/build-an-editor.md +5 -5
@@ -35,8 +35,8 @@ We now have an empty module. Next we point it at the library.
3535 Type:
3636
3737 ```bash
38-go mod edit -require=codeberg.org/turbo-editors/turbo-core@v0.1.0
39-go mod edit -replace=codeberg.org/turbo-editors/turbo-core=../turbo-core
38+go mod edit -require=rickub.com/turbo-editors/turbo-core@v0.1.0
39+go mod edit -replace=rickub.com/turbo-editors/turbo-core=../turbo-core
4040 ```
4141
4242 Nothing is printed. Look at `go.mod`:
@@ -54,7 +54,7 @@ Create `profile.go`:
5454 ```go
5555 package main
5656
57-import "codeberg.org/turbo-editors/turbo-core/profile"
57+import "rickub.com/turbo-editors/turbo-core/profile"
5858
5959 // zig is the editor we are building.
6060 func zig() profile.Profile {
@@ -141,7 +141,7 @@ import (
141141
142142 "github.com/gdamore/tcell/v2"
143143
144- "codeberg.org/turbo-editors/turbo-core/app"
144+ "rickub.com/turbo-editors/turbo-core/app"
145145 )
146146
147147 func main() {
@@ -209,7 +209,7 @@ Zig files are not coloured yet, because nothing has told the library what Zig is
209209 ```go
210210 package main
211211
212-import "codeberg.org/turbo-editors/turbo-core/syntax"
212+import "rickub.com/turbo-editors/turbo-core/syntax"
213213
214214 // registerZig teaches the library a very small amount of Zig: its keywords,
215215 // its comments and its strings.
@@ -35,8 +35,8 @@ We now have an empty module. Next we point it at the library.
35 Type:35 Type:
36 36
37 ```bash37 ```bash
38-go mod edit -require=codeberg.org/turbo-editors/turbo-core@v0.1.038+go mod edit -require=rickub.com/turbo-editors/turbo-core@v0.1.0
39-go mod edit -replace=codeberg.org/turbo-editors/turbo-core=../turbo-core39+go mod edit -replace=rickub.com/turbo-editors/turbo-core=../turbo-core
40 ```40 ```
41 41
42 Nothing is printed. Look at `go.mod`:42 Nothing is printed. Look at `go.mod`:
@@ -54,7 +54,7 @@ Create `profile.go`:
54 ```go54 ```go
55 package main55 package main
56 56
57-import "codeberg.org/turbo-editors/turbo-core/profile"57+import "rickub.com/turbo-editors/turbo-core/profile"
58 58
59 // zig is the editor we are building.59 // zig is the editor we are building.
60 func zig() profile.Profile {60 func zig() profile.Profile {
@@ -141,7 +141,7 @@ import (
141 141
142 "github.com/gdamore/tcell/v2"142 "github.com/gdamore/tcell/v2"
143 143
144- "codeberg.org/turbo-editors/turbo-core/app"144+ "rickub.com/turbo-editors/turbo-core/app"
145 )145 )
146 146
147 func main() {147 func main() {
@@ -209,7 +209,7 @@ Zig files are not coloured yet, because nothing has told the library what Zig is
209 ```go209 ```go
210 package main210 package main
211 211
212-import "codeberg.org/turbo-editors/turbo-core/syntax"212+import "rickub.com/turbo-editors/turbo-core/syntax"
213 213
214 // registerZig teaches the library a very small amount of Zig: its keywords,214 // registerZig teaches the library a very small amount of Zig: its keywords,
215 // its comments and its strings.215 // its comments and its strings.
modified docs/fr/README.md +2 -2
@@ -31,7 +31,7 @@ Cette documentation suit [Diátaxis](https://diataxis.fr) : quatre sortes de pag
3131
3232 ## Où sont les éditeurs
3333
34-- **Turbo Go** — `codeberg.org/turbo-editors/turbo-go`
35-- **Turbo Rust** — `codeberg.org/turbo-editors/turbo-rust`
34+- **Turbo Go** — `rickub.com/turbo-editors/turbo-go`
35+- **Turbo Rust** — `rickub.com/turbo-editors/turbo-rust`
3636
3737 Les deux sont minces : une commande, un profil, un analyseur. Si vous cherchez comment *utiliser* l'un d'eux, c'est sa propre documentation qu'il faut lire.
@@ -31,7 +31,7 @@ Cette documentation suit [Diátaxis](https://diataxis.fr) : quatre sortes de pag
31 31
32 ## Où sont les éditeurs32 ## Où sont les éditeurs
33 33
34-- **Turbo Go** — `codeberg.org/turbo-editors/turbo-go`34+- **Turbo Go** — `rickub.com/turbo-editors/turbo-go`
35-- **Turbo Rust** — `codeberg.org/turbo-editors/turbo-rust`35+- **Turbo Rust** — `rickub.com/turbo-editors/turbo-rust`
36 36
37 Les deux sont minces : une commande, un profil, un analyseur. Si vous cherchez comment *utiliser* l'un d'eux, c'est sa propre documentation qu'il faut lire.37 Les deux sont minces : une commande, un profil, un analyseur. Si vous cherchez comment *utiliser* l'un d'eux, c'est sa propre documentation qu'il faut lire.
modified docs/fr/how-to/release-the-library.md +2 -2
@@ -54,8 +54,8 @@ Il n'y a ni `03` ni `04` ici. Ceux-là construisent et attachent des binaires da
5454 Un éditeur à la fois, en lançant sa suite avant de passer au suivant :
5555
5656 ```bash
57-go mod edit -require=codeberg.org/turbo-editors/turbo-core@v0.1.0
58-go mod edit -dropreplace=codeberg.org/turbo-editors/turbo-core
57+go mod edit -require=rickub.com/turbo-editors/turbo-core@v0.1.0
58+go mod edit -dropreplace=rickub.com/turbo-editors/turbo-core
5959 go mod tidy
6060 make test
6161 ```
@@ -54,8 +54,8 @@ Il n'y a ni `03` ni `04` ici. Ceux-là construisent et attachent des binaires da
54 Un éditeur à la fois, en lançant sa suite avant de passer au suivant :54 Un éditeur à la fois, en lançant sa suite avant de passer au suivant :
55 55
56 ```bash56 ```bash
57-go mod edit -require=codeberg.org/turbo-editors/turbo-core@v0.1.057+go mod edit -require=rickub.com/turbo-editors/turbo-core@v0.1.0
58-go mod edit -dropreplace=codeberg.org/turbo-editors/turbo-core58+go mod edit -dropreplace=rickub.com/turbo-editors/turbo-core
59 go mod tidy59 go mod tidy
60 make test60 make test
61 ```61 ```
modified docs/fr/how-to/test-without-publishing.md +6 -6
@@ -7,7 +7,7 @@ Ce guide montre comment faire tourner Turbo Go ou Turbo Rust sur un turbo-core q
77 Les éditeurs dépendent de turbo-core comme n'importe qui d'autre : par chemin de module et par version.
88
99 ```
10-require codeberg.org/turbo-editors/turbo-core v0.2.0
10+require rickub.com/turbo-editors/turbo-core v0.2.0
1111 ```
1212
1313 Cette version vient du proxy de modules, pas du dossier voisin. Une modification faite dans `../turbo-core` est invisible aux éditeurs tant qu'elle n'est pas taguée **et** publiée — soit exactement le mauvais ordre : il faudrait publier pour savoir si le changement marche.
@@ -29,18 +29,18 @@ make build
2929 ./bin/turbo-go
3030 ```
3131
32-Chaque import de `codeberg.org/turbo-editors/turbo-core/...` pointe désormais sur votre copie de travail. Ni `go.mod` ni `go.sum` n'ont changé, et c'est tout l'intérêt : il n'y a aucune modification à défaire, donc rien à oublier avant de commiter.
32+Chaque import de `rickub.com/turbo-editors/turbo-core/...` pointe désormais sur votre copie de travail. Ni `go.mod` ni `go.sum` n'ont changé, et c'est tout l'intérêt : il n'y a aucune modification à défaire, donc rien à oublier avant de commiter.
3333
3434 ### Vérifier que c'est bien pris en compte
3535
3636 ```bash
37-go list -f '{{.Dir}}' codeberg.org/turbo-editors/turbo-core/app
37+go list -f '{{.Dir}}' rickub.com/turbo-editors/turbo-core/app
3838 ```
3939
4040 | Réponse | Signification |
4141 | --- | --- |
4242 | `…/turbo-editors/turbo-core/app` | L'espace de travail est actif ; vous testez vos modifications |
43-| `…/pkg/mod/codeberg.org/…@v0.2.0/app` | Il ne l'est pas ; vous testez la bibliothèque publiée |
43+| `…/pkg/mod/rickub.com/…@v0.2.0/app` | Il ne l'est pas ; vous testez la bibliothèque publiée |
4444
4545 C'est la seconde réponse qui coûte un après-midi, parce que tout compile et tout passe quand même.
4646
@@ -70,7 +70,7 @@ Placez ce `go.work` dans le dossier **parent** et toute commande `go` lancée en
7070 Le `go.mod` de chaque éditeur se termine par la même ligne, en commentaire :
7171
7272 ```
73-// replace codeberg.org/turbo-editors/turbo-core => ../turbo-core
73+// replace rickub.com/turbo-editors/turbo-core => ../turbo-core
7474 ```
7575
7676 La décommenter fait le même travail. Elle est conservée parce que c'est la forme que la documentation Go propose en premier et celle que vous croiserez dans d'anciennes notes, mais préférez l'espace de travail, pour une raison : **un `replace` est une modification d'un fichier suivi par git, et peut être commité par accident.** Un `replace` commité casse un clone propre sur toute machine sans cette copie, et `01-release.tag.sh` refuse de taguer une release dont le `go.mod` en contient un — ce garde-fou est là parce que l'erreur est assez fréquente pour mériter une vérification.
@@ -93,7 +93,7 @@ Puis, dans chaque éditeur, **sans** espace de travail et **sans** replace :
9393
9494 ```bash
9595 rm -f go.work go.work.sum
96-go get codeberg.org/turbo-editors/turbo-core@v0.3.0
96+go get rickub.com/turbo-editors/turbo-core@v0.3.0
9797 go mod tidy
9898 make check
9999 ```
@@ -7,7 +7,7 @@ Ce guide montre comment faire tourner Turbo Go ou Turbo Rust sur un turbo-core q
7 Les éditeurs dépendent de turbo-core comme n'importe qui d'autre : par chemin de module et par version.7 Les éditeurs dépendent de turbo-core comme n'importe qui d'autre : par chemin de module et par version.
8 8
9 ```9 ```
10-require codeberg.org/turbo-editors/turbo-core v0.2.010+require rickub.com/turbo-editors/turbo-core v0.2.0
11 ```11 ```
12 12
13 Cette version vient du proxy de modules, pas du dossier voisin. Une modification faite dans `../turbo-core` est invisible aux éditeurs tant qu'elle n'est pas taguée **et** publiée — soit exactement le mauvais ordre : il faudrait publier pour savoir si le changement marche.13 Cette version vient du proxy de modules, pas du dossier voisin. Une modification faite dans `../turbo-core` est invisible aux éditeurs tant qu'elle n'est pas taguée **et** publiée — soit exactement le mauvais ordre : il faudrait publier pour savoir si le changement marche.
@@ -29,18 +29,18 @@ make build
29 ./bin/turbo-go29 ./bin/turbo-go
30 ```30 ```
31 31
32-Chaque import de `codeberg.org/turbo-editors/turbo-core/...` pointe désormais sur votre copie de travail. Ni `go.mod` ni `go.sum` n'ont changé, et c'est tout l'intérêt : il n'y a aucune modification à défaire, donc rien à oublier avant de commiter.32+Chaque import de `rickub.com/turbo-editors/turbo-core/...` pointe désormais sur votre copie de travail. Ni `go.mod` ni `go.sum` n'ont changé, et c'est tout l'intérêt : il n'y a aucune modification à défaire, donc rien à oublier avant de commiter.
33 33
34 ### Vérifier que c'est bien pris en compte34 ### Vérifier que c'est bien pris en compte
35 35
36 ```bash36 ```bash
37-go list -f '{{.Dir}}' codeberg.org/turbo-editors/turbo-core/app37+go list -f '{{.Dir}}' rickub.com/turbo-editors/turbo-core/app
38 ```38 ```
39 39
40 | Réponse | Signification |40 | Réponse | Signification |
41 | --- | --- |41 | --- | --- |
42 | `…/turbo-editors/turbo-core/app` | L'espace de travail est actif ; vous testez vos modifications |42 | `…/turbo-editors/turbo-core/app` | L'espace de travail est actif ; vous testez vos modifications |
43-| `…/pkg/mod/codeberg.org/…@v0.2.0/app` | Il ne l'est pas ; vous testez la bibliothèque publiée |43+| `…/pkg/mod/rickub.com/…@v0.2.0/app` | Il ne l'est pas ; vous testez la bibliothèque publiée |
44 44
45 C'est la seconde réponse qui coûte un après-midi, parce que tout compile et tout passe quand même.45 C'est la seconde réponse qui coûte un après-midi, parce que tout compile et tout passe quand même.
46 46
@@ -70,7 +70,7 @@ Placez ce `go.work` dans le dossier **parent** et toute commande `go` lancée en
70 Le `go.mod` de chaque éditeur se termine par la même ligne, en commentaire :70 Le `go.mod` de chaque éditeur se termine par la même ligne, en commentaire :
71 71
72 ```72 ```
73-// replace codeberg.org/turbo-editors/turbo-core => ../turbo-core73+// replace rickub.com/turbo-editors/turbo-core => ../turbo-core
74 ```74 ```
75 75
76 La décommenter fait le même travail. Elle est conservée parce que c'est la forme que la documentation Go propose en premier et celle que vous croiserez dans d'anciennes notes, mais préférez l'espace de travail, pour une raison : **un `replace` est une modification d'un fichier suivi par git, et peut être commité par accident.** Un `replace` commité casse un clone propre sur toute machine sans cette copie, et `01-release.tag.sh` refuse de taguer une release dont le `go.mod` en contient un — ce garde-fou est là parce que l'erreur est assez fréquente pour mériter une vérification.76 La décommenter fait le même travail. Elle est conservée parce que c'est la forme que la documentation Go propose en premier et celle que vous croiserez dans d'anciennes notes, mais préférez l'espace de travail, pour une raison : **un `replace` est une modification d'un fichier suivi par git, et peut être commité par accident.** Un `replace` commité casse un clone propre sur toute machine sans cette copie, et `01-release.tag.sh` refuse de taguer une release dont le `go.mod` en contient un — ce garde-fou est là parce que l'erreur est assez fréquente pour mériter une vérification.
@@ -93,7 +93,7 @@ Puis, dans chaque éditeur, **sans** espace de travail et **sans** replace :
93 93
94 ```bash94 ```bash
95 rm -f go.work go.work.sum95 rm -f go.work go.work.sum
96-go get codeberg.org/turbo-editors/turbo-core@v0.3.096+go get rickub.com/turbo-editors/turbo-core@v0.3.0
97 go mod tidy97 go mod tidy
98 make check98 make check
99 ```99 ```
modified docs/fr/reference/profile.md +1 -1
@@ -1,6 +1,6 @@
11 # Référence : profile
22
3-> Description neutre et exhaustive de `codeberg.org/turbo-editors/turbo-core/profile`.
3+> Description neutre et exhaustive de `rickub.com/turbo-editors/turbo-core/profile`.
44
55 `Profile` est la valeur par laquelle diffère un éditeur bâti sur turbo-core. Tout champ qui serait sinon un nom, un chemin ou une commande en dur se trouve ici.
66
@@ -1,6 +1,6 @@
1 # Référence : profile1 # Référence : profile
2 2
3-> Description neutre et exhaustive de `codeberg.org/turbo-editors/turbo-core/profile`.3+> Description neutre et exhaustive de `rickub.com/turbo-editors/turbo-core/profile`.
4 4
5 `Profile` est la valeur par laquelle diffère un éditeur bâti sur turbo-core. Tout champ qui serait sinon un nom, un chemin ou une commande en dur se trouve ici.5 `Profile` est la valeur par laquelle diffère un éditeur bâti sur turbo-core. Tout champ qui serait sinon un nom, un chemin ou une commande en dur se trouve ici.
6 6
modified docs/fr/reference/syntax.md +1 -1
@@ -1,6 +1,6 @@
11 # Référence : le point d'extension syntaxique
22
3-> Description neutre et exhaustive de ce que `codeberg.org/turbo-editors/turbo-core/syntax` offre à l'auteur d'un langage.
3+> Description neutre et exhaustive de ce que `rickub.com/turbo-editors/turbo-core/syntax` offre à l'auteur d'un langage.
44
55 ## Language
66
@@ -1,6 +1,6 @@
1 # Référence : le point d'extension syntaxique1 # Référence : le point d'extension syntaxique
2 2
3-> Description neutre et exhaustive de ce que `codeberg.org/turbo-editors/turbo-core/syntax` offre à l'auteur d'un langage.3+> Description neutre et exhaustive de ce que `rickub.com/turbo-editors/turbo-core/syntax` offre à l'auteur d'un langage.
4 4
5 ## Language5 ## Language
6 6
modified docs/fr/tutorials/build-an-editor.md +5 -5
@@ -35,8 +35,8 @@ Nous avons maintenant un module vide. Nous allons le brancher sur la bibliothèq
3535 Tapez :
3636
3737 ```bash
38-go mod edit -require=codeberg.org/turbo-editors/turbo-core@v0.1.0
39-go mod edit -replace=codeberg.org/turbo-editors/turbo-core=../turbo-core
38+go mod edit -require=rickub.com/turbo-editors/turbo-core@v0.1.0
39+go mod edit -replace=rickub.com/turbo-editors/turbo-core=../turbo-core
4040 ```
4141
4242 Rien ne s'affiche. Regardez `go.mod` :
@@ -54,7 +54,7 @@ Créez `profile.go` :
5454 ```go
5555 package main
5656
57-import "codeberg.org/turbo-editors/turbo-core/profile"
57+import "rickub.com/turbo-editors/turbo-core/profile"
5858
5959 // zig est l'éditeur que nous construisons.
6060 func zig() profile.Profile {
@@ -141,7 +141,7 @@ import (
141141
142142 "github.com/gdamore/tcell/v2"
143143
144- "codeberg.org/turbo-editors/turbo-core/app"
144+ "rickub.com/turbo-editors/turbo-core/app"
145145 )
146146
147147 func main() {
@@ -209,7 +209,7 @@ Les fichiers Zig ne sont pas encore colorés, parce que rien n'a dit à la bibli
209209 ```go
210210 package main
211211
212-import "codeberg.org/turbo-editors/turbo-core/syntax"
212+import "rickub.com/turbo-editors/turbo-core/syntax"
213213
214214 // registerZig enseigne à la bibliothèque un tout petit peu de Zig : ses
215215 // mots-clés, ses commentaires et ses chaînes.
@@ -35,8 +35,8 @@ Nous avons maintenant un module vide. Nous allons le brancher sur la bibliothèq
35 Tapez :35 Tapez :
36 36
37 ```bash37 ```bash
38-go mod edit -require=codeberg.org/turbo-editors/turbo-core@v0.1.038+go mod edit -require=rickub.com/turbo-editors/turbo-core@v0.1.0
39-go mod edit -replace=codeberg.org/turbo-editors/turbo-core=../turbo-core39+go mod edit -replace=rickub.com/turbo-editors/turbo-core=../turbo-core
40 ```40 ```
41 41
42 Rien ne s'affiche. Regardez `go.mod` :42 Rien ne s'affiche. Regardez `go.mod` :
@@ -54,7 +54,7 @@ Créez `profile.go` :
54 ```go54 ```go
55 package main55 package main
56 56
57-import "codeberg.org/turbo-editors/turbo-core/profile"57+import "rickub.com/turbo-editors/turbo-core/profile"
58 58
59 // zig est l'éditeur que nous construisons.59 // zig est l'éditeur que nous construisons.
60 func zig() profile.Profile {60 func zig() profile.Profile {
@@ -141,7 +141,7 @@ import (
141 141
142 "github.com/gdamore/tcell/v2"142 "github.com/gdamore/tcell/v2"
143 143
144- "codeberg.org/turbo-editors/turbo-core/app"144+ "rickub.com/turbo-editors/turbo-core/app"
145 )145 )
146 146
147 func main() {147 func main() {
@@ -209,7 +209,7 @@ Les fichiers Zig ne sont pas encore colorés, parce que rien n'a dit à la bibli
209 ```go209 ```go
210 package main210 package main
211 211
212-import "codeberg.org/turbo-editors/turbo-core/syntax"212+import "rickub.com/turbo-editors/turbo-core/syntax"
213 213
214 // registerZig enseigne à la bibliothèque un tout petit peu de Zig : ses214 // registerZig enseigne à la bibliothèque un tout petit peu de Zig : ses
215 // mots-clés, ses commentaires et ses chaînes.215 // mots-clés, ses commentaires et ses chaînes.
modified editor/click.go +1 -1
@@ -6,7 +6,7 @@ package editor
66 import (
77 "time"
88
9- "codeberg.org/turbo-editors/turbo-core/buffer"
9+ "rickub.com/turbo-editors/turbo-core/buffer"
1010 )
1111
1212 // doubleClickWithin is how long after a press a second one on the same cell
@@ -6,7 +6,7 @@ package editor
6 import (6 import (
7 "time"7 "time"
8 8
9- "codeberg.org/turbo-editors/turbo-core/buffer"9+ "rickub.com/turbo-editors/turbo-core/buffer"
10 )10 )
11 11
12 // doubleClickWithin is how long after a press a second one on the same cell12 // doubleClickWithin is how long after a press a second one on the same cell
modified editor/events.go +1 -1
@@ -3,7 +3,7 @@ package editor
33 import (
44 "github.com/gdamore/tcell/v2"
55
6- "codeberg.org/turbo-editors/turbo-core/buffer"
6+ "rickub.com/turbo-editors/turbo-core/buffer"
77 )
88
99 // HandleKey turns a key press into a movement, a selection or an edit.
@@ -3,7 +3,7 @@ package editor
3 import (3 import (
4 "github.com/gdamore/tcell/v2"4 "github.com/gdamore/tcell/v2"
5 5
6- "codeberg.org/turbo-editors/turbo-core/buffer"6+ "rickub.com/turbo-editors/turbo-core/buffer"
7 )7 )
8 8
9 // HandleKey turns a key press into a movement, a selection or an edit.9 // HandleKey turns a key press into a movement, a selection or an edit.
modified editor/events_test.go +1 -1
@@ -6,7 +6,7 @@ import (
66
77 "github.com/gdamore/tcell/v2"
88
9- "codeberg.org/turbo-editors/turbo-core/buffer"
9+ "rickub.com/turbo-editors/turbo-core/buffer"
1010 )
1111
1212 func TestArrowKeysMoveTheCursor(t *testing.T) {
@@ -6,7 +6,7 @@ import (
6 6
7 "github.com/gdamore/tcell/v2"7 "github.com/gdamore/tcell/v2"
8 8
9- "codeberg.org/turbo-editors/turbo-core/buffer"9+ "rickub.com/turbo-editors/turbo-core/buffer"
10 )10 )
11 11
12 func TestArrowKeysMoveTheCursor(t *testing.T) {12 func TestArrowKeysMoveTheCursor(t *testing.T) {
modified editor/marks.go +1 -1
@@ -3,7 +3,7 @@
33
44 package editor
55
6-import "codeberg.org/turbo-editors/turbo-core/theme"
6+import "rickub.com/turbo-editors/turbo-core/theme"
77
88 // Severity is how serious a mark is.
99 //
@@ -3,7 +3,7 @@
3 3
4 package editor4 package editor
5 5
6-import "codeberg.org/turbo-editors/turbo-core/theme"6+import "rickub.com/turbo-editors/turbo-core/theme"
7 7
8 // Severity is how serious a mark is.8 // Severity is how serious a mark is.
9 //9 //
modified editor/marks_test.go +1 -1
@@ -6,7 +6,7 @@ import (
66
77 "github.com/gdamore/tcell/v2"
88
9- "codeberg.org/turbo-editors/turbo-core/theme"
9+ "rickub.com/turbo-editors/turbo-core/theme"
1010 )
1111
1212 // markAt returns the character in the gutter's separator column on a row, and
@@ -6,7 +6,7 @@ import (
6 6
7 "github.com/gdamore/tcell/v2"7 "github.com/gdamore/tcell/v2"
8 8
9- "codeberg.org/turbo-editors/turbo-core/theme"9+ "rickub.com/turbo-editors/turbo-core/theme"
10 )10 )
11 11
12 // markAt returns the character in the gutter's separator column on a row, and12 // markAt returns the character in the gutter's separator column on a row, and
modified editor/snippet_test.go +1 -1
@@ -4,7 +4,7 @@ import (
44 "strings"
55 "testing"
66
7- "codeberg.org/turbo-editors/turbo-core/buffer"
7+ "rickub.com/turbo-editors/turbo-core/buffer"
88 )
99
1010 // viewOn returns a view on a buffer holding text, with the cursor placed.
@@ -4,7 +4,7 @@ import (
4 "strings"4 "strings"
5 "testing"5 "testing"
6 6
7- "codeberg.org/turbo-editors/turbo-core/buffer"7+ "rickub.com/turbo-editors/turbo-core/buffer"
8 )8 )
9 9
10 // viewOn returns a view on a buffer holding text, with the cursor placed.10 // viewOn returns a view on a buffer holding text, with the cursor placed.
modified editor/view.go +4 -4
@@ -14,10 +14,10 @@ import (
1414
1515 "github.com/gdamore/tcell/v2"
1616
17- "codeberg.org/turbo-editors/turbo-core/buffer"
18- "codeberg.org/turbo-editors/turbo-core/syntax"
19- "codeberg.org/turbo-editors/turbo-core/theme"
20- "codeberg.org/turbo-editors/turbo-core/ui"
17+ "rickub.com/turbo-editors/turbo-core/buffer"
18+ "rickub.com/turbo-editors/turbo-core/syntax"
19+ "rickub.com/turbo-editors/turbo-core/theme"
20+ "rickub.com/turbo-editors/turbo-core/ui"
2121 )
2222
2323 // Clipboard is the text shared between views by cut, copy and paste.
@@ -14,10 +14,10 @@ import (
14 14
15 "github.com/gdamore/tcell/v2"15 "github.com/gdamore/tcell/v2"
16 16
17- "codeberg.org/turbo-editors/turbo-core/buffer"17+ "rickub.com/turbo-editors/turbo-core/buffer"
18- "codeberg.org/turbo-editors/turbo-core/syntax"18+ "rickub.com/turbo-editors/turbo-core/syntax"
19- "codeberg.org/turbo-editors/turbo-core/theme"19+ "rickub.com/turbo-editors/turbo-core/theme"
20- "codeberg.org/turbo-editors/turbo-core/ui"20+ "rickub.com/turbo-editors/turbo-core/ui"
21 )21 )
22 22
23 // Clipboard is the text shared between views by cut, copy and paste.23 // Clipboard is the text shared between views by cut, copy and paste.
modified editor/view_test.go +3 -3
@@ -8,9 +8,9 @@ import (
88
99 "github.com/gdamore/tcell/v2"
1010
11- "codeberg.org/turbo-editors/turbo-core/buffer"
12- "codeberg.org/turbo-editors/turbo-core/theme"
13- "codeberg.org/turbo-editors/turbo-core/ui"
11+ "rickub.com/turbo-editors/turbo-core/buffer"
12+ "rickub.com/turbo-editors/turbo-core/theme"
13+ "rickub.com/turbo-editors/turbo-core/ui"
1414 )
1515
1616 // newTestView returns a view onto text, sized to bounds, with a screen behind
@@ -8,9 +8,9 @@ import (
8 8
9 "github.com/gdamore/tcell/v2"9 "github.com/gdamore/tcell/v2"
10 10
11- "codeberg.org/turbo-editors/turbo-core/buffer"11+ "rickub.com/turbo-editors/turbo-core/buffer"
12- "codeberg.org/turbo-editors/turbo-core/theme"12+ "rickub.com/turbo-editors/turbo-core/theme"
13- "codeberg.org/turbo-editors/turbo-core/ui"13+ "rickub.com/turbo-editors/turbo-core/ui"
14 )14 )
15 15
16 // newTestView returns a view onto text, sized to bounds, with a screen behind16 // newTestView returns a view onto text, sized to bounds, with a screen behind
modified filetree/view.go +1 -1
@@ -1,7 +1,7 @@
11 package filetree
22
33 import (
4- "codeberg.org/turbo-editors/turbo-core/ui"
4+ "rickub.com/turbo-editors/turbo-core/ui"
55 )
66
77 // The markers drawn before a directory, and the indentation of one level.
@@ -1,7 +1,7 @@
1 package filetree1 package filetree
2 2
3 import (3 import (
4- "codeberg.org/turbo-editors/turbo-core/ui"4+ "rickub.com/turbo-editors/turbo-core/ui"
5 )5 )
6 6
7 // The markers drawn before a directory, and the indentation of one level.7 // The markers drawn before a directory, and the indentation of one level.
modified filetree/view_draw.go +2 -2
@@ -5,8 +5,8 @@ import (
55
66 "github.com/gdamore/tcell/v2"
77
8- "codeberg.org/turbo-editors/turbo-core/theme"
9- "codeberg.org/turbo-editors/turbo-core/ui"
8+ "rickub.com/turbo-editors/turbo-core/theme"
9+ "rickub.com/turbo-editors/turbo-core/ui"
1010 )
1111
1212 // Draw paints the visible rows and the scroll bar beside them.
@@ -5,8 +5,8 @@ import (
5 5
6 "github.com/gdamore/tcell/v2"6 "github.com/gdamore/tcell/v2"
7 7
8- "codeberg.org/turbo-editors/turbo-core/theme"8+ "rickub.com/turbo-editors/turbo-core/theme"
9- "codeberg.org/turbo-editors/turbo-core/ui"9+ "rickub.com/turbo-editors/turbo-core/ui"
10 )10 )
11 11
12 // Draw paints the visible rows and the scroll bar beside them.12 // Draw paints the visible rows and the scroll bar beside them.
modified filetree/view_test.go +2 -2
@@ -7,8 +7,8 @@ import (
77
88 "github.com/gdamore/tcell/v2"
99
10- "codeberg.org/turbo-editors/turbo-core/theme"
11- "codeberg.org/turbo-editors/turbo-core/ui"
10+ "rickub.com/turbo-editors/turbo-core/theme"
11+ "rickub.com/turbo-editors/turbo-core/ui"
1212 )
1313
1414 // newTestView returns a focused view on a project, sized to fit.
@@ -7,8 +7,8 @@ import (
7 7
8 "github.com/gdamore/tcell/v2"8 "github.com/gdamore/tcell/v2"
9 9
10- "codeberg.org/turbo-editors/turbo-core/theme"10+ "rickub.com/turbo-editors/turbo-core/theme"
11- "codeberg.org/turbo-editors/turbo-core/ui"11+ "rickub.com/turbo-editors/turbo-core/ui"
12 )12 )
13 13
14 // newTestView returns a focused view on a project, sized to fit.14 // newTestView returns a focused view on a project, sized to fit.
modified go.mod +1 -1
@@ -1,4 +1,4 @@
1-module codeberg.org/turbo-editors/turbo-core
1+module rickub.com/turbo-editors/turbo-core
22
33 go 1.26.1
44
@@ -1,4 +1,4 @@
1-module codeberg.org/turbo-editors/turbo-core1+module rickub.com/turbo-editors/turbo-core
2 2
3 go 1.26.13 go 1.26.1
4 4
modified jsonrpc/jsonrpc_test.go +1 -1
@@ -12,7 +12,7 @@ import (
1212 "testing"
1313 "time"
1414
15- "codeberg.org/turbo-editors/turbo-core/jsonrpc"
15+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
1616 )
1717
1818 // newlineFraming marks messages off with a newline, which is what the Agent
@@ -12,7 +12,7 @@ import (
12 "testing"12 "testing"
13 "time"13 "time"
14 14
15- "codeberg.org/turbo-editors/turbo-core/jsonrpc"15+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
16 )16 )
17 17
18 // newlineFraming marks messages off with a newline, which is what the Agent18 // newlineFraming marks messages off with a newline, which is what the Agent
modified lsp/client.go +1 -1
@@ -10,7 +10,7 @@ import (
1010 "sync"
1111 "time"
1212
13- "codeberg.org/turbo-editors/turbo-core/jsonrpc"
13+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
1414 )
1515
1616 // RequestTimeout caps how long the editor waits for an answer before carrying
@@ -10,7 +10,7 @@ import (
10 "sync"10 "sync"
11 "time"11 "time"
12 12
13- "codeberg.org/turbo-editors/turbo-core/jsonrpc"13+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
14 )14 )
15 15
16 // RequestTimeout caps how long the editor waits for an answer before carrying16 // RequestTimeout caps how long the editor waits for an answer before carrying
modified lsp/conn.go +1 -1
@@ -3,7 +3,7 @@ package lsp
33 import (
44 "io"
55
6- "codeberg.org/turbo-editors/turbo-core/jsonrpc"
6+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
77 )
88
99 // The JSON-RPC layer this client talks over is jsonrpc's, which the Agent
@@ -3,7 +3,7 @@ package lsp
3 import (3 import (
4 "io"4 "io"
5 5
6- "codeberg.org/turbo-editors/turbo-core/jsonrpc"6+ "rickub.com/turbo-editors/turbo-core/jsonrpc"
7 )7 )
8 8
9 // The JSON-RPC layer this client talks over is jsonrpc's, which the Agent9 // The JSON-RPC layer this client talks over is jsonrpc's, which the Agent
modified lsp/lsp_test.go +1 -1
@@ -14,7 +14,7 @@ import (
1414 "testing"
1515 "time"
1616
17- "codeberg.org/turbo-editors/turbo-core/profile"
17+ "rickub.com/turbo-editors/turbo-core/profile"
1818 )
1919
2020 func TestFramingRoundTrip(t *testing.T) {
@@ -14,7 +14,7 @@ import (
14 "testing"14 "testing"
15 "time"15 "time"
16 16
17- "codeberg.org/turbo-editors/turbo-core/profile"17+ "rickub.com/turbo-editors/turbo-core/profile"
18 )18 )
19 19
20 func TestFramingRoundTrip(t *testing.T) {20 func TestFramingRoundTrip(t *testing.T) {
modified lsp/server.go +1 -1
@@ -10,7 +10,7 @@ import (
1010 "path/filepath"
1111 "strings"
1212
13- "codeberg.org/turbo-editors/turbo-core/profile"
13+ "rickub.com/turbo-editors/turbo-core/profile"
1414 )
1515
1616 // ErrServerNotFound is returned when the language server is nowhere to be
@@ -10,7 +10,7 @@ import (
10 "path/filepath"10 "path/filepath"
11 "strings"11 "strings"
12 12
13- "codeberg.org/turbo-editors/turbo-core/profile"13+ "rickub.com/turbo-editors/turbo-core/profile"
14 )14 )
15 15
16 // ErrServerNotFound is returned when the language server is nowhere to be16 // ErrServerNotFound is returned when the language server is nowhere to be
modified settings/create.go +2 -2
@@ -4,8 +4,8 @@ import (
44 "fmt"
55 "os"
66
7- "codeberg.org/turbo-editors/turbo-core/profile"
8- "codeberg.org/turbo-editors/turbo-core/projectfile"
7+ "rickub.com/turbo-editors/turbo-core/profile"
8+ "rickub.com/turbo-editors/turbo-core/projectfile"
99 )
1010
1111 // Create writes a pre-filled settings file for a project and returns its path.
@@ -4,8 +4,8 @@ import (
4 "fmt"4 "fmt"
5 "os"5 "os"
6 6
7- "codeberg.org/turbo-editors/turbo-core/profile"7+ "rickub.com/turbo-editors/turbo-core/profile"
8- "codeberg.org/turbo-editors/turbo-core/projectfile"8+ "rickub.com/turbo-editors/turbo-core/projectfile"
9 )9 )
10 10
11 // Create writes a pre-filled settings file for a project and returns its path.11 // Create writes a pre-filled settings file for a project and returns its path.
modified settings/settings.go +1 -1
@@ -24,7 +24,7 @@ import (
2424
2525 "github.com/BurntSushi/toml"
2626
27- "codeberg.org/turbo-editors/turbo-core/profile"
27+ "rickub.com/turbo-editors/turbo-core/profile"
2828 )
2929
3030 // FileName is the file a project's settings live in, inside the editor's own
@@ -24,7 +24,7 @@ import (
24 24
25 "github.com/BurntSushi/toml"25 "github.com/BurntSushi/toml"
26 26
27- "codeberg.org/turbo-editors/turbo-core/profile"27+ "rickub.com/turbo-editors/turbo-core/profile"
28 )28 )
29 29
30 // FileName is the file a project's settings live in, inside the editor's own30 // FileName is the file a project's settings live in, inside the editor's own
modified settings/settings_test.go +1 -1
@@ -8,7 +8,7 @@ import (
88 "testing"
99 "time"
1010
11- "codeberg.org/turbo-editors/turbo-core/profile"
11+ "rickub.com/turbo-editors/turbo-core/profile"
1212 )
1313
1414 // writeSettings puts a settings file in a fresh project directory and returns
@@ -8,7 +8,7 @@ import (
8 "testing"8 "testing"
9 "time"9 "time"
10 10
11- "codeberg.org/turbo-editors/turbo-core/profile"11+ "rickub.com/turbo-editors/turbo-core/profile"
12 )12 )
13 13
14 // writeSettings puts a settings file in a fresh project directory and returns14 // writeSettings puts a settings file in a fresh project directory and returns
modified snippets/create.go +2 -2
@@ -4,8 +4,8 @@ import (
44 "fmt"
55 "os"
66
7- "codeberg.org/turbo-editors/turbo-core/profile"
8- "codeberg.org/turbo-editors/turbo-core/projectfile"
7+ "rickub.com/turbo-editors/turbo-core/profile"
8+ "rickub.com/turbo-editors/turbo-core/projectfile"
99 )
1010
1111 // template returns the starter file: the profile's Templates.Snippets with the
@@ -4,8 +4,8 @@ import (
4 "fmt"4 "fmt"
5 "os"5 "os"
6 6
7- "codeberg.org/turbo-editors/turbo-core/profile"7+ "rickub.com/turbo-editors/turbo-core/profile"
8- "codeberg.org/turbo-editors/turbo-core/projectfile"8+ "rickub.com/turbo-editors/turbo-core/projectfile"
9 )9 )
10 10
11 // template returns the starter file: the profile's Templates.Snippets with the11 // template returns the starter file: the profile's Templates.Snippets with the
modified snippets/snippets.go +1 -1
@@ -21,7 +21,7 @@ import (
2121
2222 "github.com/BurntSushi/toml"
2323
24- "codeberg.org/turbo-editors/turbo-core/profile"
24+ "rickub.com/turbo-editors/turbo-core/profile"
2525 )
2626
2727 // FileName is the file both the project and the user keep their snippets in.
@@ -21,7 +21,7 @@ import (
21 21
22 "github.com/BurntSushi/toml"22 "github.com/BurntSushi/toml"
23 23
24- "codeberg.org/turbo-editors/turbo-core/profile"24+ "rickub.com/turbo-editors/turbo-core/profile"
25 )25 )
26 26
27 // FileName is the file both the project and the user keep their snippets in.27 // FileName is the file both the project and the user keep their snippets in.
modified snippets/snippets_test.go +1 -1
@@ -7,7 +7,7 @@ import (
77 "strings"
88 "testing"
99
10- "codeberg.org/turbo-editors/turbo-core/profile"
10+ "rickub.com/turbo-editors/turbo-core/profile"
1111 )
1212
1313 // project builds a project directory holding a snippets file.
@@ -7,7 +7,7 @@ import (
7 "strings"7 "strings"
8 "testing"8 "testing"
9 9
10- "codeberg.org/turbo-editors/turbo-core/profile"10+ "rickub.com/turbo-editors/turbo-core/profile"
11 )11 )
12 12
13 // project builds a project directory holding a snippets file.13 // project builds a project directory holding a snippets file.
modified syntax/class.go +1 -1
@@ -23,7 +23,7 @@
2323 // token class and the colour it resolves to are named in one place.
2424 package syntax
2525
26-import "codeberg.org/turbo-editors/turbo-core/theme"
26+import "rickub.com/turbo-editors/turbo-core/theme"
2727
2828 // Class is what a run of source text is, in colouring terms.
2929 //
@@ -23,7 +23,7 @@
23 // token class and the colour it resolves to are named in one place.23 // token class and the colour it resolves to are named in one place.
24 package syntax24 package syntax
25 25
26-import "codeberg.org/turbo-editors/turbo-core/theme"26+import "rickub.com/turbo-editors/turbo-core/theme"
27 27
28 // Class is what a run of source text is, in colouring terms.28 // Class is what a run of source text is, in colouring terms.
29 //29 //
modified syntax/example_test.go +1 -1
@@ -3,7 +3,7 @@ package syntax_test
33 import (
44 "fmt"
55
6- "codeberg.org/turbo-editors/turbo-core/syntax"
6+ "rickub.com/turbo-editors/turbo-core/syntax"
77 )
88
99 // Colouring a line of Markdown.
@@ -3,7 +3,7 @@ package syntax_test
3 import (3 import (
4 "fmt"4 "fmt"
5 5
6- "codeberg.org/turbo-editors/turbo-core/syntax"6+ "rickub.com/turbo-editors/turbo-core/syntax"
7 )7 )
8 8
9 // Colouring a line of Markdown.9 // Colouring a line of Markdown.
modified syntax/highlight_test.go +1 -1
@@ -3,7 +3,7 @@ package syntax
33 import (
44 "testing"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
6+ "rickub.com/turbo-editors/turbo-core/theme"
77 )
88
99 // classAt returns the class covering a rune column on a line, and whether any
@@ -3,7 +3,7 @@ package syntax
3 import (3 import (
4 "testing"4 "testing"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7 )7 )
8 8
9 // classAt returns the class covering a rune column on a line, and whether any9 // classAt returns the class covering a rune column on a line, and whether any
modified terminal/view.go +1 -1
@@ -4,7 +4,7 @@ import (
44 "sync"
55 "time"
66
7- "codeberg.org/turbo-editors/turbo-core/ui"
7+ "rickub.com/turbo-editors/turbo-core/ui"
88 )
99
1010 // refreshInterval is how often a busy terminal asks for a redraw.
@@ -4,7 +4,7 @@ import (
4 "sync"4 "sync"
5 "time"5 "time"
6 6
7- "codeberg.org/turbo-editors/turbo-core/ui"7+ "rickub.com/turbo-editors/turbo-core/ui"
8 )8 )
9 9
10 // refreshInterval is how often a busy terminal asks for a redraw.10 // refreshInterval is how often a busy terminal asks for a redraw.
modified terminal/view_draw.go +2 -2
@@ -3,8 +3,8 @@ package terminal
33 import (
44 "github.com/gdamore/tcell/v2"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
7- "codeberg.org/turbo-editors/turbo-core/ui"
6+ "rickub.com/turbo-editors/turbo-core/theme"
7+ "rickub.com/turbo-editors/turbo-core/ui"
88 )
99
1010 // Draw paints the terminal's grid.
@@ -3,8 +3,8 @@ package terminal
3 import (3 import (
4 "github.com/gdamore/tcell/v2"4 "github.com/gdamore/tcell/v2"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7- "codeberg.org/turbo-editors/turbo-core/ui"7+ "rickub.com/turbo-editors/turbo-core/ui"
8 )8 )
9 9
10 // Draw paints the terminal's grid.10 // Draw paints the terminal's grid.
modified terminal/view_test.go +2 -2
@@ -7,8 +7,8 @@ import (
77
88 "github.com/gdamore/tcell/v2"
99
10- "codeberg.org/turbo-editors/turbo-core/theme"
11- "codeberg.org/turbo-editors/turbo-core/ui"
10+ "rickub.com/turbo-editors/turbo-core/theme"
11+ "rickub.com/turbo-editors/turbo-core/ui"
1212 )
1313
1414 // newTestView starts a view on a bare shell, closed when the test ends.
@@ -7,8 +7,8 @@ import (
7 7
8 "github.com/gdamore/tcell/v2"8 "github.com/gdamore/tcell/v2"
9 9
10- "codeberg.org/turbo-editors/turbo-core/theme"10+ "rickub.com/turbo-editors/turbo-core/theme"
11- "codeberg.org/turbo-editors/turbo-core/ui"11+ "rickub.com/turbo-editors/turbo-core/ui"
12 )12 )
13 13
14 // newTestView starts a view on a bare shell, closed when the test ends.14 // newTestView starts a view on a bare shell, closed when the test ends.
modified theme/example_test.go +1 -1
@@ -3,7 +3,7 @@ package theme_test
33 import (
44 "fmt"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
6+ "rickub.com/turbo-editors/turbo-core/theme"
77 )
88
99 // Reading a style out of a theme, and the fallback that makes a partial theme
@@ -3,7 +3,7 @@ package theme_test
3 import (3 import (
4 "fmt"4 "fmt"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7 )7 )
8 8
9 // Reading a style out of a theme, and the fallback that makes a partial theme9 // Reading a style out of a theme, and the fallback that makes a partial theme
modified tools/create.go +2 -2
@@ -3,8 +3,8 @@ package tools
33 import (
44 "fmt"
55
6- "codeberg.org/turbo-editors/turbo-core/profile"
7- "codeberg.org/turbo-editors/turbo-core/projectfile"
6+ "rickub.com/turbo-editors/turbo-core/profile"
7+ "rickub.com/turbo-editors/turbo-core/projectfile"
88 )
99
1010 // Create writes a starter tools file for a project and returns its path.
@@ -3,8 +3,8 @@ package tools
3 import (3 import (
4 "fmt"4 "fmt"
5 5
6- "codeberg.org/turbo-editors/turbo-core/profile"6+ "rickub.com/turbo-editors/turbo-core/profile"
7- "codeberg.org/turbo-editors/turbo-core/projectfile"7+ "rickub.com/turbo-editors/turbo-core/projectfile"
8 )8 )
9 9
10 // Create writes a starter tools file for a project and returns its path.10 // Create writes a starter tools file for a project and returns its path.
modified tools/tools.go +1 -1
@@ -24,7 +24,7 @@ import (
2424
2525 "github.com/BurntSushi/toml"
2626
27- "codeberg.org/turbo-editors/turbo-core/profile"
27+ "rickub.com/turbo-editors/turbo-core/profile"
2828 )
2929
3030 // FileName is the file a project keeps its commands in. It sits in the editor's
@@ -24,7 +24,7 @@ import (
24 24
25 "github.com/BurntSushi/toml"25 "github.com/BurntSushi/toml"
26 26
27- "codeberg.org/turbo-editors/turbo-core/profile"27+ "rickub.com/turbo-editors/turbo-core/profile"
28 )28 )
29 29
30 // FileName is the file a project keeps its commands in. It sits in the editor's30 // FileName is the file a project keeps its commands in. It sits in the editor's
modified tools/tools_test.go +1 -1
@@ -7,7 +7,7 @@ import (
77 "strings"
88 "testing"
99
10- "codeberg.org/turbo-editors/turbo-core/profile"
10+ "rickub.com/turbo-editors/turbo-core/profile"
1111 )
1212
1313 // testProfile is a fictional editor. The template it carries is a small but
@@ -7,7 +7,7 @@ import (
7 "strings"7 "strings"
8 "testing"8 "testing"
9 9
10- "codeberg.org/turbo-editors/turbo-core/profile"10+ "rickub.com/turbo-editors/turbo-core/profile"
11 )11 )
12 12
13 // testProfile is a fictional editor. The template it carries is a small but13 // testProfile is a fictional editor. The template it carries is a small but
modified ui/controls.go +1 -1
@@ -3,7 +3,7 @@ package ui
33 import (
44 "github.com/gdamore/tcell/v2"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
6+ "rickub.com/turbo-editors/turbo-core/theme"
77 )
88
99 // Label is a line of static text in a dialog. The focus ring skips it.
@@ -3,7 +3,7 @@ package ui
3 import (3 import (
4 "github.com/gdamore/tcell/v2"4 "github.com/gdamore/tcell/v2"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7 )7 )
8 8
9 // Label is a line of static text in a dialog. The focus ring skips it.9 // Label is a line of static text in a dialog. The focus ring skips it.
modified ui/desktop.go +1 -1
@@ -3,7 +3,7 @@ package ui
33 import (
44 "github.com/gdamore/tcell/v2"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
6+ "rickub.com/turbo-editors/turbo-core/theme"
77 )
88
99 // desktopPattern is the character Turbo Vision tiled its backdrop with.
@@ -3,7 +3,7 @@ package ui
3 import (3 import (
4 "github.com/gdamore/tcell/v2"4 "github.com/gdamore/tcell/v2"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7 )7 )
8 8
9 // desktopPattern is the character Turbo Vision tiled its backdrop with.9 // desktopPattern is the character Turbo Vision tiled its backdrop with.
modified ui/dialog.go +1 -1
@@ -3,7 +3,7 @@ package ui
33 import (
44 "github.com/gdamore/tcell/v2"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
6+ "rickub.com/turbo-editors/turbo-core/theme"
77 )
88
99 // Result is how a dialog ended.
@@ -3,7 +3,7 @@ package ui
3 import (3 import (
4 "github.com/gdamore/tcell/v2"4 "github.com/gdamore/tcell/v2"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7 )7 )
8 8
9 // Result is how a dialog ended.9 // Result is how a dialog ended.
modified ui/example_test.go +1 -1
@@ -3,7 +3,7 @@ package ui_test
33 import (
44 "fmt"
55
6- "codeberg.org/turbo-editors/turbo-core/ui"
6+ "rickub.com/turbo-editors/turbo-core/ui"
77 )
88
99 // Building a menu, the way the editor's File menu is put together.
@@ -3,7 +3,7 @@ package ui_test
3 import (3 import (
4 "fmt"4 "fmt"
5 5
6- "codeberg.org/turbo-editors/turbo-core/ui"6+ "rickub.com/turbo-editors/turbo-core/ui"
7 )7 )
8 8
9 // Building a menu, the way the editor's File menu is put together.9 // Building a menu, the way the editor's File menu is put together.
modified ui/listbox.go +1 -1
@@ -3,7 +3,7 @@ package ui
33 import (
44 "github.com/gdamore/tcell/v2"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
6+ "rickub.com/turbo-editors/turbo-core/theme"
77 )
88
99 // ListBox is a scrolling list of strings with one selected line.
@@ -3,7 +3,7 @@ package ui
3 import (3 import (
4 "github.com/gdamore/tcell/v2"4 "github.com/gdamore/tcell/v2"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7 )7 )
8 8
9 // ListBox is a scrolling list of strings with one selected line.9 // ListBox is a scrolling list of strings with one selected line.
modified ui/menu_draw.go +1 -1
@@ -3,7 +3,7 @@ package ui
33 // Where the menu bar puts its panels, and how it paints them.
44
55 import (
6- "codeberg.org/turbo-editors/turbo-core/theme"
6+ "rickub.com/turbo-editors/turbo-core/theme"
77 )
88
99 // menuX returns the column the title of menu i starts at.
@@ -3,7 +3,7 @@ package ui
3 // Where the menu bar puts its panels, and how it paints them.3 // Where the menu bar puts its panels, and how it paints them.
4 4
5 import (5 import (
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7 )7 )
8 8
9 // menuX returns the column the title of menu i starts at.9 // menuX returns the column the title of menu i starts at.
modified ui/statusbar.go +1 -1
@@ -3,7 +3,7 @@ package ui
33 import (
44 "github.com/gdamore/tcell/v2"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
6+ "rickub.com/turbo-editors/turbo-core/theme"
77 )
88
99 // StatusItem is one clickable hint on the status bar, such as "F2 Save".
@@ -3,7 +3,7 @@ package ui
3 import (3 import (
4 "github.com/gdamore/tcell/v2"4 "github.com/gdamore/tcell/v2"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7 )7 )
8 8
9 // StatusItem is one clickable hint on the status bar, such as "F2 Save".9 // StatusItem is one clickable hint on the status bar, such as "F2 Save".
modified ui/submenu.go +1 -1
@@ -6,7 +6,7 @@ package ui
66 import (
77 "github.com/gdamore/tcell/v2"
88
9- "codeberg.org/turbo-editors/turbo-core/theme"
9+ "rickub.com/turbo-editors/turbo-core/theme"
1010 )
1111
1212 // submenuMarker is drawn at the right of an item that opens a submenu. It is
@@ -6,7 +6,7 @@ package ui
6 import (6 import (
7 "github.com/gdamore/tcell/v2"7 "github.com/gdamore/tcell/v2"
8 8
9- "codeberg.org/turbo-editors/turbo-core/theme"9+ "rickub.com/turbo-editors/turbo-core/theme"
10 )10 )
11 11
12 // submenuMarker is drawn at the right of an item that opens a submenu. It is12 // submenuMarker is drawn at the right of an item that opens a submenu. It is
modified ui/uitest_test.go +1 -1
@@ -6,7 +6,7 @@ import (
66
77 "github.com/gdamore/tcell/v2"
88
9- "codeberg.org/turbo-editors/turbo-core/theme"
9+ "rickub.com/turbo-editors/turbo-core/theme"
1010 )
1111
1212 // newTestScreen returns a simulated terminal of the given size, already
@@ -6,7 +6,7 @@ import (
6 6
7 "github.com/gdamore/tcell/v2"7 "github.com/gdamore/tcell/v2"
8 8
9- "codeberg.org/turbo-editors/turbo-core/theme"9+ "rickub.com/turbo-editors/turbo-core/theme"
10 )10 )
11 11
12 // newTestScreen returns a simulated terminal of the given size, already12 // newTestScreen returns a simulated terminal of the given size, already
modified ui/view.go +1 -1
@@ -3,7 +3,7 @@ package ui
33 import (
44 "github.com/gdamore/tcell/v2"
55
6- "codeberg.org/turbo-editors/turbo-core/theme"
6+ "rickub.com/turbo-editors/turbo-core/theme"
77 )
88
99 // Widget is anything the framework draws and hands events to.
@@ -3,7 +3,7 @@ package ui
3 import (3 import (
4 "github.com/gdamore/tcell/v2"4 "github.com/gdamore/tcell/v2"
5 5
6- "codeberg.org/turbo-editors/turbo-core/theme"6+ "rickub.com/turbo-editors/turbo-core/theme"
7 )7 )
8 8
9 // Widget is anything the framework draws and hands events to.9 // Widget is anything the framework draws and hands events to.
modified ui/widgets_test.go +1 -1
@@ -6,7 +6,7 @@ import (
66
77 "github.com/gdamore/tcell/v2"
88
9- "codeberg.org/turbo-editors/turbo-core/theme"
9+ "rickub.com/turbo-editors/turbo-core/theme"
1010 )
1111
1212 // stubContent is a widget that records what it was given, so a container's
@@ -6,7 +6,7 @@ import (
6 6
7 "github.com/gdamore/tcell/v2"7 "github.com/gdamore/tcell/v2"
8 8
9- "codeberg.org/turbo-editors/turbo-core/theme"9+ "rickub.com/turbo-editors/turbo-core/theme"
10 )10 )
11 11
12 // stubContent is a widget that records what it was given, so a container's12 // stubContent is a widget that records what it was given, so a container's
modified ui/window.go +1 -1
@@ -5,7 +5,7 @@ import (
55
66 "github.com/gdamore/tcell/v2"
77
8- "codeberg.org/turbo-editors/turbo-core/theme"
8+ "rickub.com/turbo-editors/turbo-core/theme"
99 )
1010
1111 // MinWindowWidth and MinWindowHeight are the smallest a window may be dragged
@@ -5,7 +5,7 @@ import (
5 5
6 "github.com/gdamore/tcell/v2"6 "github.com/gdamore/tcell/v2"
7 7
8- "codeberg.org/turbo-editors/turbo-core/theme"8+ "rickub.com/turbo-editors/turbo-core/theme"
9 )9 )
10 10
11 // MinWindowWidth and MinWindowHeight are the smallest a window may be dragged11 // MinWindowWidth and MinWindowHeight are the smallest a window may be dragged
modified version/README.md +1 -1
@@ -53,7 +53,7 @@ if info.Commit != "" {
5353 Stamp it like this — the Makefile and `scripts/install.sh` both do:
5454
5555 ```sh
56-go build -ldflags "-X 'codeberg.org/turbo-editors/turbo-core/version.stamp=$(git describe --tags --dirty)'" .
56+go build -ldflags "-X 'rickub.com/turbo-editors/turbo-core/version.stamp=$(git describe --tags --dirty)'" .
5757 ```
5858
5959 ## Anything that ships has to be stamped
@@ -53,7 +53,7 @@ if info.Commit != "" {
53 Stamp it like this — the Makefile and `scripts/install.sh` both do:53 Stamp it like this — the Makefile and `scripts/install.sh` both do:
54 54
55 ```sh55 ```sh
56-go build -ldflags "-X 'codeberg.org/turbo-editors/turbo-core/version.stamp=$(git describe --tags --dirty)'" .56+go build -ldflags "-X 'rickub.com/turbo-editors/turbo-core/version.stamp=$(git describe --tags --dirty)'" .
57 ```57 ```
58 58
59 ## Anything that ships has to be stamped59 ## Anything that ships has to be stamped
modified version/version.go +1 -1
@@ -13,7 +13,7 @@ import (
1313
1414 // The build stamps these through the linker:
1515 //
16-// go build -ldflags "-X 'codeberg.org/turbo-editors/turbo-core/version.stamp=v0.2.0'" .
16+// go build -ldflags "-X 'rickub.com/turbo-editors/turbo-core/version.stamp=v0.2.0'" .
1717 //
1818 // The Makefile and scripts/install.sh both do it, filling stamp from
1919 // `git describe --tags --dirty`. They are unexported because nothing but the
@@ -13,7 +13,7 @@ import (
13 13
14 // The build stamps these through the linker:14 // The build stamps these through the linker:
15 //15 //
16-// go build -ldflags "-X 'codeberg.org/turbo-editors/turbo-core/version.stamp=v0.2.0'" .16+// go build -ldflags "-X 'rickub.com/turbo-editors/turbo-core/version.stamp=v0.2.0'" .
17 //17 //
18 // The Makefile and scripts/install.sh both do it, filling stamp from18 // The Makefile and scripts/install.sh both do it, filling stamp from
19 // `git describe --tags --dirty`. They are unexported because nothing but the19 // `git describe --tags --dirty`. They are unexported because nothing but the