aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/vim.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-03-09 21:19:37 +0100
committerDundar Göc <gocdundar@gmail.com>2022-03-10 09:14:12 +0100
commit7e3bdc75e44b9139d8afaea4381b53ae78b15746 (patch)
tree47547273268e887fa59b5529d6afde46772a7254 /src/nvim/api/vim.c
parentd0cb8744d84822209edd0ac242f2400c784e6dc5 (diff)
downloadrneovim-7e3bdc75e44b9139d8afaea4381b53ae78b15746.tar.gz
rneovim-7e3bdc75e44b9139d8afaea4381b53ae78b15746.tar.bz2
rneovim-7e3bdc75e44b9139d8afaea4381b53ae78b15746.zip
refactor(uncrustify): format all c files
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r--src/nvim/api/vim.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c
index 1a324bfaa5..b2d866ae0e 100644
--- a/src/nvim/api/vim.c
+++ b/src/nvim/api/vim.c
@@ -722,15 +722,15 @@ Object nvim_get_option_value(String name, Dict(option) *opts, Error *err)
break;
case 2:
switch (numval) {
- case 0:
- case 1:
- rv = BOOLEAN_OBJ(numval);
- break;
- default:
- // Boolean options that return something other than 0 or 1 should return nil. Currently this
- // only applies to 'autoread' which uses -1 as a local value to indicate "unset"
- rv = NIL;
- break;
+ case 0:
+ case 1:
+ rv = BOOLEAN_OBJ(numval);
+ break;
+ default:
+ // Boolean options that return something other than 0 or 1 should return nil. Currently this
+ // only applies to 'autoread' which uses -1 as a local value to indicate "unset"
+ rv = NIL;
+ break;
}
break;
default: