From 9bc21966f27d48ab8eac4c42d5b130ef6c411304 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Mon, 19 Feb 2024 16:49:04 +0100 Subject: fix: typos --- lua/nvim-treesitter/indent.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/nvim-treesitter/indent.lua b/lua/nvim-treesitter/indent.lua index 18d239571..a9e5e6cee 100644 --- a/lua/nvim-treesitter/indent.lua +++ b/lua/nvim-treesitter/indent.lua @@ -249,9 +249,9 @@ function M.get_indent(lnum) if is_in_err and not q["indent.align"][node:id()] then -- only when the node is in error, promote the -- first child's aligned indent to the error node - -- to work around ((ERROR "X" . (_)) @aligned_indent (#set! "delimeter" "AB")) + -- to work around ((ERROR "X" . (_)) @aligned_indent (#set! "delimiter" "AB")) -- matching for all X, instead set do - -- (ERROR "X" @aligned_indent (#set! "delimeter" "AB") . (_)) + -- (ERROR "X" @aligned_indent (#set! "delimiter" "AB") . (_)) -- and we will fish it out here. for c in node:iter_children() do if q["indent.align"][c:id()] then -- cgit v1.2.3-70-g09d2