Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

#### 3.1.0

- fixed #21
- XML syntax

#### 3.0.10

- fixed #18
Expand Down
34 changes: 1 addition & 33 deletions experiments/tsx.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export default function Search() {
<>
<Navbar />
<section className="container">
<p>Hey whatsapp</p>
<form
onSubmit={(e) => {
e.preventDefault()
Expand Down Expand Up @@ -183,39 +184,6 @@ export default function Search() {
setIsStatusOpen={setIsStatusOpen}
insertValuesIntoState={insertValuesIntoState}
/>
<Status
status={status}
setStatus={setStatus}
isStatusOpen={isStatusOpen}
insertValuesIntoState={insertValuesIntoState}
setIsCountryOpen={setIsCountryOpen}
setIsFormatOpen={setIsFormatOpen}
setIsStatusOpen={setIsStatusOpen}
setIsGenreOpen={setIsGenreOpen}
setIsYearOpen={setIsYearOpen}
setIsSeasonOpen={setIsSeasonOpen}
/>
<Country
country={country}
setCountry={setCountry}
insertValuesIntoState={insertValuesIntoState}
isCountryOpen={isCountryOpen}
setIsCountryOpen={setIsCountryOpen}
setIsYearOpen={setIsYearOpen}
setIsGenreOpen={setIsGenreOpen}
setIsSeasonOpen={setIsSeasonOpen}
setIsFormatOpen={setIsFormatOpen}
setIsStatusOpen={setIsStatusOpen}
/>
<Filter
getSearched={getSearched}
setIsCountryOpen={setIsCountryOpen}
setIsYearOpen={setIsYearOpen}
setIsGenreOpen={setIsGenreOpen}
setIsSeasonOpen={setIsSeasonOpen}
setIsFormatOpen={setIsFormatOpen}
setIsStatusOpen={setIsStatusOpen}
/>
</form>

{searched.length > 0 ? (
Expand Down
38 changes: 38 additions & 0 deletions experiments/xml.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Root element -->
<Experiment xmlns:ns1="http://example.com/ns1" xmlns="http://defaultnamespace.com">
<!-- Basic element with attributes -->
<Settings type="simulation" enabled="true">
<Version major="1" minor="0" />
</Settings>

<!-- Nested elements -->
<Data>
<Category name="Physics">
<Parameter name="Gravity" value="9.8" unit="m/s²" />
<Parameter name="Mass" value="1.2" unit="kg" />
</Category>
<Category name="Chemistry">
<Parameter name="pH" value="7" unit="-" />
</Category>
</Data>

<!-- Special characters and escaping -->
<SpecialCharacters>
<Escaped>&lt;tag&gt; &amp; &apos;Quotes&apos; &quot;Double&quot;</Escaped>
<RawText><![CDATA[<tag>This won't be parsed</tag>]]></RawText>
</SpecialCharacters>

<!-- Mixed content -->
<Notes>
Here are some notes: <Highlight>Important</Highlight> details.
</Notes>

<!-- Using namespaces -->
<ns1:AdvancedSettings>
<ns1:Option name="debug" value="true" />
</ns1:AdvancedSettings>

<!-- Self-closing element -->
<Log timestamp="2024-11-18T10:00:00Z" />
</Experiment>
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -40,7 +40,7 @@
]
},
"devDependencies": {
"prettier": "^3.3.3"
"prettier": "^3.4.2"
},
"scripts": {
"format": "prettier . --write"
Expand Down
92 changes: 75 additions & 17 deletions themes/meow.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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" }
},
Expand Down Expand Up @@ -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"
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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" }
},
Expand All @@ -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" }
},
Expand Down Expand Up @@ -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" }
},
Expand Down Expand Up @@ -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"
Expand All @@ -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",
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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"
],
Expand All @@ -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"
}
}
]
}
Loading