nix-community / nix-ts-mode

An Emacs major mode for editing Nix expressions, powered by tree-sitter [maintainer=@remi-gelinas]
https://github.com/nix-community/nix-ts-mode
Other
50 stars 9 forks source link

Fails to indent ternaries #22

Closed Atemu closed 4 months ago

Atemu commented 4 months ago

In the following case pressing tab does nothing:

{
  foo = 
    if cond
then|

it should do this though:

{
  foo = 
    if cond
    then|
Atemu commented 4 months ago

Thank you @marsam!