Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add snippets for ultisnippets/snippets #1537

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions UltiSnips/snippets.snippets
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
priority -50

snippet pr
priority ${1:100}
endsnippet

snippet con
context "${1:math(})"
usnip
endsnippet

# We use a little hack so that the snippet is expanded
# and parsed correctly
snippet usnip "Ultisnips snippet definition" b
Expand Down
2 changes: 2 additions & 0 deletions snippets/snippets.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ snippet v
{VISUAL}
snippet $
${${1:1}:${0:text}}
snippet ex
extends $0