aboutsummaryrefslogtreecommitdiff
path: root/.vim/UltiSnips
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-06-04 19:17:01 +0800
committerGuangxiong Lin <[email protected]>2022-06-05 11:41:04 +0800
commit47be6a508c4150f8ef2627ae185c650c081c6bbf (patch)
tree49656b4c2ffcc6adae8df89f4c9747287663311f /.vim/UltiSnips
parent8c54a7ae533b5e07e978c705f3790eff054196c0 (diff)
downloaddotfiles-47be6a508c4150f8ef2627ae185c650c081c6bbf.tar.gz
dotfiles-47be6a508c4150f8ef2627ae185c650c081c6bbf.tar.bz2
dotfiles-47be6a508c4150f8ef2627ae185c650c081c6bbf.zip
Add more plugins for nvim
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