- Improved default snippet files.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
snippet vital_of_without_let
|
||||
abbr vital#of('...')
|
||||
vital#of('${1:vital}')
|
||||
vital#of('${1:#:vital_name}')
|
||||
|
||||
snippet vital_of
|
||||
abbr let s:V = vital#of('...')
|
||||
options head
|
||||
let ${1:s:V} = vital#of('${2:vital}')
|
||||
let ${1:s:V} = vital#of('${2:#:vital_name}')
|
||||
|
||||
snippet vital_import_without_let
|
||||
abbr import
|
||||
@@ -14,16 +14,16 @@ abbr import
|
||||
snippet vital_import
|
||||
abbr let s:M = s:V.import('...')
|
||||
options head
|
||||
let ${1:s:M} = ${2:s:V}.import('${3:Module}')
|
||||
let ${1:s:M} = ${2:s:V}.import('${3:#:module_name}')
|
||||
|
||||
snippet vital_load_without_call
|
||||
abbr s:V.load('...')
|
||||
${1:s:V}.load('${2:Module}')
|
||||
${1:s:V}.load('${2:#:module_name}')
|
||||
|
||||
snippet vital_load
|
||||
abbr call s:V.load('...')
|
||||
options head
|
||||
call ${1:s:V}.load('${2:Module}')
|
||||
call ${1:s:V}.load('${2:#:module_name}')
|
||||
|
||||
# FAQ
|
||||
# Q. Why does this snip file has verbose prefix "vital_" for everything?
|
||||
|
||||
Reference in New Issue
Block a user