File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import grammarMap from "./grammars/index"
4
4
5
5
import * as apple from "./grammars/apple"
6
6
import c from "./grammars/c"
7
- import * as coffeescript from "./grammars/coffeescript"
7
+ import coffeescript from "./grammars/coffeescript"
8
8
import database from "./grammars/database"
9
9
import * as doc from "./grammars/doc"
10
10
import * as fortran from "./grammars/fortran"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ const args = function ({ filepath }) {
14
14
return GrammarUtils . formatArgs ( cmd )
15
15
}
16
16
17
- export const CoffeeScript = {
17
+ const CoffeeScript = {
18
18
"Selection Based" : {
19
19
command,
20
20
args ( context ) {
@@ -29,9 +29,9 @@ export const CoffeeScript = {
29
29
"File Based" : { command, args } ,
30
30
}
31
31
32
- exports [ "CoffeeScript (Literate)" ] = exports . CoffeeScript
32
+ const CoffeeScriptLiterate = CoffeeScript
33
33
34
- export const IcedCoffeeScript = {
34
+ const IcedCoffeeScript = {
35
35
"Selection Based" : {
36
36
command : "iced" ,
37
37
args ( context ) {
@@ -46,3 +46,11 @@ export const IcedCoffeeScript = {
46
46
} ,
47
47
} ,
48
48
}
49
+
50
+ const CoffeeScriptGrammars = {
51
+ CoffeeScript,
52
+ "CoffeeScript (Literate)" : CoffeeScriptLiterate ,
53
+ IcedCoffeeScript,
54
+ "Iced CoffeeScript" : IcedCoffeeScript ,
55
+ }
56
+ export default CoffeeScriptGrammars
You can’t perform that action at this time.
0 commit comments