the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+5
@@ -0,0 +1,5 @@
|
||||
const lang = Object.freeze(JSON.parse("{\"displayName\":\"CUE\",\"fileTypes\":[\"cue\"],\"name\":\"cue\",\"patterns\":[{\"include\":\"#whitespace\"},{\"include\":\"#comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.package\"},\"2\":{\"name\":\"entity.name.namespace\"}},\"match\":\"(?<![#$_\\\\p{L}\\\\d])(package)[\\\\t ]+([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*)(?![#$_\\\\p{L}\\\\d])\"},{\"patterns\":[{\"begin\":\"(?<![#$_\\\\p{L}\\\\d])(import)[\\\\t ]+(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.other.import\"},\"2\":{\"name\":\"punctuation.section.parens.begin\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.parens.end\"}},\"name\":\"meta.imports\",\"patterns\":[{\"include\":\"#whitespace\"},{\"include\":\"#comment\"},{\"captures\":{\"1\":{\"name\":\"entity.name.namespace\"},\"2\":{\"name\":\"punctuation.definition.string.begin\"},\"3\":{\"name\":\"string.quoted.double-import\"},\"4\":{\"name\":\"punctuation.colon\"},\"5\":{\"name\":\"entity.name\"},\"6\":{\"name\":\"punctuation.definition.string.end\"}},\"match\":\"(?:([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*)[\\\\t ]+)?(\\\")([^\\\":]+)(?:(:)([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*))?(\\\")\",\"name\":\"meta.import-spec\"},{\"match\":\";\",\"name\":\"punctuation.separator\"},{\"include\":\"#invalid_in_parens\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.other.import\"},\"2\":{\"name\":\"entity.name.namespace\"},\"3\":{\"name\":\"punctuation.definition.string.begin\"},\"4\":{\"name\":\"string.quoted.double-import\"},\"5\":{\"name\":\"punctuation.colon\"},\"6\":{\"name\":\"entity.name\"},\"7\":{\"name\":\"punctuation.definition.string.end\"}},\"match\":\"(?<![#$_\\\\p{L}\\\\d])(import)[\\\\t ]+(?:([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*)[\\\\t ]+)?(\\\")([^\\\":]+)(?:(:)([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*))?(\\\")\",\"name\":\"meta.import\"}]},{\"include\":\"#punctuation_comma\"},{\"include\":\"#declaration\"},{\"include\":\"#invalid_in_braces\"}],\"repository\":{\"attribute_element\":{\"patterns\":[{\"begin\":\"([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*|_[#$_\\\\p{L}\\\\d]+)(=)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other\"},\"2\":{\"name\":\"punctuation.bind\"}},\"end\":\"(?=[),])\",\"patterns\":[{\"include\":\"#attribute_string\"}]},{\"begin\":\"([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*|_[#$_\\\\p{L}\\\\d]+)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other\"},\"2\":{\"name\":\"punctuation.attribute-elements.begin\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.attribute-elements.end\"}},\"patterns\":[{\"include\":\"#punctuation_comma\"},{\"include\":\"#attribute_element\"}]},{\"include\":\"#attribute_string\"}]},\"attribute_string\":{\"patterns\":[{\"include\":\"#string\"},{\"match\":\"[^\\\\n\\\"#'(),=]+\",\"name\":\"string.unquoted\"},{\"match\":\"[^),]+\",\"name\":\"invalid\"}]},\"comment\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment\"}},\"match\":\"(//).*$\\\\n?\",\"name\":\"comment.line\"},{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment\"}},\"end\":\"\\\\*/\",\"name\":\"comment.block\"}]},\"declaration\":{\"patterns\":[{\"begin\":\"(@)([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*|_[#$_\\\\p{L}\\\\d]+)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.annotation\"},\"2\":{\"name\":\"variable.annotation\"},\"3\":{\"name\":\"punctuation.attribute-elements.begin\"}},\"end\":\"\\\\)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.attribute-elements.end\"}},\"name\":\"meta.annotation\",\"patterns\":[{\"include\":\"#punctuation_comma\"},{\"include\":\"#attribute_element\"}]},{\"match\":\"(?<!:)::(?!:)\",\"name\":\"punctuation.isa\"},{\"include\":\"#punctuation_colon\"},{\"match\":\"\\\\?\",\"name\":\"punctuation.option\"},{\"match\":\"(?<![!<=>])=(?![=~])\",\"name\":\"punctuation.bind\"},{\"match\":\"<-\",\"name\":\"punctuation.arrow\"},{\"include\":\"#expression\"}]},\"expression\":{\"patterns\":[{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.for\"},\"2\":{\"name\":\"variable.other\"},\"3\":{\"name\":\"punctuation.separator\"},\"4\":{\"name\":\"variable.other\"},\"5\":{\"name\":\"keyword.control.in\"}},\"match\":\"(?<![#$_\\\\p{L}\\\\d])(for)[\\\\t ]+([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*|_[#$_\\\\p{L}\\\\d]+)(?:[\\\\t ]*(,)[\\\\t ]*([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*|_[#$_\\\\p{L}\\\\d]+))?[\\\\t ]+(in)(?![#$_\\\\p{L}\\\\d])\"},{\"match\":\"(?<![#$_\\\\p{L}\\\\d])if(?![#$_\\\\p{L}\\\\d])\",\"name\":\"keyword.control.conditional\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.let\"},\"2\":{\"name\":\"variable.other\"},\"3\":{\"name\":\"punctuation.bind\"}},\"match\":\"(?<![#$_\\\\p{L}\\\\d])(let)[\\\\t ]+([#$\\\\p{L}][#$_\\\\p{L}\\\\d]*|_[#$_\\\\p{L}\\\\d]+)[\\\\t ]*(=)(?!=)\"}]},{\"patterns\":[{\"match\":\"[-*+]|/(?![*/])\",\"name\":\"keyword.operator\"},{\"match\":\"(?<![#$_\\\\p{L}\\\\d])(?:div|mod|quo|rem)(?![#$_\\\\p{L}\\\\d])\",\"name\":\"keyword.operator.word\"},{\"match\":\"=[=~]|![=~]|<=|>=|<(?![-=])|>(?!=)\",\"name\":\"Line truncated
|
||||
|
||||
export default [
|
||||
lang
|
||||
]
|
||||
Reference in new issue
Block a user