⚙️ config(nvim): add a new snippet

This commit is contained in:
Sergio Laín 2024-01-07 01:06:29 +01:00
parent 459f426a8a
commit 6da62af980
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -26,8 +26,13 @@
"prefix": "check if file exists"
},
"keymap": {
"body": "keymap(\"n\", \"${1:lhs}\", \"${2:rhs}\", { desc = \"${3:description}\" })",
"body": "map(\"n\", \"${1:lhs}\", \"${2:rhs}\", { desc = \"${3:description}\" })",
"filetype": "lua",
"prefix": "keymap"
},
"notify": {
"body": "vim.notify(${1:message}, ${2:level}, { title = \"${3:title}\" })",
"filetype": "lua",
"prefix": "notify"
}
}