mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated vim plugins
This commit is contained in:
@ -12,6 +12,30 @@ snippet clax
|
||||
class ${1} extends ${2} {
|
||||
${0}
|
||||
}
|
||||
snippet clac
|
||||
class ${1} {
|
||||
constructor(${2}) {
|
||||
${0}
|
||||
}
|
||||
}
|
||||
# For of loop
|
||||
snippet foro
|
||||
for (let ${1:prop} of ${2:object}) {
|
||||
${0:$1}
|
||||
}
|
||||
# Generator
|
||||
snippet fun*
|
||||
function* ${1:function_name}(${2}) {
|
||||
${0}
|
||||
}
|
||||
snippet c=>
|
||||
const ${1:function_name} = (${2}) => {
|
||||
${0}
|
||||
}
|
||||
snippet caf
|
||||
const ${1:function_name} = (${2}) => {
|
||||
${0}
|
||||
}
|
||||
snippet =>
|
||||
(${1}) => {
|
||||
${0}
|
||||
|
Reference in New Issue
Block a user