aboutsummaryrefslogtreecommitdiff
path: root/.vim/UltiSnips
diff options
context:
space:
mode:
Diffstat (limited to '.vim/UltiSnips')
-rw-r--r--.vim/UltiSnips/vimspector.snippets23
1 files changed, 23 insertions, 0 deletions
diff --git a/.vim/UltiSnips/vimspector.snippets b/.vim/UltiSnips/vimspector.snippets
new file mode 100644
index 0000000..9d2cad1
--- /dev/null
+++ b/.vim/UltiSnips/vimspector.snippets
@@ -0,0 +1,23 @@
+# Snippets to create vimspector.json
+
+snippet /^new/ "New Configurations" r
+{
+ "configurations": {
+ ${1:<new config here>}
+ }
+}
+endsnippet
+
+snippet godebug "Golang Debug"
+"${1:run}": {
+ "adapter": "delve",
+ "configuration": {
+ "request": "launch",
+ "program": "${2:${workspaceFolder}}",
+ "mode": "debug",
+ "args": [
+ "${3:*${CommandLineArgs}}"
+ ]
+ }
+}
+endsnippet