Klimi's new dotfiles with stow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
177 B

5 years ago
  1. # -*- mode: snippet -*-
  2. # name: case
  3. # key: case
  4. # expand-env: ((yas-indent-line 'fixed))
  5. # --
  6. case ${1:var} of
  7. ${2:cond} -> ${3:value}
  8. $0
  9. otherwise -> ${4:other}