diff options
| author | dundargoc <gocdundar@gmail.com> | 2024-02-19 16:49:04 +0100 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-02-19 17:45:54 +0100 |
| commit | 9bc21966f27d48ab8eac4c42d5b130ef6c411304 (patch) | |
| tree | b2d7ec232cafeecbfe121bfce5c988a56d4d1670 /lua | |
| parent | feat(svelte)!: switch upstream parser (diff) | |
| download | nvim-treesitter-9bc21966f27d48ab8eac4c42d5b130ef6c411304.tar nvim-treesitter-9bc21966f27d48ab8eac4c42d5b130ef6c411304.tar.gz nvim-treesitter-9bc21966f27d48ab8eac4c42d5b130ef6c411304.tar.bz2 nvim-treesitter-9bc21966f27d48ab8eac4c42d5b130ef6c411304.tar.lz nvim-treesitter-9bc21966f27d48ab8eac4c42d5b130ef6c411304.tar.xz nvim-treesitter-9bc21966f27d48ab8eac4c42d5b130ef6c411304.tar.zst nvim-treesitter-9bc21966f27d48ab8eac4c42d5b130ef6c411304.zip | |
fix: typos
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/nvim-treesitter/indent.lua | 4 |
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 |
