feat: add nvimdots

This commit is contained in:
wyj
2024-07-21 02:51:17 -04:00
parent f16942be42
commit e78c5ce3f5
149 changed files with 10623 additions and 43 deletions
+17
View File
@@ -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"
}
}