diff --git a/CHANGELOG.md b/CHANGELOG.md index 18139e9..f0871cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +#### 3.1.0 + +- fixed #21 +- XML syntax + #### 3.0.10 - fixed #18 diff --git a/experiments/tsx.tsx b/experiments/tsx.tsx index c4e58f9..bf87b81 100644 --- a/experiments/tsx.tsx +++ b/experiments/tsx.tsx @@ -129,6 +129,7 @@ export default function Search() { <>
+

Hey whatsapp

{ e.preventDefault() @@ -183,39 +184,6 @@ export default function Search() { setIsStatusOpen={setIsStatusOpen} insertValuesIntoState={insertValuesIntoState} /> - - - {searched.length > 0 ? ( diff --git a/experiments/xml.xml b/experiments/xml.xml new file mode 100644 index 0000000..dd6d096 --- /dev/null +++ b/experiments/xml.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + <tag> & 'Quotes' "Double" + This won't be parsed]]> + + + + + Here are some notes: Important details. + + + + + + + + + + diff --git a/package-lock.json b/package-lock.json index 295d974..2917cb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,23 +1,23 @@ { "name": "meow", - "version": "3.0.11", + "version": "3.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "meow", - "version": "3.0.11", + "version": "3.1.0", "devDependencies": { - "prettier": "^3.3.3" + "prettier": "^3.4.2" }, "engines": { "vscode": "^1.84.0" } }, "node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "license": "MIT", "bin": { diff --git a/package.json b/package.json index 78c1499..bd95762 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Fresh and clean user interface, code with no distraction. Meow in the darkness.", "publisher": "irfanshadikrishad", "icon": "images/meow.png", - "version": "3.0.11", + "version": "3.1.0", "repository": { "type": "git", "url": "https://github.com/irfanshadikrishad/meow" @@ -40,7 +40,7 @@ ] }, "devDependencies": { - "prettier": "^3.3.3" + "prettier": "^3.4.2" }, "scripts": { "format": "prettier . --write" diff --git a/themes/meow.json b/themes/meow.json index 2985b88..556bb9a 100644 --- a/themes/meow.json +++ b/themes/meow.json @@ -141,13 +141,20 @@ "comment", "comment.block.css", "comment.block.html", - "comment.line.double-dash.sql" + "comment.line.double-dash.sql", + "meta.tag.xml", + "punctuation.separator.namespace.xml", + "meta.tag.preprocessor.xml", + "punctuation.accessor.ts", + "punctuation.separator.key-value.ts" ], "settings": { "foreground": "#454545", "fontStyle": "italic" } }, { "name": "Jet", "scope": [ + "keyword.operator.type.ts", + "punctuation.accessor.optional.ts", "constant.numeric.decimal.point.c", "invalid.deprecated.semicolon.python", "keyword.operator.arithmetic.python", @@ -266,7 +273,12 @@ "punctuation.separator.map.value.yaml", "punctuation.definition.section.case-statement.tsx", "meta.at-rule.include.scss", - "punctuation.separator.argument-label.swift" + "punctuation.separator.argument-label.swift", + "storage.type.function.arrow.ts", + "keyword.operator.logical.ts", + "punctuation.separator.parameter.ts", + "keyword.operator.relational.ts", + "keyword.operator.arithmetic.ts" ], "settings": { "foreground": "#353535" } }, @@ -485,7 +497,11 @@ "keyword.operator.address.go", "keyword.control.flow.js.jsx", "keyword.operator.expression.keyof.tsx", - "punctuation.section.property-list.begin.bracket.curly.css" + "punctuation.section.property-list.begin.bracket.curly.css", + "entity.name.tag.localname.xml", + "punctuation.definition.tag.xml", + "entity.name.tag.xml", + "storage.type.class.ts" ], "settings": { "foreground": "#ff6188" @@ -506,7 +522,11 @@ "support.function.misc.scss", "keyword.operator.expression.in.tsx", "keyword.operator.rest.tsx", - "keyword.operator.expression.instanceof.tsx" + "keyword.operator.expression.instanceof.tsx", + "storage.type.function.ts", + "keyword.control.as.ts", + "storage.modifier.async.ts", + "keyword.operator.expression.of.ts" ], "settings": { "foreground": "#ff6188", @@ -552,11 +572,8 @@ "storage.modifier.reference.cpp", "variable", "variable.object.property.tsx", - "variable.other.constant.tsx", "variable.other.enummember.tsx", - "variable.other.object.tsx", "variable.other.rust", - "variable.parameter.tsx", "keyword.type.void.cs", "entity.name.function.sql", "keyword.operator.spread.tsx", @@ -570,7 +587,11 @@ "keyword.operator.increment.go", "variable.other.go", "variable.other.assignment.go", - "keyword.operator.expression.infer.tsx" + "keyword.operator.expression.infer.tsx", + "string.quoted.double.tsx", + "string.template.tsx", + "string.quoted.double.ts", + "string.template.ts" ], "settings": { "foreground": "#ECB365" } }, @@ -583,19 +604,20 @@ "string.quoted.double.html", "string.quoted.double.rust", "string.quoted.double.single-line.swift", - "string.quoted.double.tsx", "string.quoted.double.yaml", "string.quoted.single.css", "string.quoted.single.html", "string.quoted.single.tsx", - "string.template.tsx", "string.unquoted.plain.out.yaml", "source.ini", "variable.parameter.url.css", "constant.numeric.css", "meta.property-value.css", "support.constant.font-name.css", - "support.constant.property-value.css" + "support.constant.property-value.css", + "constant.numeric.decimal.ts", + "constant.language.boolean.true.ts", + "constant.language.boolean.false.ts" ], "settings": { "foreground": "#98c379" } }, @@ -714,7 +736,10 @@ "meta.embedded.block.scss", "keyword.declaration.dart", "constant.language.go.sum", - "support.type.property-name.media.css" + "support.type.property-name.media.css", + "variable.other.readwrite.alias.ts", + "variable.other.property.ts", + "entity.name.type.class.ts" ], "settings": { "foreground": "#3dc2ec" } }, @@ -762,7 +787,10 @@ "keyword.other.special-method.ruby", "support.type.property-name.css", "meta.property-name.css", - "constant.language.go.mod" + "constant.language.go.mod", + "entity.other.attribute-name.namespace.xml", + "entity.name.tag.namespace.xml", + "support.variable.property.ts" ], "settings": { "foreground": "#E76F51" @@ -776,7 +804,10 @@ "constant.character.entity.tsx", "entity.other.attribute.lua", "support.class.ruby", - "storage.type.annotation" + "storage.type.annotation", + "entity.other.attribute-name.localname.xml", + "entity.other.attribute-name.xml", + "keyword.operator.new.ts" ], "settings": { "foreground": "#E76F51", @@ -823,7 +854,10 @@ "keyword.interface.go", "storage.type.rune.go", "meta.objectliteral.tsx", - "variable.other" + "variable.other", + "entity.name.type.ts", + "support.type.primitive.ts", + "support.type.builtin.ts" ], "settings": { "foreground": "#6DA4AA" @@ -876,7 +910,6 @@ "constant.numeric.float.lua", "constant.other.symbol.ruby", "constant.numeric.dart", - "meta.object-literal.key.tsx", "constant.other.color.rgb-value.hex.css", "support.constant.color.w3c-standard-color-name.css" ], @@ -895,11 +928,36 @@ "constant.language.boolean.true.tsx", "constant.language.boolean.false.tsx", "constant.language.json", - "variable.scss" + "variable.scss", + "constant.character.entity.xml", + "meta.object-literal.key.tsx" ], "settings": { "foreground": "#858AE3" } + }, + { + "name": "Platinum", + "scope": ["meta.embedded.expression.tsx"], + "settings": { + "foreground": "#E5E5E570", + "fontStyle": "" + } + }, + { + "name": "Variables", + "scope": [ + "variable.other.constant.tsx", + "variable.other.object.tsx", + "variable.parameter.tsx", + "variable.other.constant.ts", + "variable.other.object.ts", + "variable.other.constant.object.ts", + "variable.other.readwrite.ts" + ], + "settings": { + "foreground": "#E29578" + } } ] }