From ba4dc60ffa5ea044d305ac0a6a9ea3ad18c2d848 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 12 Jan 2022 02:00:33 +0100 Subject: [PATCH] added a snippet for german quotation with babel --- neovim/.config/coc/ultisnips/latex.snippets | 29 +++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 neovim/.config/coc/ultisnips/latex.snippets diff --git a/neovim/.config/coc/ultisnips/latex.snippets b/neovim/.config/coc/ultisnips/latex.snippets new file mode 100644 index 0000000..3491e91 --- /dev/null +++ b/neovim/.config/coc/ultisnips/latex.snippets @@ -0,0 +1,29 @@ +# A valid snippet should starts with: +# +# snippet trigger_word [ "description" [ options ] ] +# +# and end with: +# +# endsnippet +# +# Snippet options: +# +# b - Beginning of line. +# i - In-word expansion. +# w - Word boundary. +# r - Regular expression +# e - Custom context snippet +# A - Snippet will be triggered automatically, when condition matches. +# +# Basic example: +# +# snippet emitter "emitter properties" b +# private readonly ${1} = new Emitter<$2>() +# public readonly ${1/^_(.*)/$1/}: Event<$2> = this.$1.event +# endsnippet +# +# Online reference: https://github.com/SirVer/ultisnips/blob/master/doc/UltiSnips.txt + +snippet gqq "German quotation with babel" +"\`$1"' +endsnippet