diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2019-01-25 16:31:59 +0100 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2019-01-26 14:45:48 +0100 |
commit | 2418aa3a4ac8f560373b940dbe0443fc79ab65ad (patch) | |
tree | 51fb57d9c67fecf9a93fdc8a5504f3770f42f8d3 /src/nvim/indent.c | |
parent | df5534f576818b2e29f554e55c7ffc5c24ce732e (diff) | |
download | rneovim-2418aa3a4ac8f560373b940dbe0443fc79ab65ad.tar.gz rneovim-2418aa3a4ac8f560373b940dbe0443fc79ab65ad.tar.bz2 rneovim-2418aa3a4ac8f560373b940dbe0443fc79ab65ad.zip |
linter: fix issues
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index 9e13b8a7f9..30962faa23 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -61,7 +61,8 @@ int get_indent_str(char_u *ptr, int ts, int list) for (; *ptr; ++ptr) { // Count a tab for what it is worth. if (*ptr == TAB) { - if (!list || curwin->w_p_lcs_chars.tab1) { // count a tab for what it is worth + if (!list || curwin->w_p_lcs_chars.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 |