summary refs log tree commit diff
path: root/.vim/snippets/all.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/snippets/all.lua')
-rw-r--r--.vim/snippets/all.lua9
1 files changed, 7 insertions, 2 deletions
diff --git a/.vim/snippets/all.lua b/.vim/snippets/all.lua
index f218086..0d0e3e6 100644
--- a/.vim/snippets/all.lua
+++ b/.vim/snippets/all.lua
@@ -9,7 +9,8 @@ local todo_comment = function(keys)
 end
 
 return {
-  s('me', user_email),
+  -- s('my', user_email),
+  s('mename', t([[Robert Günzler]])),
   s('date', exec([[date --rfc-email]])),
   s(
     'today',
@@ -46,7 +47,7 @@ return {
     {
       callbacks = {
         [-1] = {
-          [events.enter] = function(_, _)
+          [require('luasnip.util.events').enter] = function(_, _)
             vim.opt_local.filetype = 'sh'
           end,
         },
@@ -54,6 +55,10 @@ return {
     }
   ),
 
+  -- mini symbols
+  s('check', t([[✔]])),
+  s('cross', t([[✖]])),
+
   -- licenses (SPDX header)
   s({ trig = 'spdx-mit', name = 'MIT license' }, comment({ t([[SPDX-License-Identifier: MIT]]) })),
   s(