diff options
| author | dundargoc <gocdundar@gmail.com> | 2023-12-16 22:14:28 +0100 |
|---|---|---|
| committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-12-19 11:43:21 +0100 |
| commit | 7f6b775b45de5011ff1c44e63e57551566d80704 (patch) | |
| tree | 54eab8482051d2d1a958fcf9f6c9bcbb02827717 /src/nvim/textformat.c | |
| parent | 693aea0e9e1032aee85d56c1a3f33e0811dbdc18 (diff) | |
| download | rneovim-7f6b775b45de5011ff1c44e63e57551566d80704.tar.gz rneovim-7f6b775b45de5011ff1c44e63e57551566d80704.tar.bz2 rneovim-7f6b775b45de5011ff1c44e63e57551566d80704.zip | |
refactor: use `bool` to represent boolean values
Diffstat (limited to 'src/nvim/textformat.c')
| -rw-r--r-- | src/nvim/textformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/textformat.c b/src/nvim/textformat.c index 3484d104fd..1b9732c5b2 100644 --- a/src/nvim/textformat.c +++ b/src/nvim/textformat.c @@ -870,7 +870,7 @@ void op_formatexpr(oparg_T *oap) /// @param c character to be inserted int fex_format(linenr_T lnum, long count, int c) { - int use_sandbox = was_set_insecurely(curwin, kOptFormatexpr, OPT_LOCAL); + bool use_sandbox = was_set_insecurely(curwin, kOptFormatexpr, OPT_LOCAL); const sctx_T save_sctx = current_sctx; // Set v:lnum to the first line number and v:count to the number of lines. |