summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/symbols.lua
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2023-04-22 12:10:01 +0200
committerNanderty <psopka@sopka.ch>2023-04-22 12:10:01 +0200
commitd37f266e7719a67faa99b3ec62e9a51f0033cfc2 (patch)
tree7e667b5462d88ae9a593378d3a919349c027153b /lua/Snippets/tex/symbols.lua
parent9b3ab411798c36f4402ecb34eb77a0ee86a03447 (diff)
downloadneovim-config-d37f266e7719a67faa99b3ec62e9a51f0033cfc2.tar.gz
neovim-config-d37f266e7719a67faa99b3ec62e9a51f0033cfc2.tar.bz2
neovim-config-d37f266e7719a67faa99b3ec62e9a51f0033cfc2.zip
starter verbesserungen
Diffstat (limited to 'lua/Snippets/tex/symbols.lua')
-rw-r--r--lua/Snippets/tex/symbols.lua30
1 files changed, 30 insertions, 0 deletions
diff --git a/lua/Snippets/tex/symbols.lua b/lua/Snippets/tex/symbols.lua
index c2ca1d0..ccce14e 100644
--- a/lua/Snippets/tex/symbols.lua
+++ b/lua/Snippets/tex/symbols.lua
@@ -2,6 +2,30 @@ local tex = require('Snippets.luasniphelperslatex')
local helper = require('Snippets.luasniphelpers')
return {
+ s({ trig = 'chi', snippetType = 'autosnippet' },
+ {
+ t('\\chi'),
+ },
+ { condition = tex.in_mathzone }
+ ),
+ s({ trig = 'sig', snippetType = 'autosnippet' },
+ {
+ t('\\sigma'),
+ },
+ { condition = tex.in_mathzone }
+ ),
+ s({ trig = 'nu', snippetType = 'autosnippet' },
+ {
+ t('\\nu'),
+ },
+ { condition = tex.in_mathzone }
+ ),
+ s({ trig = 'alp', snippetType = 'autosnippet' },
+ {
+ t('\\alpha'),
+ },
+ { condition = tex.in_mathzone }
+ ),
s({ trig = 'del', snippetType = 'autosnippet' },
{
t('\\delta '),
@@ -92,4 +116,10 @@ return {
},
{ condition = tex.in_mathzone }
),
+ s({ trig = 'Ria', snippetType = 'autosnippet' },
+ {
+ t('\\Rightarrow'),
+ },
+ { condition = tex.in_mathzone }
+ ),
}