Skip to content

Commit e33ab6f

Browse files
committed
docs: link discussions [skip ci]
1 parent d4c1379 commit e33ab6f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

STYLE.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ for regularity and ease of modification.
88

99
## Function
1010

11+
> Discussions:
12+
> [1](https://github.com/kamadorueda/alejandra/issues/95)
13+
1114
### With Destructured Arguments
1215

1316
✅ Good:
@@ -103,7 +106,7 @@ stdenv.mkDerivation # ...
103106
```
104107

105108
- Documenting the first argument creates an inconsistency
106-
between the way argument start:
109+
between the way arguments start:
107110

108111
```nix
109112
{
@@ -119,6 +122,10 @@ stdenv.mkDerivation # ...
119122
- This is not consistent with _Let-In_, and _Map_,
120123
where the separator goes after the element
121124
instead of at the beginning.
125+
- It ruins "folding by indentation" modes
126+
on Vim, Neovim, VSCode, and other major code editors,
127+
because the data-structure has the same indentation
128+
as the opening bracket.
122129

123130
❌ Bad:
124131

0 commit comments

Comments
 (0)