Commit 84d5e0c
committed
Merge branch 'no-cursor-move-during-indentexpr'
While an indentexpr is allowed to move the cursor while calculating a
line's indent, doing so makes GetClojureIndent() unusable as a library
function. Paredit.vim, for instance, makes use of this function.
Closes #49
* no-cursor-move-during-indentexpr:
Eliminate cursor side-effect in GetClojureIndent().
Fix GetClojureIndent() undesireable cursor move.1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
| |||
315 | 316 | | |
316 | 317 | | |
317 | 318 | | |
| 319 | + | |
318 | 320 | | |
319 | 321 | | |
320 | 322 | | |
| |||
349 | 351 | | |
350 | 352 | | |
351 | 353 | | |
| 354 | + | |
352 | 355 | | |
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
356 | 359 | | |
| 360 | + | |
357 | 361 | | |
358 | 362 | | |
359 | 363 | | |
| |||
0 commit comments