home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

defclass (166B)


      1 # -*- mode: snippet -*-
      2 # contributor: Mark Karpov
      3 # name: defclass
      4 # key: defclass
      5 # --
      6 (defclass ${1:name} (${2:parents})
      7   ($0)${3:
      8   (:documentation "${4:doc}")})