diff --git a/.goreleaser.yml b/.goreleaser.yml index f5e3542..0e6977d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -2,7 +2,7 @@ project_name: gnopls builds: - main: . ldflags: - - -s -w -X github.com/harry-hov/gnopls/internal/version.Version={{.Tag}} + - -s -w -X github.com/gnolang/gnopls/internal/version.Version={{.Tag}} goos: - linux - darwin diff --git a/README.md b/README.md index 35702c8..425ad47 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # `gnopls`, the Gno language server -![Build & Test](https://github.com/harry-hov/gnopls/actions/workflows/go.yml/badge.svg) +![Build & Test](https://github.com/gnolang/gnopls/actions/workflows/go.yml/badge.svg) -`gnopls` (pronounced "Gno please") is the unofficial Gno [language server]. It provides IDE features to any [LSP]-compatible editor. +`gnopls` (pronounced "Gno please") is the Gno [language server]. It provides IDE features to any [LSP]-compatible editor. ## Installation @@ -11,12 +11,12 @@ command: - Using `go install` ```sh - go install github.com/harry-hov/gnopls@latest + go install github.com/gnolang/gnopls@latest ``` - From source code ```sh - git clone https://github.com/harry-hov/gnopls.git + git clone https://github.com/gnolang/gnopls.git cd gnopls make install ``` diff --git a/cmd/cmd.go b/cmd/cmd.go index 8594e8f..d51d087 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -5,8 +5,8 @@ import ( "log/slog" "os" - "github.com/harry-hov/gnopls/internal/env" - "github.com/harry-hov/gnopls/internal/lsp" + "github.com/gnolang/gnopls/internal/env" + "github.com/gnolang/gnopls/internal/lsp" "github.com/spf13/cobra" ) diff --git a/cmd/serve.go b/cmd/serve.go index 18e879f..9ac11a8 100644 --- a/cmd/serve.go +++ b/cmd/serve.go @@ -4,8 +4,8 @@ import ( "log/slog" "os" - "github.com/harry-hov/gnopls/internal/env" - "github.com/harry-hov/gnopls/internal/lsp" + "github.com/gnolang/gnopls/internal/env" + "github.com/gnolang/gnopls/internal/lsp" "github.com/spf13/cobra" ) diff --git a/cmd/version.go b/cmd/version.go index 44e7b7e..6da89b9 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -3,7 +3,7 @@ package cmd import ( "fmt" - "github.com/harry-hov/gnopls/internal/version" + "github.com/gnolang/gnopls/internal/version" "github.com/spf13/cobra" ) diff --git a/go.mod b/go.mod index 1ff6ca1..b9f600d 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/harry-hov/gnopls +module github.com/gnolang/gnopls go 1.21.1 @@ -13,7 +13,7 @@ require ( go.lsp.dev/uri v0.3.0 go.uber.org/multierr v1.9.0 golang.org/x/mod v0.14.0 - golang.org/x/text v0.14.0 + golang.org/x/tools v0.13.0 mvdan.cc/gofumpt v0.4.0 ) @@ -58,6 +58,5 @@ require ( golang.org/x/crypto v0.15.0 // indirect golang.org/x/net v0.17.0 // indirect golang.org/x/sys v0.14.0 // indirect - golang.org/x/tools v0.13.0 // indirect google.golang.org/protobuf v1.31.0 // indirect ) diff --git a/internal/lsp/build.go b/internal/lsp/build.go index a39cc87..8062401 100644 --- a/internal/lsp/build.go +++ b/internal/lsp/build.go @@ -8,7 +8,7 @@ import ( "strconv" "strings" - "github.com/harry-hov/gnopls/internal/tools" + "github.com/gnolang/gnopls/internal/tools" ) type ErrorInfo struct { diff --git a/internal/lsp/check.go b/internal/lsp/check.go index 75d8d41..505b227 100644 --- a/internal/lsp/check.go +++ b/internal/lsp/check.go @@ -16,7 +16,7 @@ import ( "strings" "github.com/gnolang/gno/gnovm/pkg/gnomod" - "github.com/harry-hov/gnopls/internal/env" + "github.com/gnolang/gnopls/internal/env" "go.uber.org/multierr" ) diff --git a/internal/lsp/format.go b/internal/lsp/format.go index 5afc27e..1e845d5 100644 --- a/internal/lsp/format.go +++ b/internal/lsp/format.go @@ -7,7 +7,7 @@ import ( "log/slog" "math" - "github.com/harry-hov/gnopls/internal/tools" + "github.com/gnolang/gnopls/internal/tools" "go.lsp.dev/jsonrpc2" "go.lsp.dev/protocol" diff --git a/internal/lsp/run.go b/internal/lsp/run.go index bb4ae78..9768be8 100644 --- a/internal/lsp/run.go +++ b/internal/lsp/run.go @@ -6,7 +6,7 @@ import ( "io" "os" - "github.com/harry-hov/gnopls/internal/env" + "github.com/gnolang/gnopls/internal/env" "go.lsp.dev/jsonrpc2" "go.lsp.dev/pkg/fakenet" ) diff --git a/internal/lsp/server.go b/internal/lsp/server.go index c967118..f53453d 100644 --- a/internal/lsp/server.go +++ b/internal/lsp/server.go @@ -10,9 +10,9 @@ import ( "go.lsp.dev/jsonrpc2" "go.lsp.dev/protocol" - "github.com/harry-hov/gnopls/internal/env" - "github.com/harry-hov/gnopls/internal/tools" - "github.com/harry-hov/gnopls/internal/version" + "github.com/gnolang/gnopls/internal/env" + "github.com/gnolang/gnopls/internal/tools" + "github.com/gnolang/gnopls/internal/version" ) type server struct { diff --git a/internal/version/version.go b/internal/version/version.go index ed43500..1ef36e9 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -15,7 +15,7 @@ func getLatestReleaseTag(ctx context.Context) (string, error) { latest, _, err := github. NewClient(nil). Repositories. - GetLatestRelease(ctx, "harry-hov", "gnopls") + GetLatestRelease(ctx, "gnolang", "gnopls") if err != nil { return "", err } diff --git a/main.go b/main.go index 2972da2..1a5e871 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -import "github.com/harry-hov/gnopls/cmd" +import "github.com/gnolang/gnopls/cmd" func main() { cmd.Execute()