File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
clj/resources/indent-test-cases/multibyte Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- (let [Δt (if foo
1+ (let [Δt (if foo
22 bar
3- baz)])
3+ baz)])
Original file line number Diff line number Diff line change @@ -160,8 +160,7 @@ endfunction
160160
161161function ! s: ListIndent (delim_pos)
162162 " TODO: attempt to extend "s:InsideForm" to provide information about
163- " the subforms within the form being formatted to avoid second parsing
164- " step.
163+ " the subforms being formatted to avoid second parsing step.
165164
166165 call cursor (a: delim_pos )
167166 let ln = getline(a:delim_pos[0])
@@ -196,7 +195,7 @@ function! s:ListIndent(delim_pos)
196195 normal ! w
197196 endif
198197
199- let cur_pos = getcurpos ()[1 :2 ]
198+ let cur_pos = getcursorcharpos ()[1 :2 ]
200199 if a: delim_pos [0 ] == cur_pos[0 ] && init_col != cur_pos[1 ]
201200 " Align operands.
202201 return cur_pos[1 ] - 1
You can’t perform that action at this time.
0 commit comments