@rip-lang/print 1.1.50 → 1.1.51
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/hljs-rip.js +0 -13
- package/package.json +1 -1
package/hljs-rip.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
// highlight.js language definition for Rip
|
|
2
|
-
// https://github.com/nicholasgasior/ghljs
|
|
3
2
|
|
|
4
3
|
export default function(hljs) {
|
|
5
4
|
const KEYWORDS = [
|
|
@@ -170,18 +169,6 @@ export default function(hljs) {
|
|
|
170
169
|
relevance: 0,
|
|
171
170
|
};
|
|
172
171
|
|
|
173
|
-
const TYPE_ANNOTATION = {
|
|
174
|
-
className: 'type',
|
|
175
|
-
begin: /::=?\s*/,
|
|
176
|
-
end: /$/,
|
|
177
|
-
excludeBegin: true,
|
|
178
|
-
contains: [
|
|
179
|
-
{ className: 'type', begin: /\b(?:number|string|boolean|void|any|never|unknown|object|symbol|bigint)\b/ },
|
|
180
|
-
{ className: 'title.class', begin: /[A-Z][\w]*/ },
|
|
181
|
-
],
|
|
182
|
-
relevance: 0,
|
|
183
|
-
};
|
|
184
|
-
|
|
185
172
|
const TYPE_KEYWORDS = {
|
|
186
173
|
className: 'type',
|
|
187
174
|
begin: /\b(?:number|string|boolean|void|any|never|unknown|object|symbol|bigint)\b/,
|