Skip to content

Commit

Permalink
fix: duplicated scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroreisvieira committed Oct 31, 2019
1 parent ddb7ff1 commit 37ea438
Show file tree
Hide file tree
Showing 7 changed files with 576 additions and 550 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sublime-meetio-theme",
"version": "3.0.5",
"version": "3.0.6",
"description": "The most powerful and adaptive theme for Sublime Text 3",
"bugs": {
"url": "https://github.com/meetio-theme/sublime-meetio-theme/issues"
Expand Down
546 changes: 283 additions & 263 deletions schemes/Meetio-Theme-Dark.sublime-color-scheme

Large diffs are not rendered by default.

526 changes: 263 additions & 263 deletions schemes/Meetio-Theme-Light.sublime-color-scheme

Large diffs are not rendered by default.

File renamed without changes.
36 changes: 18 additions & 18 deletions src/schemes/files/rules/index.js
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
const common = require("./common-syntax")
const markdown = require("./markdown-syntax")
const css = require("./css-syntax")
const diff = require("./diff-syntax")
const global = require("./global-syntax")
const git = require("./git-gutter")
const html = require("./html-syntax")
const ini = require("./ini-syntax")
const javascript = require("./javascript-syntax")
const json = require("./json-syntax")
const markdown = require("./markdown-syntax")
const javascript = require("./javascript-syntax")
const typescript = require("./typescript-syntax")
const vue = require("./vue-syntax")
const php = require("./php-syntax")
const python = require("./python-syntax")
const sql = require("./sql-syntax")
const python = require("./python-syntax")
const ini = require("./ini-syntax")
const git = require("./git-gutter")
const sublimelinter = require("./sublimelinter")
const typescript = require("./typescript-syntax")
const vue = require("./vue-syntax")
const diff = require("./diff-syntax")

module.exports = [
common,
markdown,
css,
diff,
global,
git,
html,
ini,
javascript,
json,
markdown,
javascript,
typescript,
vue,
php,
python,
sql,
python,
ini,
git,
sublimelinter,
typescript,
vue
diff,
]
6 changes: 4 additions & 2 deletions src/schemes/files/rules/python-syntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ module.exports = [
{
name: "[Python] Function Parameters",
scope: [
"source.python meta.item-access.arguments.python meta.qualified-name.python meta.generic-name.python, source.python meta.item-access.arguments.python meta.qualified-name.python support.type.python, source.python meta.function.parameters.annotation.python meta.item-access.arguments.python meta.qualified-name.python support.type.python",
"source.python meta.item-access.arguments.python meta.qualified-name.python meta.generic-name.python",
"source.python meta.item-access.arguments.python meta.qualified-name.python support.type.python, source.python meta.function.parameters.annotation.python meta.item-access.arguments.python meta.qualified-name.python support.type.python",
],
foreground: "var(green)",
},
Expand All @@ -60,7 +61,8 @@ module.exports = [
{
name: "[Python] Function Parameters",
scope: [
"source.python meta.item-access.python meta.qualified-name.python meta.generic-name.python, source.python meta.function.parameters.annotation.python meta.item-access.python meta.qualified-name.python meta.generic-name.python",
"source.python meta.item-access.python meta.qualified-name.python meta.generic-name.python",
"source.python meta.function.parameters.annotation.python meta.item-access.python meta.qualified-name.python meta.generic-name.python",
],
foreground: "var(yellow)",
},
Expand Down
10 changes: 7 additions & 3 deletions src/schemes/files/rules/typescript-syntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ module.exports = [
scope: [
"source.ts meta.export.default.ts meta.class.ts meta.method.declaration.ts storage.type.ts",
"meta.function-call.constructor.ts",
"entity.name.function.constructor.ts, variable.language.constructor.ts",
"entity.name.function.constructor.ts",
"variable.language.constructor.ts",
],
foreground: "var(purple)",
},
{
name: "[Typescript] Declaration",
scope: [
"source.ts meta.export.default.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts, source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts, source.ts meta.export.default.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts entity.name.type.ts",
"source.ts meta.export.default.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts",
"source.ts meta.class.ts meta.method.declaration.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts",
"source.ts meta.export.default.ts meta.class.ts meta.field.declaration.ts meta.type.annotation.ts entity.name.type.ts",
],
foreground: "var(yellow)",
},
Expand Down Expand Up @@ -57,7 +60,8 @@ module.exports = [
{
name: "[Typescript] Loop",
scope: [
"keyword.control.loop.ts, source.tsx meta.export.default.tsx meta.class.tsx meta.method.declaration.tsx meta.block.tsx meta.array.literal.tsx keyword.control.as.tsx",
"keyword.control.loop.ts",
"source.tsx meta.export.default.tsx meta.class.tsx meta.method.declaration.tsx meta.block.tsx meta.array.literal.tsx keyword.control.as.tsx",
],
foreground: "var(cyan)",
},
Expand Down

0 comments on commit 37ea438

Please sign in to comment.