summary refs log tree commit diff
path: root/.vim/snippets/text.lua
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2024-11-25 13:30:37 +0100
committerRobert Günzler <r@gnzler.io>2024-11-25 13:58:25 +0100
commit23de12baba9fbfc4ca24581b37c374aa5345cc25 (patch)
treee4b3c421bad572eb85a1089eaad44dc3059ab6e6 /.vim/snippets/text.lua
parent18e3848110da0a59843058927ea04b496f5db2a5 (diff)
update nvim config
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.vim/snippets/text.lua')
-rw-r--r--.vim/snippets/text.lua26
1 files changed, 0 insertions, 26 deletions
diff --git a/.vim/snippets/text.lua b/.vim/snippets/text.lua
deleted file mode 100644
index 9fca88f..0000000
--- a/.vim/snippets/text.lua
+++ /dev/null
@@ -1,26 +0,0 @@
----@diagnostic disable: undefined-global
-return {
-  s('test', t('test inserted')),
-  -- licenses (full-text)
-  s(
-    { trig = 'license-mit', name = 'MIT license' },
-    file_contents(vim.fn.stdpath('config') .. '/snippets/.licenses/mit', {
-      year = f(function()
-        return os.date('%Y')
-      end, {}),
-      copyright = sn(1, user_email),
-    })
-  ),
-  s(
-    { trig = 'license-gpl-3.0', name = 'GPL-3.0 license' },
-    file_contents(vim.fn.stdpath('config') .. '/snippets/.licenses/gpl-3.0', {})
-  ),
-  s(
-    { trig = 'license-agpl-3.0', name = 'AGPL-3.0 license' },
-    file_contents(vim.fn.stdpath('config') .. '/snippets/.licenses/agpl-3.0', {})
-  ),
-  s(
-    { trig = 'license-cc0-1.0', name = 'CC-Zero-1.0 license' },
-    file_contents(vim.fn.stdpath('config') .. '/snippets/.licenses/cc0-1.0', {})
-  ),
-}