mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-22 13:20:09 -04:00
Fix 2 space list indentation with meta forms
This commit is contained in:
parent
b1791bc488
commit
55e44f8f28
1 changed files with 2 additions and 2 deletions
|
|
@ -17,8 +17,8 @@
|
|||
(#set! indent.propagate 1))
|
||||
|
||||
; Indent lists starting with a symbol by 2 spaces
|
||||
([(list_lit . (sym_lit))
|
||||
(anon_fn_lit . (sym_lit))]
|
||||
([(list_lit ((meta_lit)* . (sym_lit)))
|
||||
(anon_fn_lit ((meta_lit)* . (sym_lit)))]
|
||||
@indent.align
|
||||
(#set! indent.increment 2))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue