diff options
Diffstat (limited to '.config/nvim/lua')
-rw-r--r-- | .config/nvim/lua/snippets.lua | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/.config/nvim/lua/snippets.lua b/.config/nvim/lua/snippets.lua index db46bf4..185019c 100644 --- a/.config/nvim/lua/snippets.lua +++ b/.config/nvim/lua/snippets.lua @@ -170,7 +170,21 @@ ls.add_snippets('c', { #endif /* !{}_H */ ]], - { i(1), same(1), i(0), same(1), } + { i(1), same(1), i(0), same(1) } + ) + ), +}) + +ls.add_snippets('tex', { + s( + 'scope', + fmt( + [[ + \begin{{{}}} + {} + \end{{{}}} + ]], + { i(1), i(0), same(1) } ) ), }) |