diff options
| author | Jacob McDonnell <jacob@simplelittledream.com> | 2022-07-16 18:13:16 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@simplelittledream.com> | 2022-07-16 18:13:16 -0400 |
| commit | 8fad9a5ecddc88d57a531e4b0084544984f23d25 (patch) | |
| tree | 84954bc8219942aa56bc899330ccd0007bbe0ef0 /.config/coc/extensions/node_modules/coc-go/snippets/gomod.json | |
| parent | 2887af7fcfb4d618dd13cf66ec2fbdbd84c7527c (diff) | |
Added profile and other missing configs
Diffstat (limited to '.config/coc/extensions/node_modules/coc-go/snippets/gomod.json')
| -rw-r--r-- | .config/coc/extensions/node_modules/coc-go/snippets/gomod.json | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.config/coc/extensions/node_modules/coc-go/snippets/gomod.json b/.config/coc/extensions/node_modules/coc-go/snippets/gomod.json new file mode 100644 index 0000000..91153f0 --- /dev/null +++ b/.config/coc/extensions/node_modules/coc-go/snippets/gomod.json @@ -0,0 +1,37 @@ +{ + "module": { + "prefix": "mod", + "body": [ + "module ${1:github.com/org/name}" + ], + "description": "define the module path" + }, + "go": { + "prefix": "go", + "body": [ + "go ${1:1.13}" + ], + "description": "set the expected language version" + }, + "require": { + "prefix": "require", + "body": [ + "require ${1:module} ${2:version}" + ], + "description": "require a particular module at a given version or later" + }, + "exclude": { + "prefix": "exclude", + "body": [ + "exclude ${1:module} $(2:version}" + ], + "description": "exclude a particular module version from use" + }, + "replace": { + "prefix": "replace", + "body": [ + "replace ${1:module} => ${2:replace}" + ], + "description": "replace a module version with a different module version" + } +} |
