Install yasnippet and vala-snippets packages

This commit is contained in:
Gergely Polonkai
2016-10-20 10:20:38 +02:00
parent d1468f35a7
commit a498706564
1085 changed files with 12052 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
(defun yas-with-comment (str)
(format "%s%s%s" comment-start str comment-end))

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: fixme
# key: fi
# condition: (not (eq major-mode 'sh-mode))
# --
`(yas-with-comment "FIXME: ")`

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: todo
# key: t
# --
`(yas-with-comment "TODO: ")`

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: xxx
# key: x
# --
`(yas-with-comment "XXX: ")`