Skip to content

Commit 3a56abc

Browse files
committed
Import gLua sytnax highlighting
1 parent 742183f commit 3a56abc

12 files changed

Lines changed: 38797 additions & 0 deletions

images/logo.png

12.1 KB
Loading

language-configuration.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"comments": {
3+
"lineComment": "--",
4+
"blockComment": [ "--[[", "]]" ]
5+
},
6+
"brackets": [
7+
["{", "}"],
8+
["[", "]"],
9+
["(", ")"]
10+
],
11+
"autoClosingPairs": [
12+
["{", "}"],
13+
["[", "]"],
14+
["(", ")"],
15+
["\"", "\""],
16+
["'", "'"],
17+
{ "open": "/*", "close": "\n\n*/", "notIn": ["string", "comment"] },
18+
{ "open": "--[[", "close": "\n\n]]", "notIn": ["string", "comment"] }
19+
],
20+
"surroundingPairs": [
21+
["{", "}"],
22+
["[", "]"],
23+
["(", ")"],
24+
["\"", "\""],
25+
["'", "'"]
26+
]
27+
}

package.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"name": "lpp",
3+
"description": "Lua++ language support for Visual Studio Code",
4+
"version": "1.0.0",
5+
"engines": {
6+
"vscode": "^0.10.1"
7+
},
8+
"icon": "images/logo.png",
9+
"publisher": "Tom.bat",
10+
"categories": [
11+
"Languages",
12+
"Snippets"
13+
],
14+
"contributes": {
15+
"snippets": [
16+
{
17+
"language": "lpp",
18+
"path": "./snippets/custom.json"
19+
},
20+
{
21+
"language": "lpp",
22+
"path": "./snippets/enums.json"
23+
},
24+
{
25+
"language": "lpp",
26+
"path": "./snippets/classFuncs.json"
27+
},
28+
{
29+
"language": "lpp",
30+
"path": "./snippets/funcs.json"
31+
},
32+
{
33+
"language": "lpp",
34+
"path": "./snippets/globals.json"
35+
},
36+
{
37+
"language": "lpp",
38+
"path": "./snippets/hooks.json"
39+
},
40+
{
41+
"language": "lpp",
42+
"path": "./snippets/panelFuncs.json"
43+
},
44+
{
45+
"language": "lpp",
46+
"path": "./snippets/keywords.json"
47+
}
48+
],
49+
"languages": [
50+
{
51+
"id": "lpp",
52+
"aliases": [
53+
"Lua++",
54+
"Lua Plus Plus",
55+
"LPP"
56+
],
57+
"extensions": [
58+
".lpp"
59+
],
60+
"configuration": "./language-configuration.json"
61+
}
62+
],
63+
"grammars": [
64+
{
65+
"language": "lpp",
66+
"scopeName": "source.lua",
67+
"path": "./syntaxes/lpp.tmLanguage"
68+
}
69+
]
70+
}
71+
}

0 commit comments

Comments
 (0)