Skip to content

Commit

Permalink
fix: match "in" strictly
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Coltharp committed Sep 26, 2024
1 parent 580edba commit 63fbb48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix-ts-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ and for subsequent lines it's the previous line's indentation."
((node-is "then") parent-bol 0)
((node-is "else") parent-bol 0)
((node-is ";") parent-bol 0)
((node-is "^in$") parent-bol 0)
((node-is "binding_set") parent-bol nix-ts-mode-indent-offset)
((match "interpolation" "indented_string_expression" nil nil nil) nix-ts-indent-multiline-string 0)
((node-is "in") parent-bol 0)
((parent-is "indented_string_expression") parent-bol 0)
((parent-is "string_fragment") nix-ts-indent-multiline-string 0)
((parent-is "formals") parent-bol 0)
Expand Down

0 comments on commit 63fbb48

Please sign in to comment.