Skip to content

Commit

Permalink
Fixed-size underline for section snippets (Fixes #5)
Browse files Browse the repository at this point in the history
Moved the last tab-index before the last new-line, allowing to delete or add delimitors after having written the section's title.
  • Loading branch information
e2jk committed Feb 5, 2015
1 parent c2d7a7d commit 7897d5b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snippets/language-restructuredtext.cson
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
'body': '\n\\`${1:Title}<${2:http://link}>\\`_'
'section 1':
'prefix': 'sec'
'body': '${1:subsection name}\n${1/(.)|\\s/(?1:=:=)/g}\n$0'
'body': '${1:subsection name}\n================$0\n'
'section 2':
'prefix': 'subs'
'body': '${1:subsection name}\n${1/(.)|\\s/(?1:*:*)/g}\n$0'
'body': '${1:subsection name}\n****************$0\n'
'section 3':
'prefix': 'sss'
'body': '${1:subsection name}\n${1/(.)|\\s/(?1:-:-)/g}\n$0'
'body': '${1:subsection name}\n----------------$0\n'

0 comments on commit 7897d5b

Please sign in to comment.