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 -*-
# name: autoclass
# key: auto
# --
.. autoclass:: $0
${1::members: ${2:members}}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: autofunction
# key: auto
# --
.. autofunction:: $0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: automodule
# key: auto
# --
.. automodule:: ${1:module_name}

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name : Chapter title
# key: chap
# --
${1:Chapter}
${1:$(make-string (string-width yas-text) ?\=)}
$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: class
# key: cls
# --
:class:\`$0\`

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: code
# key: code
# --
.. code:: ${1:python}

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: digraph
# key: graph
# --
.. digraph:: $1
$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: function
# key: fun
# --
:function:\`$0\`

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: graph
# key: graph
# --
.. graph:: $1
$0

View File

@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: graphviz
# key: graph
# --
.. graphviz::
$0

View File

@@ -0,0 +1,10 @@
# -*- mode: snippet -*-
# name: image
# key: img
# --
.. image:: ${1:path}
:height: ${2:100}
:width: ${3:200}
:alt: ${4:description}
$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: inheritance
# key: inh
# --
.. inheritance-diagram:: $0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: literatal include
# key: inc
# --
.. literalinclude:: ${1:path}

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: meta
# key: :
# --
:${1:var}: $0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: module
# key: mod
# --
:mod: \`$0\`

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: parsed_literal
# key: src
# --
.. parsed-literal::
$0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: pause
# key: pause
# group: hieroglyph
# --
.. rst-class:: build

View File

@@ -0,0 +1,8 @@
# -*- mode: snippet -*-
# name : Section title
# key: sec
# --
${1:Section}
${1:$(make-string (string-width yas-text) ?\-)}
$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: term
# key: term
# --
:term:\`$0\`

View File

@@ -0,0 +1,9 @@
# -*- mode: snippet -*-
# name : Document title
# key: tit
# --
${1:$(make-string (string-width yas-text) ?\=)}
${1:Title}
${1:$(make-string (string-width yas-text) ?\=)}
$0

View File

@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: url
# key: url
# --
.. _${1:description}: $0

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: verbatim
# key: |
# --
| $0
|

View File

@@ -0,0 +1,6 @@
# -*- mode: snippet -*-
# name: warning
# key: warn
# --
.. warning:
$0