Created
December 3, 2015 14:58
-
-
Save felixjung/8dc32c873f2435a06f7c to your computer and use it in GitHub Desktop.
Some ES2015 snippets for UltiSnips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends javascript | |
priority -60 | |
snippet imp "import { ... } from ..." b | |
import ${1:\{ ${2:export} \}} from '${0:library}'; | |
endsnippet | |
snippet impl "import * as ... from ..." b | |
import * as ${1:alias} from '${0:library}'; | |
endsnippet | |
snippet funa "(args...) => expression" | |
(${1:args}) => ${0:expression} | |
endsnippet | |
snippet funae "(args...) => { expression }" | |
(${1:args}) => \{ | |
${0:expression} | |
\} | |
endsnippet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment