Skip to content
Snippets Groups Projects
Commit bbc53ebd authored by Hakan Tunc's avatar Hakan Tunc Committed by Marijn Haverbeke
Browse files

Add mimetype text/x-nesc

parent b6e9eea8
No related branches found
No related tags found
No related merge requests found
......@@ -437,4 +437,15 @@ CodeMirror.defineMode("clike", function(config, parserConfig) {
modeProps: {fold: ["brace", "include"]}
});
def("text/x-nesc", {
name: "clike",
keywords: words(cKeywords + "as atomic async call command component components configuration event generic " +
"implementation includes interface module new norace nx_struct nx_union post provides " +
"signal task uses abstract extends"),
blockKeywords: words("case do else for if switch while struct"),
atoms: words("null"),
hooks: {"#": cppHook},
modeProps: {fold: ["brace", "include"]}
});
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment