From ff96940767bb98e4cf7b54ffdd205069b9eb943f Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Sat, 22 Jan 2022 20:25:29 +0100 Subject: docs: add `@zero_indent` to CONTRIBUTING.md --- CONTRIBUTING.md | 1 + queries/lua/indents.scm | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9ae97513..91134013 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -277,6 +277,7 @@ the node describing the language and `@content` to describe the injection region @branch ; Dedent itself when matching this node @ignore ; Do not indent in this node @auto ; Behaves like 'autoindent' buffer option +@zero_indent ; Sets this node at position 0 (no indent) ``` [Zulip]: nvim-treesitter.zulipchat.com diff --git a/queries/lua/indents.scm b/queries/lua/indents.scm index 6e2d6071..8c4432d5 100644 --- a/queries/lua/indents.scm +++ b/queries/lua/indents.scm @@ -37,6 +37,5 @@ ] @branch (comment) @auto -;(comment) @ignore (string) @auto -- cgit v1.2.3