Add snippets for declaring and initializing a single variable, both longhand and shorthand.
This commit is contained in:
parent
3a70c26081
commit
481f74b86c
@ -1,3 +1,8 @@
|
||||
# variables
|
||||
snippet v
|
||||
${1} := ${2}
|
||||
snippet vr
|
||||
var ${1} ${2} = ${3}
|
||||
# append
|
||||
snippet ap
|
||||
append(${1:slice}, ${2:value})
|
||||
|
Loading…
x
Reference in New Issue
Block a user