summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/chemistry.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/chemistry.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/chemistry.lua')
-rw-r--r--lua/Snippets/tex/chemistry.lua13
1 files changed, 11 insertions, 2 deletions
diff --git a/lua/Snippets/tex/chemistry.lua b/lua/Snippets/tex/chemistry.lua
index 5c4742c..ee73154 100644
--- a/lua/Snippets/tex/chemistry.lua
+++ b/lua/Snippets/tex/chemistry.lua
@@ -2,9 +2,9 @@ local tex = require('Snippets.luasniphelperslatex')
local helper = require('Snippets.luasniphelpers')
return {
- s({ trig = ',,', snippetType = 'autosnippet' },
+ s({ trig = 'chg', snippetType = 'autosnippet' },
fmta(
- '\\ch{<>->>[<>][<>]<>}\\par',
+ '\\ch{ <> ->>[ <> ][ <> ] <> }\\par',
{
i(1),
i(2),
@@ -13,4 +13,13 @@ return {
}
)
),
+
+ s({ trig = 'chs', snippetType = 'autosnippet' },
+ fmta(
+ '\\ch{ <> }',
+ {
+ i(1),
+ }
+ )
+ ),
}