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\":\"Fish\",\"name\":\"fish\",\"patterns\":[{\"include\":\"#string-double\"},{\"include\":\"#string-single\"},{\"include\":\"#comment\"},{\"include\":\"#subshell-bare\"},{\"include\":\"#subshell\"},{\"include\":\"#command\"},{\"include\":\"#keywords\"},{\"include\":\"#io-redirection\"},{\"include\":\"#operators\"},{\"include\":\"#options\"},{\"include\":\"#variable\"},{\"include\":\"#escape\"}],\"repository\":{\"command\":{\"captures\":{\"2\":{\"name\":\"keyword.operator.pipe.fish\"},\"3\":{\"name\":\"keyword.control.fish\"},\"5\":{\"name\":\"support.function.command.fish\"}},\"match\":\"(^\\\\s*|&&\\\\s*|(\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|\\\\b(if|while)\\\\b\\\\s+)(?!(?<!\\\\.)\\\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\\\b(?![!?]))([-\\\\].0-9A-\\\\[_a-z]+)\"},\"command-subshell\":{\"captures\":{\"2\":{\"name\":\"keyword.operator.pipe.fish\"},\"3\":{\"name\":\"keyword.control.fish\"},\"5\":{\"name\":\"support.function.command.fish\"}},\"match\":\"(\\\\G\\\\s*|&&\\\\s*|(\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|\\\\b(if|while)\\\\b\\\\s+)(?!(?<!\\\\.)\\\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\\\b(?![!?]))([-\\\\].0-9A-\\\\[_a-z]+)\"},\"comment\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.comment.fish\"}},\"match\":\"(?<!\\\\$)(#)(?!\\\\{).*$\\\\n?\",\"name\":\"comment.line.number-sign.fish\"},\"escape\":{\"patterns\":[{\"match\":\"\\\\\\\\[] \\\"#$\\\\&-*;<>?\\\\[^abefnrtv{-~]\",\"name\":\"constant.character.escape.string.fish\"},{\"match\":\"\\\\\\\\x\\\\h{1,2}\",\"name\":\"constant.character.escape.hex-ascii.fish\"},{\"match\":\"\\\\\\\\X\\\\h{1,2}\",\"name\":\"constant.character.escape.hex-byte.fish\"},{\"match\":\"\\\\\\\\[0-7]{1,3}\",\"name\":\"constant.character.escape.octal.fish\"},{\"match\":\"\\\\\\\\u\\\\h{1,4}\",\"name\":\"constant.character.escape.unicode-16-bit.fish\"},{\"match\":\"\\\\\\\\U\\\\h{1,8}\",\"name\":\"constant.character.escape.unicode-32-bit.fish\"},{\"match\":\"\\\\\\\\c[A-Za-z]\",\"name\":\"constant.character.escape.control.fish\"}]},\"io-redirection\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.operator.redirect.fish\"},\"2\":{\"name\":\"keyword.operator.redirect.target.fish\"}},\"match\":\"(<|(?:[>^]|>>|\\\\^\\\\^)(?:&[-012])?|[012](?:[<>]|>>)(?:&[-012])?)\\\\s*(?!\\\\()([\\\\--9A-Z_a-z]+)\"},{\"match\":\"<|([>^]|>>|\\\\^\\\\^)(&[-012])?|[012]([<>]|>>)(&[-012])?\",\"name\":\"keyword.operator.redirect.fish\"}]},\"keywords\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"keyword.control.fish\"}},\"match\":\"(^\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|(?<=\\\\bwhile\\\\b)\\\\s+|(?<=\\\\bif\\\\b)\\\\s+|(?<=\\\\band\\\\b)\\\\s+|(?<=\\\\bor\\\\b)\\\\s+|(?<=\\\\bnot\\\\b)\\\\s+)(?<!\\\\.)\\\\b(while|if|and|or|not)\\\\b(?![!?])\"},{\"captures\":{\"2\":{\"name\":\"keyword.control.fish\"}},\"match\":\"(^\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*)(?<!\\\\.)\\\\b(function|else|switch|case|for|begin|end|continue|break|return|source|exit|wait)\\\\b(?![!?])\"},{\"match\":\"\\\\b(in)\\\\b(?![!?])\",\"name\":\"keyword.control.fish\"}]},\"keywords-subshell\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"keyword.control.fish\"}},\"match\":\"(\\\\G\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|(?<=\\\\bwhile\\\\b)\\\\s+|(?<=\\\\bif\\\\b)\\\\s+|(?<=\\\\band\\\\b)\\\\s+|(?<=\\\\bor\\\\b)\\\\s+|(?<=\\\\bnot\\\\b)\\\\s+)(?<!\\\\.)\\\\b(while|if|and|or|not)\\\\b(?![!?])\"},{\"captures\":{\"2\":{\"name\":\"keyword.control.fish\"}},\"match\":\"(\\\\G\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*)(?<!\\\\.)\\\\b(function|else|switch|case|for|begin|end|continue|break|return|source|exit|wait)\\\\b(?![!?])\"},{\"match\":\"\\\\b(in)\\\\b(?![!?])\",\"name\":\"keyword.control.fish\"}]},\"operators\":{\"patterns\":[{\"match\":\"&\",\"name\":\"keyword.operator.background.fish\"},{\"match\":\"\\\\*\\\\*|[*?]\",\"name\":\"keyword.operator.glob.fish\"}]},\"options\":{\"captures\":{\"1\":{\"name\":\"source.option.fish\"}},\"match\":\"\\\\s(-{1,2}[-0-9A-Z_a-z]+|-\\\\w)\\\\b\"},\"slice\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.slice.begin.fish\"}},\"end\":\"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(])\",\"endCaptures\":{\"1\":{\"name\":\"constant.character.escape.string.fish\"},\"3\":{\"name\":\"punctuation.definition.slice.end.fish\"}},\"name\":\"meta.embedded.slice.fish variable.interpolation.fish\",\"patterns\":[{\"include\":\"#string-double\"},{\"include\":\"#string-single\"},{\"include\":\"#subshell-bare\"},{\"include\":\"#subshell\"},{\"include\":\"#variable\"},{\"include\":\"#escape\"}]},\"slice-string-double\":{\"begin\":\"\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.slice.begin.fish\"}},\"end\":\"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(])\",\"endCaptures\":{\"1\":{\"name\":\"constant.character.escape.string.fish\"},\"3\":{\Line truncated
|
||||
|
||||
export default [
|
||||
lang
|
||||
]
|
||||
Reference in new issue
Block a user