diff options
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 0ad11fb3cb..040ab1b847 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -5753,7 +5753,7 @@ bool can_bs(int what) /// Get the local or global value of 'backupcopy'. /// /// @param buf The buffer. -unsigned int get_bkc_value(buf_T *buf) +unsigned get_bkc_value(buf_T *buf) { return buf->b_bkc_flags ? buf->b_bkc_flags : bkc_flags; } @@ -5770,7 +5770,7 @@ char *get_flp_value(buf_T *buf) } /// Get the local or global value of the 'virtualedit' flags. -unsigned int get_ve_flags(void) +unsigned get_ve_flags(void) { return (curwin->w_ve_flags ? curwin->w_ve_flags : ve_flags) & ~(VE_NONE | VE_NONEU); } |