aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/indent.lua4
1 files changed, 2 insertions, 2 deletions
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