Added auctex and yasnippets

This commit is contained in:
TuDatTr
2017-12-21 17:29:29 +01:00
parent 2c6b54e8cc
commit 6cf4b23ee2
1717 changed files with 140403 additions and 9 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