diff --git a/contrib/typlite/src/main.rs b/contrib/typlite/src/main.rs index cf233035e..ecfb0d289 100644 --- a/contrib/typlite/src/main.rs +++ b/contrib/typlite/src/main.rs @@ -16,7 +16,7 @@ pub struct CompileArgs { #[clap(flatten)] pub compile: CompileOnceArgs, - /// Path to ouput file + /// Path to output file #[clap(value_name = "OUTPUT")] pub output: Option, } diff --git a/contrib/typst-preview/editors/vscode/README.md b/contrib/typst-preview/editors/vscode/README.md index 23a664119..b9dbf648a 100644 --- a/contrib/typst-preview/editors/vscode/README.md +++ b/contrib/typst-preview/editors/vscode/README.md @@ -1,4 +1,4 @@ -# [DEPRECATION NOTICE] Typst preivew extension has been integrated into [tinymist](https://github.com/Myriad-Dreamin/tinymist) +# [DEPRECATION NOTICE] Typst preview extension has been integrated into [tinymist](https://github.com/Myriad-Dreamin/tinymist) We recommend all users migrate to tinymist for the following benefits: diff --git a/crates/sync-lsp/src/lib.rs b/crates/sync-lsp/src/lib.rs index 5b06bd3a2..40ac7874f 100644 --- a/crates/sync-lsp/src/lib.rs +++ b/crates/sync-lsp/src/lib.rs @@ -29,7 +29,7 @@ pub type LspResponseFuture = LspResult>; pub type SchedulableResponse = LspResponseFuture>; /// The common future type for the language server. pub type AnySchedulableResponse = SchedulableResponse; -/// The result of a scheduled response which could be finally catched by +/// The result of a scheduled response which could be finally caught by /// `schedule_tail`. /// - Returns Ok(Some()) -> Already responded /// - Returns Ok(None) -> Need to respond none diff --git a/crates/tinymist-query/src/analysis/bib.rs b/crates/tinymist-query/src/analysis/bib.rs index c43745424..c27347a3e 100644 --- a/crates/tinymist-query/src/analysis/bib.rs +++ b/crates/tinymist-query/src/analysis/bib.rs @@ -216,7 +216,7 @@ Euclid2: } #[test] - fn yaml_bib_imcomplete() { + fn yaml_bib_incomplete() { let content = r#" Euclid: type: article diff --git a/crates/tinymist-query/src/analysis/global.rs b/crates/tinymist-query/src/analysis/global.rs index 29166e367..8f898e4f6 100644 --- a/crates/tinymist-query/src/analysis/global.rs +++ b/crates/tinymist-query/src/analysis/global.rs @@ -601,7 +601,7 @@ impl SharedContext { } /// Get the real definition of a compilation. - /// Note: must be called after compliation. + /// Note: must be called after compilation. pub(crate) fn dependencies(&self) -> EcoVec { let mut v = EcoVec::new(); self.world.iter_dependencies(&mut |p| { diff --git a/crates/tinymist-query/src/code_action.rs b/crates/tinymist-query/src/code_action.rs index 72966cc8b..14e90a013 100644 --- a/crates/tinymist-query/src/code_action.rs +++ b/crates/tinymist-query/src/code_action.rs @@ -227,7 +227,7 @@ impl<'a> CodeActionWorker<'a> { .ctx .to_lsp_range(body_range.end..last_dollar.range().start, &self.current); - // Retrive punctuation to move + // Retrieve punctuation to move let mark_after_equation = self .current .text() diff --git a/crates/tinymist-query/src/package.rs b/crates/tinymist-query/src/package.rs index d5024005c..2b523145f 100644 --- a/crates/tinymist-query/src/package.rs +++ b/crates/tinymist-query/src/package.rs @@ -97,7 +97,7 @@ pub fn list_package_by_namespace( } // namespace/package_name/version // 2. package_name - let Some(package_names) = once_log(std::fs::read_dir(local_path), "read local pacakge") + let Some(package_names) = once_log(std::fs::read_dir(local_path), "read local package") else { continue; }; diff --git a/crates/tinymist-query/src/syntax/expr.rs b/crates/tinymist-query/src/syntax/expr.rs index 5260f9a12..e0b7237a5 100644 --- a/crates/tinymist-query/src/syntax/expr.rs +++ b/crates/tinymist-query/src/syntax/expr.rs @@ -489,11 +489,11 @@ impl<'a> ExprWorker<'a> { Decl::spread(s.span()).into() }; - let spreaded = Pattern::Expr(this.check(s.expr())).into(); + let spread = Pattern::Expr(this.check(s.expr())).into(); if inputs.is_empty() { - spread_left = Some((decl.clone(), spreaded)); + spread_left = Some((decl.clone(), spread)); } else { - spread_right = Some((decl.clone(), spreaded)); + spread_right = Some((decl.clone(), spread)); } this.resolve_as(Decl::as_def(&decl, None)); diff --git a/crates/tinymist-query/src/syntax/matcher.rs b/crates/tinymist-query/src/syntax/matcher.rs index 0b622b459..d2a15d2ee 100644 --- a/crates/tinymist-query/src/syntax/matcher.rs +++ b/crates/tinymist-query/src/syntax/matcher.rs @@ -58,7 +58,7 @@ impl<'a> DecenderItem<'a> { } /// Find the decender nodes starting from the given position. -pub fn node_decenders( +pub fn node_descenders( node: LinkedNode, mut recv: impl FnMut(DecenderItem) -> Option, ) -> Option { @@ -99,7 +99,7 @@ pub fn descending_decls( node: LinkedNode, mut recv: impl FnMut(DescentDecl) -> Option, ) -> Option { - node_decenders(node, |node| { + node_descenders(node, |node| { match (&node, node.node().cast::()?) { (DecenderItem::Sibling(..), ast::Expr::Let(lb)) => { for ident in lb.kind().bindings() { diff --git a/crates/tinymist-render/src/lib.rs b/crates/tinymist-render/src/lib.rs index 705bb6762..dffce226d 100644 --- a/crates/tinymist-render/src/lib.rs +++ b/crates/tinymist-render/src/lib.rs @@ -97,7 +97,7 @@ impl PeriscopeRenderer { doc: VersionedDocument, pos: FramePosition, ) -> Option<(String, f32, f32)> { - // todo: svg viewer compablity + // todo: svg viewer compatibility type UsingExporter = SvgExporter; let mut doc = UsingExporter::svg_doc(&doc.document); doc.module.prepare_glyphs(); diff --git a/crates/tinymist/src/cmd.rs b/crates/tinymist/src/cmd.rs index b169aa3c4..fdf2efec1 100644 --- a/crates/tinymist/src/cmd.rs +++ b/crates/tinymist/src/cmd.rs @@ -49,7 +49,7 @@ struct QueryOpts { #[derive(Debug, Clone, Default, Deserialize)] #[serde(rename_all = "camelCase")] -struct HiglightRangeOpts { +struct HighlightRangeOpts { range: Option, } @@ -175,7 +175,7 @@ impl LanguageState { /// Export a range of the current document as Ansi highlighted text. pub fn export_ansi_hl(&mut self, mut args: Vec) -> AnySchedulableResponse { let path = get_arg!(args[0] as PathBuf); - let opts = get_arg_or_default!(args[1] as HiglightRangeOpts); + let opts = get_arg_or_default!(args[1] as HighlightRangeOpts); let s = self .query_source(path.into(), Ok) @@ -211,8 +211,8 @@ impl LanguageState { /// Clear all cached resources. pub fn clear_cache(&mut self, _arguments: Vec) -> AnySchedulableResponse { comemo::evict(0); - for ded in self.servers_mut() { - ded.clear_cache(); + for dead in self.servers_mut() { + dead.clear_cache(); } just_ok(JsonValue::Null) } @@ -504,7 +504,7 @@ impl LanguageState { run_query!(req_id, self.DocumentMetrics(path)) } - /// Get all syntatic labels in workspace. + /// Get all syntactic labels in workspace. pub fn get_workspace_labels( &mut self, req_id: RequestId, @@ -541,7 +541,7 @@ impl LanguageState { Err(method_not_found()) } - /// Get directory of pacakges + /// Get directory of packages pub fn resource_package_dirs(&mut self, _arguments: Vec) -> AnySchedulableResponse { let snap = self.primary().snapshot().map_err(z_internal_error)?; just_future(async move { @@ -551,7 +551,7 @@ impl LanguageState { }) } - /// Get writable directory of pacakges + /// Get writable directory of packages pub fn resource_local_package_dir( &mut self, _arguments: Vec, @@ -569,7 +569,7 @@ impl LanguageState { }) } - /// Get writable directory of pacakges + /// Get writable directory of packages pub fn resource_package_by_ns( &mut self, mut arguments: Vec, diff --git a/crates/tinymist/src/task/user_action.rs b/crates/tinymist/src/task/user_action.rs index 48bc7cc08..c1c4a2fb3 100644 --- a/crates/tinymist/src/task/user_action.rs +++ b/crates/tinymist/src/task/user_action.rs @@ -331,7 +331,7 @@ pub async fn make_http_server( // final_tx.send(()).ok(); tokio::spawn(async move { - // timemout alive_rx + // timeout alive_rx loop { tokio::select! { _ = tokio::signal::ctrl_c() => { diff --git a/crates/tinymist/src/tool/preview.rs b/crates/tinymist/src/tool/preview.rs index 540ff363b..fba636112 100644 --- a/crates/tinymist/src/tool/preview.rs +++ b/crates/tinymist/src/tool/preview.rs @@ -330,7 +330,7 @@ impl PreviewState { // The fence must be put after the previewer is initialized. compile_handler.flush_compile(); - // Relace the data plane port in the html to self + // Replace the data plane port in the html to self let frontend_html = frontend_html(TYPST_PREVIEW_HTML, args.preview_mode, "/"); let srv = make_http_server(frontend_html, args.data_plane_host, websocket_tx).await; diff --git a/docs/tinymist/feature/preview.typ b/docs/tinymist/feature/preview.typ index 2c31ffe8c..011a1bbe1 100644 --- a/docs/tinymist/feature/preview.typ +++ b/docs/tinymist/feature/preview.typ @@ -6,7 +6,7 @@ Two ways of previewing a Typst document are provided: - PDF Preview: let lsp export your PDF on typed, and open related PDF by your favorite PDF viewer. - Web (SVG) Preview: use builtin preview feature. -Whenever you can get a web preview feature, it is recomended since it is much faster than PDF preview and provides bidirectional navigation feature, allowing jumping between the source code and the preview by clicking or lsp commands. +Whenever you can get a web preview feature, it is recommended since it is much faster than PDF preview and provides bidirectional navigation feature, allowing jumping between the source code and the preview by clicking or lsp commands. == PDF Preview diff --git a/docs/tinymist/frontend/vscode.typ b/docs/tinymist/frontend/vscode.typ index 3d79a86b9..fa05e79be 100644 --- a/docs/tinymist/frontend/vscode.typ +++ b/docs/tinymist/frontend/vscode.typ @@ -164,8 +164,8 @@ Supported arguments: - entry file: The last string in the array will be treated as the entry file. - This is used to specify the *default* entry file for the compiler, which may be overridden by other settings. - `--input`: Add a string key-value pair visible through `sys.inputs`. -- `--font-path` (environment variable: `TYPST_FONT_PATHS`), Font paths, maybe overriden by `tinymist.fontPaths`. -- `--ignore-system-fonts`: Ensures system fonts won’t be searched, maybe overriden by `tinymist.systemFonts`. +- `--font-path` (environment variable: `TYPST_FONT_PATHS`), Font paths, maybe overridden by `tinymist.fontPaths`. +- `--ignore-system-fonts`: Ensures system fonts won’t be searched, maybe overridden by `tinymist.systemFonts`. - `--creation-timestamp` (environment variable: `SOURCE_DATE_EPOCH`): The document’s creation date formatted as a #link("https://reproducible-builds.org/specs/source-date-epoch/")[UNIX timestamp];. - `--cert` (environment variable: `TYPST_CERT`): Path to CA certificate file for network access, especially for downloading typst packages. diff --git a/docs/tinymist/guide/completion.typ b/docs/tinymist/guide/completion.typ index 6439328ed..8ac0a6591 100644 --- a/docs/tinymist/guide/completion.typ +++ b/docs/tinymist/guide/completion.typ @@ -15,7 +15,7 @@ LSP will serve completion if you enter _trigger characters_ in the editor. Curre If ```js Ctrl+Space``` doesn't work, please check your IME settings or keybindings. ] -When an item is selected, it will be commited if some character is typed. +When an item is selected, it will be committed if some character is typed. 1. press ```js Esc``` to avoid commit. 1. press ```js Enter``` to commit one. 2. press ```js '.'``` to commit one for those that can interact with the dot operator. diff --git a/docs/tinymist/inputs.typ b/docs/tinymist/inputs.typ index fe383a5e9..ee7dec670 100644 --- a/docs/tinymist/inputs.typ +++ b/docs/tinymist/inputs.typ @@ -103,4 +103,4 @@ This is handled by tinymist by some tricks. === Record and Replay -Tinymist can record these input events with assigned the logic ticks. By replaying the events, tinymist can reproduce the server state for debugging. This technique is learnt from the well-known LSP, clangd, and the well known emulator, QEMU. +Tinymist can record these input events with assigned the logic ticks. By replaying the events, tinymist can reproduce the server state for debugging. This technique is learned from the well-known LSP, clangd, and the well known emulator, QEMU. diff --git a/docs/tinymist/module/query.typ b/docs/tinymist/module/query.typ index ca90d25ec..b8f91bfb7 100644 --- a/docs/tinymist/module/query.typ +++ b/docs/tinymist/module/query.typ @@ -1,6 +1,6 @@ #import "mod.typ": * -#show: book-page.with(title: "Tinymist Languague Queries") +#show: book-page.with(title: "Tinymist Language Queries") == Base Analyses @@ -27,7 +27,7 @@ There are seven basic analyzers: node-stroke: 1pt, edge-stroke: 1pt, // edge("-|>", align(center)[Analysis\ Request], label-pos: 0.1), - pg-node((0.3, 0.2), [`Lexical`\ `Heirarchy`]), + pg-node((0.3, 0.2), [`Lexical`\ `Hierarchy`]), edge("<|-", []), pg-node((1.2, 0), [`Source`]), edge("-|>", []), @@ -50,7 +50,7 @@ There are seven basic analyzers: let j = 1 + i * 0.25; edge((j, 1.4), (j, 1.8), "-|>") }, - pg-node((2, 2.3), [`Extented`\ + pg-node((2, 2.3), [`Extended`\ `Language Features`]), // for i in (1, 3, 5) { // edge((i, 0), (i, -0.5), (5.5, -0.5), (5.6, 0), "-|>") @@ -104,7 +104,7 @@ Typicial language features are implemented based on basic analyzers: - The `textDocument/prepareRename` _finds definition_ and determines whether it can be renamed. -- The `textDocument/rename` _finds defintion and references_ and renamed them all. +- The `textDocument/rename` _finds definition and references_ and renamed them all. == Contributing diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 4c7ed50c1..d36a174a7 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -843,7 +843,7 @@ These bugs are introduced by [Preparing for parallelizing lsp requests](https:// ### Misc * Bumped to typstyle v0.11.14 by @Enter-tainer in https://github.com/Myriad-Dreamin/tinymist/pull/200 -* Preferring less uses of `analzer_expr` during definition analysis in https://github.com/Myriad-Dreamin/tinymist/pull/192 +* Preferring less uses of `analyzer_expr` during definition analysis in https://github.com/Myriad-Dreamin/tinymist/pull/192 **Full Changelog**: https://github.com/Myriad-Dreamin/tinymist/compare/v0.11.4...v0.11.5 diff --git a/editors/vscode/README.md b/editors/vscode/README.md index 37d8ca383..af03983af 100644 --- a/editors/vscode/README.md +++ b/editors/vscode/README.md @@ -164,8 +164,8 @@ Supported arguments: - entry file: The last string in the array will be treated as the entry file. - This is used to specify the **default** entry file for the compiler, which may be overridden by other settings. - `--input`: Add a string key-value pair visible through `sys.inputs`. -- `--font-path` (environment variable: `TYPST_FONT_PATHS`), Font paths, maybe overriden by `tinymist.fontPaths`. -- `--ignore-system-fonts`: Ensures system fonts won’t be searched, maybe overriden by `tinymist.systemFonts`. +- `--font-path` (environment variable: `TYPST_FONT_PATHS`), Font paths, maybe overridden by `tinymist.fontPaths`. +- `--ignore-system-fonts`: Ensures system fonts won’t be searched, maybe overridden by `tinymist.systemFonts`. - `--creation-timestamp` (environment variable: `SOURCE_DATE_EPOCH`): The document’s creation date formatted as a [UNIX timestamp](https://reproducible-builds.org/specs/source-date-epoch/). - `--cert` (environment variable: `TYPST_CERT`): Path to CA certificate file for network access, especially for downloading typst packages. diff --git a/editors/vscode/src/test/e2e/simple-docs.test.ts b/editors/vscode/src/test/e2e/simple-docs.test.ts index f69ffb487..86da3b8c4 100644 --- a/editors/vscode/src/test/e2e/simple-docs.test.ts +++ b/editors/vscode/src/test/e2e/simple-docs.test.ts @@ -81,7 +81,7 @@ export async function getTests(ctx: Context) { edit.replace(new vscode.Range(0, 0, 0, 0), largeDoc0); }); await ctx.timeout(400); - // We add non-atomical edit to test lagged diagnostics + // We add non-atomic edit to test lagged diagnostics return await mainTyp.edit((edit) => { edit.replace(new vscode.Range(0, 0, 0, largeDoc0.length), largeDoc); }); diff --git a/tools/editor-tools/src/features/summary.ts b/tools/editor-tools/src/features/summary.ts index 724807b16..3915e6fe7 100644 --- a/tools/editor-tools/src/features/summary.ts +++ b/tools/editor-tools/src/features/summary.ts @@ -193,7 +193,7 @@ export const Summary = () => { style: "height: calc(100% - 20px); box-sizing: border-box; padding-top: 4px", }, - fontsExportPannel({ + fontsExportPanel({ fonts: docMetrics.val.fontInfo, sources: docMetrics.val.spanInfo.sources, }) @@ -302,7 +302,7 @@ export const Summary = () => { ); }; -interface fontsExportPannelProps { +interface fontsExportPanelProps { fonts: FontInfo[]; sources: FontSource[]; } @@ -457,7 +457,7 @@ export const fontsExportDefaultConfigure: fontsExportConfigure = { let savedConfigureData = `:[[preview:FontsExportConfigure]]:`; -const fontsExportPannel = ({ fonts, sources }: fontsExportPannelProps) => { +const fontsExportPanel = ({ fonts, sources }: fontsExportPanelProps) => { const savedConfigure: fontsExportConfigure = savedConfigureData.startsWith( ":" ) diff --git a/tools/typst-dom/src/typst-doc.svg.mts b/tools/typst-dom/src/typst-doc.svg.mts index c7f3962af..25ff8784d 100644 --- a/tools/typst-dom/src/typst-doc.svg.mts +++ b/tools/typst-dom/src/typst-doc.svg.mts @@ -341,7 +341,7 @@ export function provideSvgDoc< const INNER_RECT_UNIT = 100; const INNER_RECT_SCALE = "scale(0.01)"; - /// Caclulate width + /// Calculate width let maxWidth = 0; interface SvgPage { @@ -543,12 +543,12 @@ export function provideSvgDoc< ); pageNumberIndicator.setAttribute("x", "0"); pageNumberIndicator.setAttribute("y", "0"); - const pnPaddedX = calculatedPaddedX + pageWidth / 2; - const pnPaddedY = + const onPaddedX = calculatedPaddedX + pageWidth / 2; + const onPaddedY = calculatedPaddedY + pageHeight + heightMargin + fontSize / 2; pageNumberIndicator.setAttribute( "transform", - `translate(${pnPaddedX}, ${pnPaddedY})` + `translate(${onPaddedX}, ${onPaddedY})` ); pageNumberIndicator.setAttribute("font-size", fontSize.toString()); pageNumberIndicator.textContent = `${i + 1}`; @@ -616,7 +616,7 @@ export function provideSvgDoc< console.assert( this.canvasRenderCToken === undefined, - "Noo!!: canvasRenderCToken should be undefined" + "No!!: canvasRenderCToken should be undefined" ); const tok = (this.canvasRenderCToken = new TypstCancellationToken()); diff --git a/tools/typst-dom/src/typst-outline.mts b/tools/typst-dom/src/typst-outline.mts index cf85f9c1b..97d892a21 100644 --- a/tools/typst-dom/src/typst-outline.mts +++ b/tools/typst-dom/src/typst-outline.mts @@ -263,7 +263,7 @@ function patchOutlineChildren(ctx: GenContext, prev: Element, next: Element) { const [targetView, toPatch] = interpretTargetView( prev.children as unknown as Element[], next.children as unknown as Element[], - // todo: accurate calcuation + // todo: accurate calculation false ); diff --git a/tools/typst-dom/src/typst-patch.svg.mts b/tools/typst-dom/src/typst-patch.svg.mts index 9f889ab7e..2ddc38b7d 100644 --- a/tools/typst-dom/src/typst-patch.svg.mts +++ b/tools/typst-dom/src/typst-patch.svg.mts @@ -115,7 +115,7 @@ function preReplaceNonSVGElements( } function postReplaceNonSVGElements(prev: Element, frozen: FrozenReplacement) { - /// Retrive the `` elements from the `prev` element. + /// Retrieve the `` elements from the `prev` element. const gElements = Array.from(prev.children).filter(isGElem); if (gElements.length + 1 !== frozen.inserts.length) { throw new Error(`invalid frozen replacement: gElements.length (${gElements.length @@ -174,7 +174,7 @@ function initOrPatchSvgHeader(svg: SVGElement) { resourceHeader.append(svg.firstElementChild!); } - /// Insert resource header to somewhere visble to the svg element. + /// Insert resource header to somewhere visible to the svg element. document.body.prepend(resourceHeader); } diff --git a/tools/typst-dom/src/typst-patch.test.mts b/tools/typst-dom/src/typst-patch.test.mts index ff455d7c4..c9d04bd47 100644 --- a/tools/typst-dom/src/typst-patch.test.mts +++ b/tools/typst-dom/src/typst-patch.test.mts @@ -240,7 +240,7 @@ describe("interpretView", () => { `); }); - it("handleReusePreseveOrder", () => { + it("handleReusePreserveOrder", () => { const result = indexTargetView([0, 1, 2, 1, 2], [1, 2, 1, 2]); expect(toSnapshot(result)).toMatchInlineSnapshot(` [ @@ -253,7 +253,7 @@ describe("interpretView", () => { ] `); }); - it("handleReusePreseveOrder_origin", () => { + it("handleReusePreserveOrder_origin", () => { const result = indexOriginView([0, 1, 2, 1, 2], [1, 2, 1, 2]); expect(toSnapshot([result, []])).toMatchInlineSnapshot(` [ @@ -261,7 +261,7 @@ describe("interpretView", () => { ] `); }); - it("handleReusePreseveOrder2", () => { + it("handleReusePreserveOrder2", () => { const result = indexTargetView( [0, 1, 2, 1, 2, 3, 4, 3, 4], [1, 2, 3, 4, 3, 4, 1, 2] @@ -281,7 +281,7 @@ describe("interpretView", () => { ] `); }); - it("handleReusePreseveOrder2_origin", () => { + it("handleReusePreserveOrder2_origin", () => { const result = indexOriginView( [0, 1, 2, 1, 2, 3, 4, 3, 4], [1, 2, 3, 4, 3, 4, 1, 2] diff --git a/tools/typst-preview-frontend/src/ws.ts b/tools/typst-preview-frontend/src/ws.ts index 0758250a2..ac2a9a866 100644 --- a/tools/typst-preview-frontend/src/ws.ts +++ b/tools/typst-preview-frontend/src/ws.ts @@ -19,7 +19,7 @@ export { PreviewMode } from 'typst-dom/typst-doc.mjs'; const enc = new TextEncoder(); const dec = new TextDecoder(); -const NOT_AVAIABLE = "current not avalible"; +const NOT_AVAILABLE = "current not available"; const COMMA = enc.encode(","); export interface WsArgs { url: string; @@ -271,7 +271,7 @@ export async function wsMain({ url, previewMode, isContentPreview }: WsArgs) { function processMessage(data: ArrayBuffer) { if (!(data instanceof ArrayBuffer)) { - if (data === NOT_AVAIABLE) { + if (data === NOT_AVAILABLE) { return; } diff --git a/typ/templates/tokyo-night.tmTheme b/typ/templates/tokyo-night.tmTheme index 24829e7c4..8672b0142 100644 --- a/typ/templates/tokyo-night.tmTheme +++ b/typ/templates/tokyo-night.tmTheme @@ -196,7 +196,7 @@ name Operator, Misc scope - keyword.operator,keyword.control.as,keyword.other,keyword.operator.bitwise.shift,punctuation,expression.embbeded.vue punctuation.definition.tag,text.html.twig meta.tag.inline.any.html,meta.tag.template.value.twig meta.function.arguments.twig,meta.directive.vue punctuation.separator.key-value.html,punctuation.definition.constant.markdown,punctuation.definition.string,punctuation.support.type.property-name,text.html.vue-html meta.tag,meta.attribute.directive,punctuation.definition.keyword,punctuation.terminator.rule,punctuation.definition.entity,punctuation.separator.inheritance.php,keyword.other.template,keyword.other.substitution,entity.name.operator,meta.property-list punctuation.separator.key-value,meta.at-rule.mixin punctuation.separator.key-value,meta.at-rule.function variable.parameter.url + keyword.operator,keyword.control.as,keyword.other,keyword.operator.bitwise.shift,punctuation,expression.embedded.vue punctuation.definition.tag,text.html.twig meta.tag.inline.any.html,meta.tag.template.value.twig meta.function.arguments.twig,meta.directive.vue punctuation.separator.key-value.html,punctuation.definition.constant.markdown,punctuation.definition.string,punctuation.support.type.property-name,text.html.vue-html meta.tag,meta.attribute.directive,punctuation.definition.keyword,punctuation.terminator.rule,punctuation.definition.entity,punctuation.separator.inheritance.php,keyword.other.template,keyword.other.substitution,entity.name.operator,meta.property-list punctuation.separator.key-value,meta.at-rule.mixin punctuation.separator.key-value,meta.at-rule.function variable.parameter.url settings foreground @@ -724,7 +724,7 @@ name - CSS psuedo selectors + CSS pseudo selectors scope entity.other.attribute-name.pseudo-class,entity.other.attribute-name.pseudo-element,entity.other.attribute-name.placeholder,meta.property-list meta.property-value settings