mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
Merge pull request #17663 from dundargoc/refactor/uncrustify
refactor: apply uncrustify
This commit is contained in:
@@ -723,15 +723,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:
|
||||
|
Reference in New Issue
Block a user