From 3dcc68d4607146f698960a7f2b4b1d141ca1d951 Mon Sep 17 00:00:00 2001 From: evanlin96069 <72735402+evanlin96069@users.noreply.github.com> Date: Thu, 23 Nov 2023 16:48:37 +0800 Subject: [PATCH] Add nino config syntax highlight --- syntax/nino.json | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 syntax/nino.json diff --git a/syntax/nino.json b/syntax/nino.json new file mode 100644 index 0000000..b68959c --- /dev/null +++ b/syntax/nino.json @@ -0,0 +1,73 @@ +{ + "name": "nino", + "extensions": [ + "ninorc", + ".nino" + ], + "comment": "#", + "keywords1": [ + "color", + "exec", + "hldb_load", + "hldb_reload_all", + "newline", + "alias", + "echo", + "help" + ], + "keywords2": [ + "tabsize", + "whitespace", + "autoindent", + "backspace", + "bracket", + "trailing", + "drawspace", + "syntax", + "helpinfo", + "ignorecase", + "mouse", + "osc52_copy", + "cmd_expand_depth" + ], + "keywords3": [ + "bg", + "top.fg", + "top.bg", + "top.tabs.fg", + "top.tabs.bg", + "top.select.fg", + "top.select.bg", + "explorer.bg", + "explorer.select", + "explorer.directory", + "explorer.file", + "explorer.focus", + "prompt.fg", + "prompt.bg", + "status.fg", + "status.bg", + "status.lang.fg", + "status.lang.bg", + "status.pos.fg", + "status.pos.bg", + "lineno.fg", + "lineno.bg", + "cursorline", + "hl.normal", + "hl.comment", + "hl.keyword1", + "hl.keyword2", + "hl.keyword3", + "hl.string", + "hl.number", + "hl.space", + "hl.match", + "hl.select", + "hl.trailing", + "hl.trailing", + "hl.trailing", + "hl.trailing", + "hl.trailing" + ] +} \ No newline at end of file