Files
docs/node_modules/@shikijs/langs/dist/qmldir.mjs
yinxue 9e1b8bdc9d
Some checks failed
CI Pipeline / build (push) Failing after 3m23s
first-commit
2025-08-27 14:05:33 +08:00

6 lines
1.1 KiB
JavaScript

const lang = Object.freeze(JSON.parse("{\"displayName\":\"QML Directory\",\"name\":\"qmldir\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#keywords\"},{\"include\":\"#version\"},{\"include\":\"#names\"}],\"repository\":{\"comment\":{\"patterns\":[{\"begin\":\"#\",\"end\":\"$\",\"name\":\"comment.line.number-sign.qmldir\"}]},\"file-name\":{\"patterns\":[{\"match\":\"\\\\b\\\\w+\\\\.(qmltypes|qml|js)\\\\b\",\"name\":\"string.unquoted.qmldir\"}]},\"identifier\":{\"patterns\":[{\"match\":\"\\\\b\\\\w+\\\\b\",\"name\":\"variable.parameter.qmldir\"}]},\"keywords\":{\"patterns\":[{\"match\":\"\\\\b(module|singleton|internal|plugin|classname|typeinfo|depends|designersupported)\\\\b\",\"name\":\"keyword.other.qmldir\"}]},\"module-name\":{\"patterns\":[{\"match\":\"\\\\b[A-Z]\\\\w*\\\\b\",\"name\":\"entity.name.type.qmldir\"}]},\"names\":{\"patterns\":[{\"include\":\"#file-name\"},{\"include\":\"#module-name\"},{\"include\":\"#identifier\"}]},\"version\":{\"patterns\":[{\"match\":\"\\\\b\\\\d+\\\\.\\\\d+\\\\b\",\"name\":\"constant.numeric.qml\"}]}},\"scopeName\":\"source.qmldir\"}"))
export default [
lang
]