We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 184f7aa commit fe60b97Copy full SHA for fe60b97
indent/clojure.vim
@@ -308,14 +308,14 @@ if exists("*searchpairpos")
308
let lnum = line('.')
309
let cnum = col('.')
310
let [opening_lnum, indent] = s:clojure_indent_pos()
311
- call cursor(lnum, cnum)
312
313
if opening_lnum > 0
314
let indent -= indent - virtcol([opening_lnum, indent])
315
endif
316
317
" Return if there are no previous lines to inherit from
318
if opening_lnum < 1 || opening_lnum >= lnum - 1
+ call cursor(lnum, cnum)
319
return indent
320
321
@@ -350,11 +350,13 @@ if exists("*searchpairpos")
350
" Check if this is part of a multiline string
351
call cursor(lnum, 1)
352
if s:syn_id_name() !~? '\vstring|regex'
353
354
return indent(lnum)
355
356
357
endwhile
358
359
360
361
endfunction
362
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments