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.
 
 
 
 
 
 

13 lines
494 B

# -*- mode: snippet -*-
# name: slot
# key: slot
# --
(${1:name} :initarg :${1:$(yas/substr yas-text "[^: ]*")}
:initform (error ":${1:$(yas/substr yas-text "[^: ]*")} must be specified")
;; :accessor ${1:$(yas/substr yas-text "[^: ]*")}
:reader ${1:$(yas/substr yas-text "[^: ]*")}-changed
:writer set-${1:$(yas/substr yas-text "[^: ]*")}
:type
:allocation ${3::class :instance}
:documentation "${2:about-slot}")
$0