diff options
| author | Nanderty <psopka@sopka.ch> | 2025-04-29 20:42:06 +0200 |
|---|---|---|
| committer | Nanderty <psopka@sopka.ch> | 2025-04-29 20:42:06 +0200 |
| commit | 4614b58ff7f2e4fb8baab5288ae6f5a799dd83af (patch) | |
| tree | 3c7abe873d81dd886471306a0397f917183916d4 /lua/Snippets | |
| parent | 06a89079e742f0b4441cf13165b84cd26c85188b (diff) | |
| download | neovim-config-4614b58ff7f2e4fb8baab5288ae6f5a799dd83af.tar.gz neovim-config-4614b58ff7f2e4fb8baab5288ae6f5a799dd83af.tar.bz2 neovim-config-4614b58ff7f2e4fb8baab5288ae6f5a799dd83af.zip | |
Fixes, us keylayout, execline
Diffstat (limited to 'lua/Snippets')
| -rw-r--r-- | lua/Snippets/tex/chemistry.lua | 10 | ||||
| -rw-r--r-- | lua/Snippets/tex/math.lua | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/lua/Snippets/tex/chemistry.lua b/lua/Snippets/tex/chemistry.lua index 69915a2..3f6b695 100644 --- a/lua/Snippets/tex/chemistry.lua +++ b/lua/Snippets/tex/chemistry.lua @@ -63,6 +63,16 @@ return { ) ), + s({ trig = 'xdt', snippetType = 'autosnippet' }, + fmta( + '\\ox*{<>,<>}', + { + i(1), + i(2), + } + ) + ), + s({ trig = 'cpnd', snippetType = 'autosnippet' }, fmta( '(\\cmpd{<>}, \\qty{<>}{\\gram}, \\qty{<>}{\\milli\\mol}, \\qty{<>}{\\equiv})', diff --git a/lua/Snippets/tex/math.lua b/lua/Snippets/tex/math.lua index 56b23ee..5e29b37 100644 --- a/lua/Snippets/tex/math.lua +++ b/lua/Snippets/tex/math.lua @@ -150,7 +150,7 @@ return { { condition = tex.in_mathzone } ), - s({ trig = 'ΓΆΓΆ', snippetType = 'autosnippet' }, + s({ trig = ';;', snippetType = 'autosnippet' }, fmta( '^{<>}', { |
