Commit 42fdd36
committed
rip out update_depth again.
I don't think that this is a good idea, at least currently, where I
don't yet have a good feel for the way self-dependent dynamicNodes are
going to be used.
Difficulties: picking a good default depth. Even something as outwardly
innocuous as 100 is bad when applied to a snippet that doubles some
character. On the other hand, this can totally kill "chains" of updates,
where some inner snippet updates text that is suddenly changed by an
outer snippet...
So, for now, I'm putting this down as user error, and even though having
to kill your nvim-instance because it is caught in an infinite loop is
not great at all, it shouldn't occur to often, and all ways around this
I can think of may impede absolutely valid usage of dynamicNodes.1 parent 5c2225e commit 42fdd36
2 files changed
+3
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
190 | 188 | | |
191 | 189 | | |
192 | 190 | | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | 191 | | |
214 | 192 | | |
215 | 193 | | |
| |||
231 | 209 | | |
232 | 210 | | |
233 | 211 | | |
234 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
235 | 215 | | |
236 | 216 | | |
237 | 217 | | |
| |||
290 | 270 | | |
291 | 271 | | |
292 | 272 | | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | 273 | | |
298 | 274 | | |
299 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | 58 | | |
0 commit comments