diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-06-06 16:12:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-06-06 16:12:59 +0200 |
commit | 8134039744ffa581f7c217df58131b709317c1c8 (patch) | |
tree | f8fd1cddb2359407b77c3b9a494a27a451e6378c /runtime | |
parent | bc256d91eadb8f32d6a5833c1878684d3c75fb2d (diff) |
updated for version 7.3.541v7.3.541
Problem: When joining lines comment leaders need to be removed manually.
Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/change.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 3e19b1d3e7..597d1db37c 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1522,6 +1522,12 @@ B When joining lines, don't insert a space between two multi-byte characters. Overruled by the 'M' flag. 1 Don't break a line after a one-letter word. It's broken before it instead (if possible). +j Where it makes sense, remove a comment leader when joining lines. For + example, joining: + int i; // the index ~ + // in the list ~ + Becomes: + int i; // the index in the list ~ With 't' and 'c' you can specify when Vim performs auto-wrapping: |