1
Fork 0

Many lua changes I guess

This commit is contained in:
Matei Adriel 2022-10-14 13:44:47 +02:00
parent aeefede352
commit 73e033c904
10 changed files with 87 additions and 23 deletions
dotfiles/vscode-snippets

View file

@ -31,6 +31,12 @@
"tex"
],
"path": "./snippets/latex/core.json"
},
{
"language": [
"lua"
],
"path": "./snippets/lua/core.json"
}
]
}

View file

@ -0,0 +1,15 @@
{
"Lua setup-module": {
"prefix": "msetup",
"description": "Create lua module with setup function inside",
"body": [
"local M = {}",
"",
"function M.setup()",
" $0",
"end",
"",
"return M"
]
}
}