Skip to content

Commit

Permalink
Replace harry-hov with gnolang
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-hov committed May 29, 2024
1 parent eeeb3d9 commit 02bac5b
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
```
Expand Down
4 changes: 2 additions & 2 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
5 changes: 2 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/harry-hov/gnopls
module github.com/gnolang/gnopls

go 1.21.1

Expand All @@ -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
)

Expand Down Expand Up @@ -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
)
2 changes: 1 addition & 1 deletion internal/lsp/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
"strings"

"github.com/harry-hov/gnopls/internal/tools"
"github.com/gnolang/gnopls/internal/tools"
)

type ErrorInfo struct {
Expand Down
2 changes: 1 addition & 1 deletion internal/lsp/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/lsp/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion internal/lsp/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
6 changes: 3 additions & 3 deletions internal/lsp/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "github.com/harry-hov/gnopls/cmd"
import "github.com/gnolang/gnopls/cmd"

func main() {
cmd.Execute()
Expand Down

0 comments on commit 02bac5b

Please sign in to comment.