From e711158bb790bdcb6634df9521c880e9eb0c1d6b Mon Sep 17 00:00:00 2001 From: Nanderty Date: Sun, 24 Nov 2024 16:45:51 +0100 Subject: Snippet improvements --- lua/Snippets/tex/postfix.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/Snippets/tex/postfix.lua') diff --git a/lua/Snippets/tex/postfix.lua b/lua/Snippets/tex/postfix.lua index 54b09a5..fafd78e 100644 --- a/lua/Snippets/tex/postfix.lua +++ b/lua/Snippets/tex/postfix.lua @@ -2,7 +2,7 @@ local helper = require('Snippets.luasniphelpers') return { - s({ trig = 'bgn', snippetType = 'autosnippet' }, + s({ trig = 'lsls', snippetType = 'autosnippet' }, fmta( [[ \lstinputlisting[ @@ -11,7 +11,7 @@ return { caption = { <> }, - label = <>, + label = lst:<>, ]{<>} ]], { -- cgit v1.2.3