Skip to content

Commit c57f970

Browse files
author
Guillaume Frichet
committed
fmt
1 parent 676e893 commit c57f970

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ script:
2626
- yes | dot --https
2727
# - curl -sfLo ~/.vim/autoload/plug.vim --create-dirs 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
2828
- ls -la ~/.vim/*
29-
- tmux new-session -n test "vim +PlugInstall +qall; exit"
29+
- tmux new-session -n test "vim -E -s -u $HOME/.vim/vimrc +PlugInstall +qall; exit"
3030
- test -d $HOME/.tmux/plugins/tpm
3131
- ls -la $HOME/.vim
3232

commands/dot.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ var (
1919
)
2020

2121
var (
22-
Dot *role.Meta
23-
Config *conf.Conf
24-
ConfigName = ".dotrc"
22+
Dot *role.Meta
23+
Config *conf.Conf
24+
ConfigName = ".dotrc"
2525
debug, https, verbose bool
26-
defaultDotDir = ".dot"
26+
defaultDotDir = ".dot"
2727
)
2828

2929
var DotCmd = &cobra.Command{

git/repository.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import (
1010
)
1111

1212
var (
13-
DefaultBranch = "master"
14-
DefaultRemote = "origin"
15-
DefaultPath string
16-
PathSep = string(os.PathSeparator)
13+
DefaultBranch = "master"
14+
DefaultRemote = "origin"
15+
DefaultPath string
16+
PathSep = string(os.PathSeparator)
1717
)
1818

1919
type Repository struct {
@@ -24,7 +24,7 @@ type Repository struct {
2424
gitdir string
2525
}
2626

27-
func NewRepository(spec string/*, clonePath string, remotes ...*Remote*/) (*Repository, error) {
27+
func NewRepository(spec string /*, clonePath string, remotes ...*Remote*/) (*Repository, error) {
2828
name, dir, url, err := ParseSpec(spec)
2929
if err != nil {
3030
return nil, err

0 commit comments

Comments
 (0)