Skip to content

Commit

Permalink
more js snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
theniceboy committed May 12, 2021
1 parent ebd3a33 commit bf3b16c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Ultisnips/javascript.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ snippet f "Arrow Function"
}
endsnippet

snippet ef "Empty Arrow Function"
() => {
snippet cf "Constant Function"
const ${1:funcName} = () => {
${0}
}
endsnippet

snippet ef "Export Function"
export function ${1:functionName}() {
${0}
}
endsnippet
Expand Down

0 comments on commit bf3b16c

Please sign in to comment.