helix: Add snippets
This commit is contained in:
parent
03c3ebbc2f
commit
92b481038d
1 changed files with 48 additions and 0 deletions
8
helix/snippets/go.toml
Normal file
8
helix/snippets/go.toml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[[snippets]]
|
||||
prefix = 'trun'
|
||||
description = 't.Run(string, func(t *testing.T))'
|
||||
body = '''
|
||||
t.Run("$1", func(t *testing.T) {
|
||||
${0:t.Fatal("TODO")}
|
||||
})
|
||||
'''
|
||||
Loading…
Reference in a new issue