summaryrefslogtreecommitdiffstats
path: root/lua/Snippets/tex/math.lua
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2025-03-12 22:09:18 +0100
committerNanderty <psopka@sopka.ch>2025-03-12 22:09:24 +0100
commit7aa66e33bc4b80dfe3e4094cc30bd393557c0376 (patch)
tree99b81d4b8ab765c065d5b66f93b48586e6c2a08d /lua/Snippets/tex/math.lua
parent305866ed72129d23b1bb66af7bf8d46d8c1d9890 (diff)
downloadneovim-config-7aa66e33bc4b80dfe3e4094cc30bd393557c0376.tar.gz
neovim-config-7aa66e33bc4b80dfe3e4094cc30bd393557c0376.tar.bz2
neovim-config-7aa66e33bc4b80dfe3e4094cc30bd393557c0376.zip
Snippet improvements
Diffstat (limited to 'lua/Snippets/tex/math.lua')
-rw-r--r--lua/Snippets/tex/math.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/Snippets/tex/math.lua b/lua/Snippets/tex/math.lua
index d670861..56b23ee 100644
--- a/lua/Snippets/tex/math.lua
+++ b/lua/Snippets/tex/math.lua
@@ -81,6 +81,15 @@ return {
)
),
+ s({ trig = 'mcs', snippetType = 'autosnippet' },
+ fmta(
+ '\\mathscr{<>}',
+ {
+ i(1),
+ }
+ )
+ ),
+
s({ trig = "vec", snippetType = "autosnippet" },
fmta(
'\\vec{<>}',