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,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: abspath
# contributor: gbalats
# key: abs
# --
\$(abspath ${1:\$(${2:paths})})$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: addprefix
# contributor: gbalats
# key: ap
# --
\$(addprefix ${1:\$(${2:dir})/},${3:\$(${4:items})})$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: addsuffix
# contributor: gbalats
# key: as
# --
\$(addsuffix ${1:.suffix},${2:\$(${3:items})})$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: dir
# contributor: gbalats
# key: d
# --
\$(dir ${1:\$(${2:paths})})$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: make
# contributor: gbalats
# key: make
# --
\$(MAKE) --directory=${1:\$@}
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: notdir
# contributor: gbalats
# key: nd
# --
\$(notdir ${1:\$(${2:paths})})$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: patsubst
# key: ps
# --
$(patsubst ${1:from},${2:to},${3:src})

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: phony
# key: ph
# --
.PHONY = $0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: shell
# key: sh
# --
\$(shell ${1:command})$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: special targets
# contributor: gbalats
# key: .
# --
.${1:PHONY$(upcase yas-text)}: $0

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: template
# contributor: gbalats
# binding: C-c C-t
# --
define ${1:PROGRAM$(upcase yas-text)}_template
$0
endef
\$(foreach ${2:${1:$(downcase yas-text)}},\$(${3:$1S}),\$(eval \$(call $1_template,\$($2))))

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: wildcard
# key: wl
# --
$(wildcard $0)