From 47be6a508c4150f8ef2627ae185c650c081c6bbf Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 4 Jun 2022 19:17:01 +0800 Subject: Add more plugins for nvim --- .vim/UltiSnips/vimspector.snippets | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .vim/UltiSnips/vimspector.snippets (limited to '.vim/UltiSnips/vimspector.snippets') 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:} + } +} +endsnippet + +snippet godebug "Golang Debug" +"${1:run}": { + "adapter": "delve", + "configuration": { + "request": "launch", + "program": "${2:${workspaceFolder}}", + "mode": "debug", + "args": [ + "${3:*${CommandLineArgs}}" + ] + } +} +endsnippet -- cgit v1.2.3