Repository navigation
Commit 63177af
committed
Document the sibling signal list as an extension point
`projectile-sibling-project-functions' is a plain list of functions, and
adding your own is the intended way to teach Projectile a grouping it
can't infer. The manual mentioned the option once, in passing, as the
thing that fixes the order of the three built-ins - never that the list
is yours to extend, and never what a function has to return. The worktree
equivalent four sections down documents exactly that, so the omission was
just an inconsistency.
Adds a section with the contract, a worked example, and where to put
yours relative to the built-ins.
Also states something that was true but written down nowhere: the share
cap is applied inside the two inferred signals rather than to the list as
a whole, so a function you add is never capped. Someone writing one would
reasonably assume the cap protects them. That note goes in the docstring
too, which is where they'd actually look.1 parent 9357ffb commit 63177af
2 files changed
Lines changed: 38 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
174 | 205 | | |
175 | 206 | | |
176 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14428 | 14428 | | |
14429 | 14429 | | |
14430 | 14430 | | |
14431 | | - | |
| 14431 | + | |
| 14432 | + | |
| 14433 | + | |
| 14434 | + | |
| 14435 | + | |
| 14436 | + | |
| 14437 | + | |
14432 | 14438 | | |
14433 | 14439 | | |
14434 | 14440 | | |
| |||
0 commit comments