From 2418aa3a4ac8f560373b940dbe0443fc79ab65ad Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 25 Jan 2019 16:31:59 +0100 Subject: linter: fix issues --- src/nvim/indent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nvim/indent.c') 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 -- cgit