diff options
| author | Nanderty <psopka@sopka.ch> | 2024-09-23 18:31:13 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2024-09-23 18:31:13 +0200 |
| commit | 4ccaccb6b9848380a9f888211e19a5794b7b4462 (patch) | |
| tree | c164332fb77ff3c82892da099639dcdb886381d3 /lua/Snippets/tex/math.lua | |
| parent | 655fa4e6b95aea334ad6bce548a6c0ed95f451c6 (diff) | |
| download | neovim-config-4ccaccb6b9848380a9f888211e19a5794b7b4462.tar.gz neovim-config-4ccaccb6b9848380a9f888211e19a5794b7b4462.tar.bz2 neovim-config-4ccaccb6b9848380a9f888211e19a5794b7b4462.zip | |
add additional snippets for math.
Diffstat (limited to 'lua/Snippets/tex/math.lua')
| -rw-r--r-- | lua/Snippets/tex/math.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/Snippets/tex/math.lua b/lua/Snippets/tex/math.lua index 256ce10..25a7db9 100644 --- a/lua/Snippets/tex/math.lua +++ b/lua/Snippets/tex/math.lua @@ -179,6 +179,20 @@ return { { condition = tex.in_mathzone } ), + s({ trig = 'bgg', snippetType = 'autosnippet' }, + { + t('\\bigg'), + }, + { condition = tex.in_mathzone } + ), + + s({ trig = 'rvr', snippetType = 'autosnippet' }, + { + t('\\rvert'), + }, + { condition = tex.in_mathzone } + ), + s({ trig = "sin", snippetType = "autosnippet" }, fmta( '\\sin{\\left(<>\\right)}', |
