update vim conf (esp. coc, ale and minisnip)
This commit is contained in:
parent
bbd0c7e8c0
commit
af4dd514bd
5 changed files with 32 additions and 3 deletions
9
vim/.vim/coc-settings.json
Normal file
9
vim/.vim/coc-settings.json
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"languageserver": {
|
||||
"golang": {
|
||||
"command": "gopls",
|
||||
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
|
||||
"filetypes": ["go"]
|
||||
}
|
||||
}
|
||||
}
|
3
vim/.vim/minisnip/_go_convey
Normal file
3
vim/.vim/minisnip/_go_convey
Normal file
|
@ -0,0 +1,3 @@
|
|||
Convey("{{++}}", func() {
|
||||
{{++}}
|
||||
})
|
1
vim/.vim/minisnip/_go_soeq
Normal file
1
vim/.vim/minisnip/_go_soeq
Normal file
|
@ -0,0 +1 @@
|
|||
So({{++}}, ShouldEqual, {{++}})
|
1
vim/.vim/minisnip/_go_sonil
Normal file
1
vim/.vim/minisnip/_go_sonil
Normal file
|
@ -0,0 +1 @@
|
|||
So({{++}}, ShouldBeNil)
|
Loading…
Add table
Add a link
Reference in a new issue