master #1

Open
oli wants to merge 920 commits from master into lua
4 changed files with 33 additions and 0 deletions
Showing only changes of commit 3b3bc5b937 - Show all commits
+2
View File
@@ -52,4 +52,6 @@ ls.snippets = {
}) })
}, },
} }
require('luasnip.loaders.from_vscode').lazy_load() require('luasnip.loaders.from_vscode').lazy_load()
require('luasnip.loaders.from_vscode').lazy_load({ paths = { "./my-snippets" } })
View File
+12
View File
@@ -0,0 +1,12 @@
{
"test_getter": {
"prefix": "test_getter",
"body": [
"TEST(${1:TestClass}, ${2:TestFunction}",
"{",
"\tget${CLIPBOARD}()",
"};"
],
"description": "Code snippet for testing the getter"
}
}
+19
View File
@@ -0,0 +1,19 @@
{
"name": "my-snippets",
"contributes": {
"snippets": [
{
"language": [
"all"
],
"path": "all.json"
},
{
"language": [
"cpp"
],
"path": "cpp.json"
}
]
}
}