diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-11 17:23:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-11 17:23:02 +0200 |
commit | 3acfc30409eb8e3721d888f2e7111111057fe937 (patch) | |
tree | 22ca3ab3536417810973c22fd67caf32bf453945 /runtime/indent | |
parent | 9028b10dfe3a00e505bf1b720f515dab91913b5e (diff) |
Improve Javascript indenting. Add "J" flag to 'cino'. (Hari Kumar G)
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/javascript.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/indent/javascript.vim b/runtime/indent/javascript.vim index cf4a4f3ce4..a83d34b110 100644 --- a/runtime/indent/javascript.vim +++ b/runtime/indent/javascript.vim @@ -11,5 +11,6 @@ let b:did_indent = 1 " C indenting is not too bad. setlocal cindent +setlocal cinoptions+=j1,J1 let b:undo_indent = "setl cin<" |