You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When defining an attrset, if one of the elements of the attrset is a function which itself takes an attrset, putting it on the same line as the opening { of the attrset (common Nix style) causes red highlighting.
Workaround for hetergeneous attrsets: have the first element listed not be a function.
Workaround for homogenous attrsets of functions: add a newline between the opening { and the next element.
The text was updated successfully, but these errors were encountered:
The issue is visible here: https://imgur.com/a/FBy9Q
When defining an attrset, if one of the elements of the attrset is a function which itself takes an attrset, putting it on the same line as the opening { of the attrset (common Nix style) causes red highlighting.
Workaround for hetergeneous attrsets: have the first element listed not be a function.
Workaround for homogenous attrsets of functions: add a newline between the opening { and the next element.
The text was updated successfully, but these errors were encountered: