When typing, indentation is correct, but when indenting using something like gg=G, the indentation becomes incorrect. The following example is in Fennel, but the idea is the same.
Correct indentation:
{1 :gbprod/cutlass.nvim
:opts {:cut_key :x
:exclude [:ns :nS]
:registers {:change :c :delete :d :select :s}}}
After gg=G:
{1 :gbprod/cutlass.nvim
:opts {:cut_key :x
:exclude [:ns :nS]
:registers {:change :c :delete :d :select :s}}}
Also see neovim/neovim#24080
When typing, indentation is correct, but when indenting using something like
gg=G, the indentation becomes incorrect. The following example is in Fennel, but the idea is the same.Correct indentation:
{1 :gbprod/cutlass.nvim :opts {:cut_key :x :exclude [:ns :nS] :registers {:change :c :delete :d :select :s}}}After
gg=G:{1 :gbprod/cutlass.nvim :opts {:cut_key :x :exclude [:ns :nS] :registers {:change :c :delete :d :select :s}}}Also see neovim/neovim#24080