From b21618c1a91a741d9e008ccec19967e63912a579 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 21 Mar 2025 21:14:44 +0100 Subject: [PATCH] typos: fix simple typos in comments --- lua/nvim-treesitter/install.lua | 2 +- queries/glimmer_typescript/highlights.scm | 2 +- queries/python/highlights.scm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/nvim-treesitter/install.lua b/lua/nvim-treesitter/install.lua index cd12dbb81..079319cff 100644 --- a/lua/nvim-treesitter/install.lua +++ b/lua/nvim-treesitter/install.lua @@ -694,7 +694,7 @@ function M.write_lockfile(verbose, skip_langs) for _, v in ipairs(sorted_parsers) do if not vim.tbl_contains(skip_langs, v.name) then - -- I'm sure this can be done in aync way with iter_cmd + -- I'm sure this can be done in async way with iter_cmd local sha ---@type string if v.parser.install_info.branch then sha = vim.split( diff --git a/queries/glimmer_typescript/highlights.scm b/queries/glimmer_typescript/highlights.scm index 042387b21..991a01cfb 100644 --- a/queries/glimmer_typescript/highlights.scm +++ b/queries/glimmer_typescript/highlights.scm @@ -1,6 +1,6 @@ ; inherits: typescript -; Sub-language delimeters +; Sub-language delimiters (glimmer_opening_tag) @tag.builtin (glimmer_closing_tag) @tag.builtin diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 84b29412a..bac512b43 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -357,7 +357,7 @@ ((identifier) @variable.builtin (#eq? @variable.builtin "cls")) -; After @type.builtin bacause builtins (such as `type`) are valid as attribute name +; After @type.builtin because builtins (such as `type`) are valid as attribute name ((attribute attribute: (identifier) @variable.member) (#lua-match? @variable.member "^[%l_].*$"))