File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import haskell from "./grammars/haskell"
12
12
import * as java from "./grammars/java"
13
13
import js from "./grammars/javascript"
14
14
import lisp from "./grammars/lisp"
15
- import * as lua from "./grammars/lua"
15
+ import lua from "./grammars/lua"
16
16
import ml from "./grammars/ml"
17
17
import * as perl from "./grammars/perl"
18
18
import php from "./grammars/php"
Original file line number Diff line number Diff line change 2
2
3
3
import GrammarUtils from "../grammar-utils"
4
4
5
- export const Lua = {
5
+ const Lua = {
6
6
"Selection Based" : {
7
7
command : "lua" ,
8
8
args ( context ) {
@@ -20,9 +20,9 @@ export const Lua = {
20
20
} ,
21
21
}
22
22
23
- exports [ "Lua (WoW)" ] = exports . Lua
23
+ const WOW = Lua
24
24
25
- export const MoonScript = {
25
+ const MoonScript = {
26
26
"Selection Based" : {
27
27
command : "moon" ,
28
28
args ( context ) {
@@ -37,3 +37,10 @@ export const MoonScript = {
37
37
} ,
38
38
} ,
39
39
}
40
+
41
+ const LuaGrammars = {
42
+ Lua,
43
+ "Lua (WoW)" : WOW ,
44
+ MoonScript,
45
+ }
46
+ export default LuaGrammars
You can’t perform that action at this time.
0 commit comments