mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-09-10 19:56:24 +00:00
Severel changes.
This commit is contained in:
10
.config/nvim/snippets/lua.json
Normal file
10
.config/nvim/snippets/lua.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"anonymous-function": {
|
||||
"prefix": "fn",
|
||||
"body": [
|
||||
"function($1)",
|
||||
"\t${0:-- code}",
|
||||
"end"
|
||||
]
|
||||
}
|
||||
}
|
13
.config/nvim/snippets/package.json
Normal file
13
.config/nvim/snippets/package.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "halfdans-collection",
|
||||
"engines": {
|
||||
"vscode": "^1.11.0"
|
||||
},
|
||||
"contributes": {
|
||||
"snippets": [
|
||||
{
|
||||
"language": "lua",
|
||||
"path": "./snippets/lua.json"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user