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
52 stars 9 forks source link

fix: don't indent "in" #42

Closed heraplem closed 1 month ago

heraplem commented 1 month ago

Fix #41.

heraplem commented 1 month ago

While we're at it, I wonder if we could also add the rule ((node-is ";") parent-bol 0).

purcell commented 1 month ago

Would you consider adding a test to illustrate & confirm the fix? If you follow this example it should be pretty straightforward.

purcell commented 1 month ago

Yay, nice - thanks!