1
0
Fork 0
mirror of synced 2024-11-04 08:28:57 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/reason.snippets

37 lines
394 B
Text
Raw Normal View History

2022-11-21 10:06:50 -05:00
snippet doc
/*
${0}
*/
snippet let
let ${1} = ${0};
snippet fn
let ${1} = (${2}) => {
${0}
};
snippet fun
fun ${1} => ${0}
snippet ty
type ${1} = ${0};
snippet mod
module ${1} = {
${0}
};
snippet modty
module type ${1} = {
${0}
};
snippet sw
switch (${1}) {
| ${2} => ${0}
}
snippet |
| ${1} => ${0}
snippet p
|> ${0}
snippet if
if (${1}) {
${2}
} else {
${0}
}