diff options
author | Dundar Göc <gocdundar@gmail.com> | 2021-07-23 15:25:35 +0200 |
---|---|---|
committer | Dundar Göc <gocdundar@gmail.com> | 2021-07-25 21:51:50 +0200 |
commit | 11dcf1568251f7e54f5ea28310e1d603de089eca (patch) | |
tree | defdc5456099598f76fca4e7988d0e33a495928f /src/nvim/indent.c | |
parent | 192adfe99f33778a85e11fbfdceb37f347a3d235 (diff) | |
download | rneovim-11dcf1568251f7e54f5ea28310e1d603de089eca.tar.gz rneovim-11dcf1568251f7e54f5ea28310e1d603de089eca.tar.bz2 rneovim-11dcf1568251f7e54f5ea28310e1d603de089eca.zip |
refactor: replace TRUE/FALSE macros with C99 true/false
Diffstat (limited to 'src/nvim/indent.c')
-rw-r--r-- | src/nvim/indent.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index 8fa61515ef..c1f9c1e172 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -62,10 +62,10 @@ int get_indent_buf(buf_T *buf, linenr_T lnum) } -// Count the size (in window cells) of the indent in line "ptr", with -// 'tabstop' at "ts". -// If @param list is TRUE, count only screen size for tabs. -int get_indent_str(const char_u *ptr, int ts, int list) +/// Count the size (in window cells) of the indent in line "ptr", with +/// 'tabstop' at "ts". +/// If @param list is true, count only screen size for tabs. +int get_indent_str(const char_u *ptr, int ts, bool list) FUNC_ATTR_NONNULL_ALL { int count = 0; @@ -91,9 +91,9 @@ int get_indent_str(const char_u *ptr, int ts, int list) return count; } -// Count the size (in window cells) of the indent in line "ptr", using -// variable tabstops. -// if "list" is true, count only screen size for tabs. +/// Count the size (in window cells) of the indent in line "ptr", using +/// variable tabstops. +/// if "list" is true, count only screen size for tabs. int get_indent_str_vtab(const char_u *ptr, long ts, long *vts, bool list) { int count = 0; |