yasnippet/snippets/emacs-lisp-mode/x-grabthing.yasnippet
Jim Myhrberg 09cc3eec21 Keep snippet vars definitions in a single format across all snippets and documentation.
The format is:

# var-name: value

Previously snippets used a mixture of the following formatting:

#var-name: value
#var-name : value
# var-name: value
# var-name : value
2011-11-03 20:51:31 +00:00

5 lines
125 B
Plaintext
Executable File

# contributor: Xah Lee (XahLee.org)
# name: grab word under cursor
# key: x-grabthing
# --
(setq $0 (thing-at-point 'symbol))