simpler golang

This commit is contained in:
Barak Michener 2019-05-21 19:52:46 -07:00
parent 31c9d70d42
commit 4fb0ea1292
2 changed files with 8 additions and 2 deletions

View file

@ -15,6 +15,11 @@
"directory": ".ccls-cache"
}
}
},
"golang": {
"command": "gopls",
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"]
}
}
}

5
.vimrc
View file

@ -441,8 +441,9 @@ let g:ctrlp_match_window = 'bottom,order:ttb,min:1,max:15'
let g:go_fmt_command = "goimports"
"let g:go_auto_type_info = 1
let g:go_updatetime = 300
"let g:go_bin_path = "$HOME/.go/bin"
let g:go_def_mode = 'guru'
let g:go_bin_path = $HOME . "/.go/bin"
"let g:go_def_mode = 'gopls'
"let g:go_info_mode = 'gopls'
" ** STATUSLINE **
set laststatus=2