diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-18 12:57:39 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-18 12:57:39 -0500 |
commit | bd19cc4f8fc3d02a030caba911a1af008585f688 (patch) | |
tree | b25d967fdd23c9a5333ff50a5ace16dfd7cbe519 /src/nvim/indent.c | |
parent | cef6ec9dfcdef723d6a332bddbb96f96151b2643 (diff) | |
parent | c780075afad41fd4de30212845becdca83c4dd7c (diff) | |
download | rneovim-bd19cc4f8fc3d02a030caba911a1af008585f688.tar.gz rneovim-bd19cc4f8fc3d02a030caba911a1af008585f688.tar.bz2 rneovim-bd19cc4f8fc3d02a030caba911a1af008585f688.zip |
Merge pull request #1701 from fwalch/vim-7.4.423
vim-patch:7.4.423
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index 7090e007bf..075acc6c13 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -58,8 +58,8 @@ int get_indent_str(char_u *ptr, int ts, int list) if (!list || lcs_tab1) { // count a tab for what it is worth count += ts - (count % ts); } else { - // in list mode, when tab is not set, count screen char width for Tab: - // ^I + // In list mode, when tab is not set, count screen char width + // for Tab, displays: ^I count += ptr2cells(ptr); } } else if (*ptr == ' ') { |