Skip to content

Commit 949adf7

Browse files
committed
Remove try from lispwords
try takes a list of forms like do, so it should not be indented specially according to our guidelines. I thought it was worth making an exception for single-statement try/catch forms, but the community convention is to place try on its own line.
1 parent 785c405 commit 949adf7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

indent/clojure.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ setlocal lispwords+=while
376376

377377
" Exception handling
378378
setlocal lispwords+=catch
379-
setlocal lispwords+=try " For aesthetics when enclosing single line
380379

381380
let &cpo = s:save_cpo
382381
unlet! s:save_cpo

0 commit comments

Comments
 (0)