feat: add nvimdots
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"map declaration": {
|
||||
"prefix": "map",
|
||||
"body": "map[${1:type}]${2:type}",
|
||||
"description": "Snippet for a map"
|
||||
},
|
||||
"goroutine anonymous function": {
|
||||
"prefix": "go",
|
||||
"body": "go func($1) {\n\t$0\n}($2)",
|
||||
"description": "Snippet for anonymous goroutine declaration"
|
||||
},
|
||||
"goroutine function": {
|
||||
"prefix": "gf",
|
||||
"body": "go ${1:func}($0)",
|
||||
"description": "Snippet for goroutine declaration"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user