diff options
| author | Nanderty <psopka@sopka.ch> | 2023-05-01 10:29:09 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-05-01 10:29:09 +0200 |
| commit | 5b86f069582eaff5d360e62e28dcaba3aee9de47 (patch) | |
| tree | 6722f448c2f272ee6fd195eaf53adb58ff4b889a /lua/Snippets/tex/greek.lua | |
| parent | d37f266e7719a67faa99b3ec62e9a51f0033cfc2 (diff) | |
| download | neovim-config-5b86f069582eaff5d360e62e28dcaba3aee9de47.tar.gz neovim-config-5b86f069582eaff5d360e62e28dcaba3aee9de47.tar.bz2 neovim-config-5b86f069582eaff5d360e62e28dcaba3aee9de47.zip | |
Greek
Diffstat (limited to 'lua/Snippets/tex/greek.lua')
| -rw-r--r-- | lua/Snippets/tex/greek.lua | 306 |
1 files changed, 306 insertions, 0 deletions
diff --git a/lua/Snippets/tex/greek.lua b/lua/Snippets/tex/greek.lua new file mode 100644 index 0000000..7431adc --- /dev/null +++ b/lua/Snippets/tex/greek.lua @@ -0,0 +1,306 @@ +local tex = require('Snippets.luasniphelperslatex') +local helper = require('Snippets.luasniphelpers') + +return { + + s({ trig = 'alp', snippetType = 'autosnippet' }, + { + t('\\alpha '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'bet', snippetType = 'autosnippet' }, + { + t('\\beta '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'gam', snippetType = 'autosnippet' }, + { + t('\\gamma '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Gam', snippetType = 'autosnippet' }, + { + t('\\Gamma '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'del', snippetType = 'autosnippet' }, + { + t('\\delta '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Del', snippetType = 'autosnippet' }, + { + t('\\Delta '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'eps', snippetType = 'autosnippet' }, + { + t('\\epsilon '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'veps', snippetType = 'autosnippet' }, + { + t('\\varepsilon '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = '0eps', snippetType = 'autosnippet' }, + { + t('\\epsilon_0 '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'zet', snippetType = 'autosnippet' }, + { + t('\\Zeta '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'eta', snippetType = 'autosnippet' }, + { + t('\\eta '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'the', snippetType = 'autosnippet' }, + { + t('\\theta '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'The', snippetType = 'autosnippet' }, + { + t('\\Theta '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'vth', snippetType = 'autosnippet' }, + { + t('\\vartheta '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'iot', snippetType = 'autosnippet' }, + { + t('\\iota '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'vth', snippetType = 'autosnippet' }, + { + t('\\vartheta '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'iot', snippetType = 'autosnippet' }, + { + t('\\iota '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'kap', snippetType = 'autosnippet' }, + { + t('\\kappa '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'lam', snippetType = 'autosnippet' }, + { + t('\\lam '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Lam', snippetType = 'autosnippet' }, + { + t('\\Lam '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'mu', snippetType = 'autosnippet' }, + { + t('\\mu '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = '0mu', snippetType = 'autosnippet' }, + { + t('\\mu_0 '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'nu', snippetType = 'autosnippet' }, + { + t('\\nu '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'xi', snippetType = 'autosnippet' }, + { + t('\\xi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Xi', snippetType = 'autosnippet' }, + { + t('\\Xi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'pi', snippetType = 'autosnippet' }, + { + t('\\pi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Pi', snippetType = 'autosnippet' }, + { + t('\\Pi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'rho', snippetType = 'autosnippet' }, + { + t('\\rho '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'vrh', snippetType = 'autosnippet' }, + { + t('\\varrho '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'sig', snippetType = 'autosnippet' }, + { + t('\\sigma '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Sig', snippetType = 'autosnippet' }, + { + t('\\Sigma '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'vsi', snippetType = 'autosnippet' }, + { + t('\\vsigma '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'tau', snippetType = 'autosnippet' }, + { + t('\\tau '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'ups', snippetType = 'autosnippet' }, + { + t('\\upsilon '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Ups', snippetType = 'autosnippet' }, + { + t('\\Upsilon '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'phi', snippetType = 'autosnippet' }, + { + t('\\phi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Phi', snippetType = 'autosnippet' }, + { + t('\\Phi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'vph', snippetType = 'autosnippet' }, + { + t('\\varphi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'chi', snippetType = 'autosnippet' }, + { + t('\\chi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'psi', snippetType = 'autosnippet' }, + { + t('\\psi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Psi', snippetType = 'autosnippet' }, + { + t('\\Psi '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'ome', snippetType = 'autosnippet' }, + { + t('\\omega '), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'Ome', snippetType = 'autosnippet' }, + { + t('\\Omega '), + }, + { condition = tex.in_mathzone } + ), +} |
