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 @@
prog-mode

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: chan
# key: chan
# --
channel Channel extends ${1:ned.DelayChannel} {
$0
}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: connections
# key: conn
# --
connections${1: allowunconnected}:
$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: for
# key: for
# --
for ${1:i}=${2:0}..${3:sizeof(port)-1} {
$0
}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: import
# key: imp
# --
import ned.${1:Package};

View File

@@ -0,0 +1,11 @@
# -*- mode: snippet -*-
# name: network
# key: net
# --
network ${1:Name}
{
submodules:
$2
connections:
$3
}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name: simple
# key: simple
# --
simple ${1:Component}${2: extends ${3:Component}}
{
$0
}

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: submodules
# key: sub
# --
submodules:
$0