Skip to content
Browse files

Add a helper for :command:`...`.

  • Loading branch information...
1 parent 43c63bc commit 3c158fb55ea4714b927481ea3e322dcec7ef9937 @jszakmeister committed Feb 5, 2013
Showing with 7 additions and 0 deletions.
  1. +4 −0 UltiSnips/rst.snippets
  2. +3 −0 UltiSnips/rst.snippets.py
View
4 UltiSnips/rst.snippets
@@ -98,3 +98,7 @@ endsnippet
snippet f "File markup" w
:file:\`${1:path}\`$0
endsnippet
+# DO NOT EDIT - file generated by corresponding .py file
+snippet cmd "Command markup" w
+:command:\`${1:command}\`$0
+endsnippet
View
3 UltiSnips/rst.snippets.py
@@ -69,3 +69,6 @@ def tsnip(trigger, desc, char, withOverline=False, flags="b", aliases=[],
:file:\`${1:path}\`$0
""")
+wsnip("cmd", "Command markup", r"""
+:command:\`${1:command}\`$0
+""")

0 comments on commit 3c158fb

Please sign in to comment.
Something went wrong with that request. Please try again.