diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/highlight.js/lib/languages/nimrod.js | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) |
remove node_modules
Diffstat (limited to 'node_modules/highlight.js/lib/languages/nimrod.js')
-rw-r--r-- | node_modules/highlight.js/lib/languages/nimrod.js | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/node_modules/highlight.js/lib/languages/nimrod.js b/node_modules/highlight.js/lib/languages/nimrod.js deleted file mode 100644 index f47dcfa27..000000000 --- a/node_modules/highlight.js/lib/languages/nimrod.js +++ /dev/null @@ -1,54 +0,0 @@ -module.exports = function(hljs) { - return { - aliases: ['nim'], - keywords: { - keyword: - 'addr and as asm bind block break case cast const continue converter ' + - 'discard distinct div do elif else end enum except export finally ' + - 'for from generic if import in include interface is isnot iterator ' + - 'let macro method mixin mod nil not notin object of or out proc ptr ' + - 'raise ref return shl shr static template try tuple type using var ' + - 'when while with without xor yield', - literal: - 'shared guarded stdin stdout stderr result true false', - built_in: - 'int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float ' + - 'float32 float64 bool char string cstring pointer expr stmt void ' + - 'auto any range array openarray varargs seq set clong culong cchar ' + - 'cschar cshort cint csize clonglong cfloat cdouble clongdouble ' + - 'cuchar cushort cuint culonglong cstringarray semistatic' - }, - contains: [ { - className: 'meta', // Actually pragma - begin: /{\./, - end: /\.}/, - relevance: 10 - }, { - className: 'string', - begin: /[a-zA-Z]\w*"/, - end: /"/, - contains: [{begin: /""/}] - }, { - className: 'string', - begin: /([a-zA-Z]\w*)?"""/, - end: /"""/ - }, - hljs.QUOTE_STRING_MODE, - { - className: 'type', - begin: /\b[A-Z]\w+\b/, - relevance: 0 - }, { - className: 'number', - relevance: 0, - variants: [ - {begin: /\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/}, - {begin: /\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/}, - {begin: /\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/}, - {begin: /\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/} - ] - }, - hljs.HASH_COMMENT_MODE - ] - } -};
\ No newline at end of file |