diff options
| author | Nanderty <psopka@sopka.ch> | 2023-04-14 23:59:47 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2023-04-14 23:59:47 +0200 |
| commit | 59cb5af26b9f7b9c626bef058ab4e7e8666ff9ec (patch) | |
| tree | c9fa182a3c4b69b78c499e312c014c4bd3c17f18 /lua/Snippets/tex/symbols.lua | |
| parent | 4251a22f679ddf22ac40cb83ac618d367e57e762 (diff) | |
| download | neovim-config-59cb5af26b9f7b9c626bef058ab4e7e8666ff9ec.tar.gz neovim-config-59cb5af26b9f7b9c626bef058ab4e7e8666ff9ec.tar.bz2 neovim-config-59cb5af26b9f7b9c626bef058ab4e7e8666ff9ec.zip | |
Snippets
Diffstat (limited to 'lua/Snippets/tex/symbols.lua')
| -rw-r--r-- | lua/Snippets/tex/symbols.lua | 78 |
1 files changed, 75 insertions, 3 deletions
diff --git a/lua/Snippets/tex/symbols.lua b/lua/Snippets/tex/symbols.lua index f0cd088..c2ca1d0 100644 --- a/lua/Snippets/tex/symbols.lua +++ b/lua/Snippets/tex/symbols.lua @@ -2,21 +2,93 @@ local tex = require('Snippets.luasniphelperslatex') local helper = require('Snippets.luasniphelpers') return { + s({ trig = 'del', snippetType = 'autosnippet' }, + { + t('\\delta '), + }, + { 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 = 'pi', snippetType = 'autosnippet' }, { - t('\\pi'), + t('\\pi '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'nab', snippetType = 'autosnippet' }, + { + t('\\nabla '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'mu', snippetType = 'autosnippet' }, + { + t('\\mu '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'eps', snippetType = 'autosnippet' }, + { + t('\\epsilon '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = '0mu', snippetType = 'autosnippet' }, + { + t('\\mu_0 '), }, { condition = tex.in_mathzone } ), s({ trig = '0eps', snippetType = 'autosnippet' }, { - t('\\epsilon_0'), + t('\\epsilon_0 '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'cdo', snippetType = 'autosnippet' }, + { + t('\\cdot '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'tim', snippetType = 'autosnippet' }, + { + t('\\times '), }, { condition = tex.in_mathzone } ), s({ trig = 'app', snippetType = 'autosnippet' }, { - t('\\approx'), + t('\\approx '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'leq', snippetType = 'autosnippet' }, + { + t('\\leq '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'geq', snippetType = 'autosnippet' }, + { + t('\\geq '), + }, + { condition = tex.in_mathzone } + ), + s({ trig = 'neq', snippetType = 'autosnippet' }, + { + t('\\neq '), }, { condition = tex.in_mathzone } ), |
