Permalink
Browse files

Fix lint

  • Loading branch information...
1 parent f1e822e commit cd20c5e0dbff404578e07c26ff1be4d896abe553 @haya14busa committed Sep 16, 2016
Showing with 5 additions and 1 deletion.
  1. +2 −0 .travis.yml
  2. +2 −0 token/token.go
  3. +1 −1 vimlparser.go
View
@@ -18,6 +18,8 @@ script:
- goveralls -service=travis-ci
- go vet ./...
- golint -set_exit_status .
+ - golint -set_exit_status ./token
+ - golint ./ast
- unused ./...
- vim -u NONE -N --cmd "let &rtp .= ',' . getcwd()" -S go/generate.vim -c ":q"
- (! git diff | grep '^') # check diff
View
@@ -1,3 +1,5 @@
+// Package token defines constants representing the lexical tokens of Vim script.
+//
// ref: "go/token"
package token
View
@@ -16,7 +16,7 @@ type ParseOption struct {
Neovim bool
}
-// Parse parses Vim script.
+// ParseFile parses Vim script.
func ParseFile(r io.Reader, opt *ParseOption) (node *ast.File, err error) {
defer func() {
if r := recover(); r != nil {

0 comments on commit cd20c5e

Please sign in to comment.