diff options
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/whichkey.lua')
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/whichkey.lua | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/whichkey.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/whichkey.lua deleted file mode 100644 index fab5853..0000000 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/snippets/whichkey.lua +++ /dev/null @@ -1,18 +0,0 @@ -local ls = require("luasnip") - --- Using parse_snippet instead of fmt to avoid curly brace issues -local whichkey_snippet = ls.parser.parse_snippet( - "whichkey", - [[ -init = function() - local wk = require("which-key") - wk.add({ - mode = { "n" }, - { "${1:Key}", group = "${2:Name}" }, - }) -end, -]] -) - --- Add the snippets for the Lua filetype -ls.add_snippets("lua", { whichkey_snippet }) |
