aboutsummaryrefslogtreecommitdiff
path: root/node_modules/highlight.js/lib/languages/protobuf.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/highlight.js/lib/languages/protobuf.js
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
remove node_modules
Diffstat (limited to 'node_modules/highlight.js/lib/languages/protobuf.js')
-rw-r--r--node_modules/highlight.js/lib/languages/protobuf.js35
1 files changed, 0 insertions, 35 deletions
diff --git a/node_modules/highlight.js/lib/languages/protobuf.js b/node_modules/highlight.js/lib/languages/protobuf.js
deleted file mode 100644
index 3e24c7f7e..000000000
--- a/node_modules/highlight.js/lib/languages/protobuf.js
+++ /dev/null
@@ -1,35 +0,0 @@
-module.exports = function(hljs) {
- return {
- keywords: {
- keyword: 'package import option optional required repeated group',
- built_in: 'double float int32 int64 uint32 uint64 sint32 sint64 ' +
- 'fixed32 fixed64 sfixed32 sfixed64 bool string bytes',
- literal: 'true false'
- },
- contains: [
- hljs.QUOTE_STRING_MODE,
- hljs.NUMBER_MODE,
- hljs.C_LINE_COMMENT_MODE,
- {
- className: 'class',
- beginKeywords: 'message enum service', end: /\{/,
- illegal: /\n/,
- contains: [
- hljs.inherit(hljs.TITLE_MODE, {
- starts: {endsWithParent: true, excludeEnd: true} // hack: eating everything after the first title
- })
- ]
- },
- {
- className: 'function',
- beginKeywords: 'rpc',
- end: /;/, excludeEnd: true,
- keywords: 'rpc returns'
- },
- {
- begin: /^\s*[A-Z_]+/,
- end: /\s*=/, excludeEnd: true
- }
- ]
- };
-}; \ No newline at end of file