blob: d0997ff83d7cbd8832c93bcf5c8cee528c11b3c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--
-- 50-snippet.lua
--
-- * Snippet definitions, registered per filetype with the dotfiles.snippet engine.
--
local snippet = require("dotfiles.snippet")
-- Trigger word -> LSP snippet body. `$1` mirrors the `${1:X}` placeholder, so the variable is typed
-- once.
snippet.add("lua", {
["debug_print"] = 'vim.print("${1:X} = " .. vim.inspect($1))',
})
|