flashtrace 0.11.3 → 0.11.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flashtrace.mjs +16 -1
- package/package.json +1 -1
package/dist/flashtrace.mjs
CHANGED
|
@@ -24,9 +24,10 @@ var cLike = { line: ["//"], block: [["/*", "*/"]] };
|
|
|
24
24
|
var cLikeNested = { line: ["//"], block: [["/*", "*/", true]] };
|
|
25
25
|
var php = { line: ["//", "#"], block: [["/*", "*/"]] };
|
|
26
26
|
var hash = { line: ["#"], block: [] };
|
|
27
|
-
var coffee = { line: ["#"], block: [["###", "###"]] };
|
|
27
|
+
var coffee = { line: ["#", "####"], block: [["###", "###"]] };
|
|
28
28
|
var julia = { line: ["#"], block: [["#=", "=#", true]] };
|
|
29
29
|
var nim = { line: ["#"], block: [["#[", "]#", true], ["##[", "]##", true]] };
|
|
30
|
+
var cmake = { line: ["#"], block: [["#[[", "]]"]] };
|
|
30
31
|
var powershell = { line: ["#"], block: [["<#", "#>"]] };
|
|
31
32
|
var sql = { line: ["--"], block: [["/*", "*/"]] };
|
|
32
33
|
var lua = { line: ["--"], block: [["--[[", "]]"]] };
|
|
@@ -78,9 +79,17 @@ var BY_EXT = {
|
|
|
78
79
|
".cpp": cLike,
|
|
79
80
|
".cc": cLike,
|
|
80
81
|
".hpp": cLike,
|
|
82
|
+
".cxx": cLike,
|
|
83
|
+
".hxx": cLike,
|
|
84
|
+
".ino": cLike,
|
|
85
|
+
".inl": cLike,
|
|
86
|
+
".tpp": cLike,
|
|
81
87
|
".cs": cLike,
|
|
82
88
|
".java": cLike,
|
|
83
89
|
".go": cLike,
|
|
90
|
+
".groovy": cLike,
|
|
91
|
+
".gradle": cLike,
|
|
92
|
+
".sol": cLike,
|
|
84
93
|
".dart": cLike,
|
|
85
94
|
".php": php,
|
|
86
95
|
".proto": cLike,
|
|
@@ -106,12 +115,16 @@ var BY_EXT = {
|
|
|
106
115
|
".ex": hash,
|
|
107
116
|
".exs": hash,
|
|
108
117
|
".tcl": hash,
|
|
118
|
+
".cr": hash,
|
|
119
|
+
".gd": hash,
|
|
120
|
+
".awk": hash,
|
|
109
121
|
".graphql": hash,
|
|
110
122
|
".gql": hash,
|
|
111
123
|
// hash line comments plus a block pair of their own
|
|
112
124
|
".jl": julia,
|
|
113
125
|
".nim": nim,
|
|
114
126
|
".coffee": coffee,
|
|
127
|
+
".cmake": cmake,
|
|
115
128
|
".ps1": powershell,
|
|
116
129
|
".psm1": powershell,
|
|
117
130
|
".tf": hcl,
|
|
@@ -150,6 +163,8 @@ var BY_EXT = {
|
|
|
150
163
|
".sql": sql,
|
|
151
164
|
".lua": lua,
|
|
152
165
|
".hs": haskell,
|
|
166
|
+
".elm": haskell,
|
|
167
|
+
".purs": haskell,
|
|
153
168
|
".css": css,
|
|
154
169
|
".xml": xml,
|
|
155
170
|
".svg": xml,
|