summaryrefslogtreecommitdiffstats
path: root/.emacs.d/etc/yasnippet/snippets/latex-mode/ref
blob: 7eef5967b5377ce122ae523c527db8a84c7fd666 (plain) (blame)
1
2
3
4
5
# -*- mode: snippet -*-
# name: ref
# key: r
# --
$1${2:~}\ref{${3:$$(unless yas-modified-p (reftex-reference nil nil))}}$0