summaryrefslogtreecommitdiffstats
path: root/runtime/doc/indent.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-01-07 06:09:28 +0100
committerBram Moolenaar <Bram@vim.org>2014-01-07 06:09:28 +0100
commit438f67a0040ab4f517c68f446f4a03a6c9e9096d (patch)
treecc46840230d9ad3b9d1a39bdb2b18af5fcc52074 /runtime/doc/indent.txt
parent2fda30146920a1b0bd9cdac7e644a28e4b873b89 (diff)
Updated runtime files.
Diffstat (limited to 'runtime/doc/indent.txt')
-rw-r--r--runtime/doc/indent.txt24
1 files changed, 22 insertions, 2 deletions
diff --git a/runtime/doc/indent.txt b/runtime/doc/indent.txt
index 1f7754b580..749882ce4a 100644
--- a/runtime/doc/indent.txt
+++ b/runtime/doc/indent.txt
@@ -598,7 +598,6 @@ without limits.
" Default
let g:clojure_maxlines = 100
<
-
*g:clojure_fuzzy_indent*
*g:clojure_fuzzy_indent_patterns*
*g:clojure_fuzzy_indent_blacklist*
@@ -652,7 +651,6 @@ default list below.
let g:clojure_special_indent_words =
\ 'deftype,defrecord,reify,proxy,extend-type,extend-protocol,letfn'
<
-
*g:clojure_align_multiline_strings*
Align subsequent lines in multiline strings to the column after the opening
@@ -677,6 +675,28 @@ This option is off by default.
" Default
let g:clojure_align_multiline_strings = 0
<
+ *g:clojure_align_subforms*
+
+By default, parenthesized compound forms that look like function calls and
+whose head subform is on its own line have subsequent subforms indented by
+two spaces relative to the opening paren:
+>
+ (foo
+ bar
+ baz)
+<
+Setting this option changes this behavior so that all subforms are aligned to
+the same column:
+>
+ (foo
+ bar
+ baz)
+<
+This option is off by default.
+>
+ " Default
+ let g:clojure_align_subforms = 0
+<
FORTRAN *ft-fortran-indent*