diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-09-18 00:24:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-18 00:24:39 +0200 |
commit | 1f49268c46fcbe65f7e2e2cb620e6f51c059cf9e (patch) | |
tree | e7cea7cc17ce0e5004ef040f5d0ffa1384c06ea9 /src/nvim/path.c | |
parent | ede5695eb194e9b607421415525177888b447753 (diff) | |
download | rneovim-1f49268c46fcbe65f7e2e2cb620e6f51c059cf9e.tar.gz rneovim-1f49268c46fcbe65f7e2e2cb620e6f51c059cf9e.tar.bz2 rneovim-1f49268c46fcbe65f7e2e2cb620e6f51c059cf9e.zip |
refactor: convert TRUE/FALSE to true/false (#15660)
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r-- | src/nvim/path.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index e8d5cd9102..5d14eba0a5 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -1349,11 +1349,11 @@ static int expand_backtick( // Create the command: lop off the backticks. char_u *cmd = vim_strnsave(pat + 1, STRLEN(pat) - 2); - if (*cmd == '=') /* `={expr}`: Expand expression */ - buffer = eval_to_string(cmd + 1, &p, TRUE); - else - buffer = get_cmd_output(cmd, NULL, - (flags & EW_SILENT) ? kShellOptSilent : 0, NULL); + if (*cmd == '=') { // `={expr}`: Expand expression + buffer = eval_to_string(cmd + 1, &p, true); + } else { + buffer = get_cmd_output(cmd, NULL, (flags & EW_SILENT) ? kShellOptSilent : 0, NULL); + } xfree(cmd); if (buffer == NULL) { return -1; |