Skip to content

Commit 222ac85

Browse files
committed
Replace package names
1 parent 46da320 commit 222ac85

17 files changed

+43
-40
lines changed

README.mkd

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Vim Script Parser written in Go
22

3-
[![Build Status](https://travis-ci.org/haya14busa/go-vimlparser.svg?branch=master)](https://travis-ci.org/haya14busa/go-vimlparser)
4-
[![codecov](https://codecov.io/gh/haya14busa/go-vimlparser/branch/master/graph/badge.svg)](https://codecov.io/gh/haya14busa/go-vimlparser)
5-
[![Sourcegraph](https://sourcegraph.com/github.com/haya14busa/go-vimlparser/-/badge.svg)](https://sourcegraph.com/github.com/haya14busa/go-vimlparser?badge)
6-
[![GoDoc](https://godoc.org/github.com/haya14busa/go-vimlparser?status.svg)](https://godoc.org/github.com/haya14busa/go-vimlparser)
3+
[![Build Status](https://travis-ci.org/vim-jp/go-vimlparser.svg?branch=master)](https://travis-ci.org/vim-jp/go-vimlparser)
4+
[![codecov](https://codecov.io/gh/vim-jp/go-vimlparser/branch/master/graph/badge.svg)](https://codecov.io/gh/vim-jp/go-vimlparser)
5+
[![Sourcegraph](https://sourcegraph.com/github.com/vim-jp/go-vimlparser/-/badge.svg)](https://sourcegraph.com/github.com/vim-jp/go-vimlparser?badge)
6+
[![GoDoc](https://godoc.org/github.com/vim-jp/go-vimlparser?status.svg)](https://godoc.org/github.com/vim-jp/go-vimlparser)
77

88
This repository is the fork of https://github.com/ynkdir/vim-vimlparser and it provides Go-ish interface with performance improvement.
99

@@ -15,7 +15,7 @@ This repository is the fork of https://github.com/ynkdir/vim-vimlparser and it p
1515

1616
```sh
1717
$ pwd
18-
/home/haya14busa/src/github.com/ynkdir/vim-vimlparser
18+
/home/vim-jp/src/github.com/ynkdir/vim-vimlparser
1919

2020
$ git rev-parse HEAD
2121
2fff43c58968a18bc01bc8304df68bde01af04d9
@@ -45,7 +45,7 @@ v4.2.3
4545
$ time node js/vimlparser.js autoload/vimlparser.vim > /dev/null
4646
node js/vimlparser.js autoload/vimlparser.vim > /dev/null 0.77s user 0.04s system 125% cpu 0.644 total
4747

48-
$ go get github.com/haya14busa/go-vimlparser/cmd/vimlparser
48+
$ go get github.com/vim-jp/go-vimlparser/cmd/vimlparser
4949
$ time vimlparser autoload/vimlparser.vim > /dev/null
5050
vimlparser autoload/vimlparser.vim > /dev/null 0.25s user 0.03s system 114% cpu 0.244 total
5151
```
@@ -59,25 +59,25 @@ vimlparser autoload/vimlparser.vim > /dev/null 0.25s user 0.03s system 114% cpu
5959
| node | 0.77s |
6060
| Go | **0.25s** |
6161

62-
Note that, in addition to the Go lang speed, I added [performance improvement](https://github.com/haya14busa/go-vimlparser/pull/4) for Go implementation.
62+
Note that, in addition to the Go lang speed, I added [performance improvement](https://github.com/vim-jp/go-vimlparser/pull/4) for Go implementation.
6363

6464
### Rich interface compared to other implementation
6565

6666
go-vimlparser is written in Go which is typed language and I added Go-ish interface,
67-
so you can see each node fields. e.g. https://godoc.org/github.com/haya14busa/go-vimlparser/ast#Function
67+
so you can see each node fields. e.g. https://godoc.org/github.com/vim-jp/go-vimlparser/ast#Function
6868

6969
| package | doc |
7070
| --- | --- |
71-
| go-vimlparser | [![GoDoc](https://godoc.org/github.com/haya14busa/go-vimlparser?status.svg)](https://godoc.org/github.com/haya14busa/go-vimlparser) |
72-
| go-vimlparser/ast | [![GoDoc](https://godoc.org/github.com/haya14busa/go-vimlparser/ast?status.svg)](https://godoc.org/github.com/haya14busa/go-vimlparser/ast) |
73-
| go-vimlparser/token | [![GoDoc](https://godoc.org/github.com/haya14busa/go-vimlparser/token?status.svg)](https://godoc.org/github.com/haya14busa/go-vimlparser/token) |
71+
| go-vimlparser | [![GoDoc](https://godoc.org/github.com/vim-jp/go-vimlparser?status.svg)](https://godoc.org/github.com/vim-jp/go-vimlparser) |
72+
| go-vimlparser/ast | [![GoDoc](https://godoc.org/github.com/vim-jp/go-vimlparser/ast?status.svg)](https://godoc.org/github.com/vim-jp/go-vimlparser/ast) |
73+
| go-vimlparser/token | [![GoDoc](https://godoc.org/github.com/vim-jp/go-vimlparser/token?status.svg)](https://godoc.org/github.com/vim-jp/go-vimlparser/token) |
7474

7575
### CLI tool
7676

7777
#### Installation
7878

7979
```
80-
go get github.com/haya14busa/go-vimlparser/cmd/vimlparser
80+
go get github.com/vim-jp/go-vimlparser/cmd/vimlparser
8181
```
8282

8383
#### Usage
@@ -129,4 +129,7 @@ augroup END
129129
[@ynkdir](https://github.com/ynkdir) for https://github.com/ynkdir/vim-vimlparser
130130

131131
### :bird: Author
132-
haya14busa (https://github.com/haya14busa)
132+
133+
Original Author: haya14busa (https://github.com/haya14busa)
134+
135+
Maintenance Author: vim-jp

ast/example_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
"strings"
88

9-
"github.com/haya14busa/go-vimlparser"
10-
"github.com/haya14busa/go-vimlparser/ast"
9+
"github.com/vim-jp/go-vimlparser"
10+
"github.com/vim-jp/go-vimlparser/ast"
1111
)
1212

1313
// This example demonstrates how to inspect the AST of a Go program.

ast/node.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
package ast
44

55
import (
6-
"github.com/haya14busa/go-vimlparser/token"
6+
"github.com/vim-jp/go-vimlparser/token"
77
)
88

99
// Node is the interface for all node types to implement.

ast/walk.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func Walk(v Visitor, node Node) {
2828
// walk children
2929
// (the order of the cases matches the order
3030
// of the corresponding node types in newAstNode func
31-
// in github.com/haya14busa/go-vimlparser/go/export.go)
31+
// in github.com/vim-jp/go-vimlparser/go/export.go)
3232
switch n := node.(type) {
3333
case *File:
3434
walkStmtList(v, n.Body)

ast/walk_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strings"
77
"testing"
88

9-
"github.com/haya14busa/go-vimlparser"
10-
"github.com/haya14busa/go-vimlparser/ast"
9+
"github.com/vim-jp/go-vimlparser"
10+
"github.com/vim-jp/go-vimlparser/ast"
1111
)
1212

1313
func TestInspect(t *testing.T) {

cmd/vimlparser/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"io"
88
"os"
99

10-
"github.com/haya14busa/go-vimlparser"
11-
"github.com/haya14busa/go-vimlparser/compiler"
10+
"github.com/vim-jp/go-vimlparser"
11+
"github.com/vim-jp/go-vimlparser/compiler"
1212
)
1313

1414
var neovim = flag.Bool("neovim", false, "use neovim parser")

compiler/compiler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"io"
1010
"strings"
1111

12-
"github.com/haya14busa/go-vimlparser/ast"
13-
"github.com/haya14busa/go-vimlparser/token"
12+
"github.com/vim-jp/go-vimlparser/ast"
13+
"github.com/vim-jp/go-vimlparser/token"
1414
)
1515

1616
// Config for Compiler.

compiler/compiler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"testing"
1111

12-
"github.com/haya14busa/go-vimlparser"
12+
"github.com/vim-jp/go-vimlparser"
1313
)
1414

1515
var skipTests = map[string]bool{

go/export.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package vimlparser
33
import (
44
"fmt"
55

6-
"github.com/haya14busa/go-vimlparser/ast"
7-
"github.com/haya14busa/go-vimlparser/token"
6+
"github.com/vim-jp/go-vimlparser/ast"
7+
"github.com/vim-jp/go-vimlparser/token"
88
)
99

1010
// Parse parses Vim script in reader and returns Node.

go/vimlparser_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func TestVimLParser_parse(t *testing.T) {
8585
}
8686
}
8787

88-
const basePkg = "github.com/haya14busa/go-vimlparser/go"
88+
const basePkg = "github.com/vim-jp/go-vimlparser/go"
8989

9090
var skipTests = map[string]bool{
9191
"test_xxx_colonsharp": true,

0 commit comments

Comments
 (0)