⚙️ config(nvim): add a new snippet
This commit is contained in:
parent
459f426a8a
commit
6da62af980
1 changed files with 6 additions and 1 deletions
|
@ -26,8 +26,13 @@
|
||||||
"prefix": "check if file exists"
|
"prefix": "check if file exists"
|
||||||
},
|
},
|
||||||
"keymap": {
|
"keymap": {
|
||||||
"body": "keymap(\"n\", \"${1:lhs}\", \"${2:rhs}\", { desc = \"${3:description}\" })",
|
"body": "map(\"n\", \"${1:lhs}\", \"${2:rhs}\", { desc = \"${3:description}\" })",
|
||||||
"filetype": "lua",
|
"filetype": "lua",
|
||||||
"prefix": "keymap"
|
"prefix": "keymap"
|
||||||
|
},
|
||||||
|
"notify": {
|
||||||
|
"body": "vim.notify(${1:message}, ${2:level}, { title = \"${3:title}\" })",
|
||||||
|
"filetype": "lua",
|
||||||
|
"prefix": "notify"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue