diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-23 12:29:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 12:29:05 -0400 |
commit | 2786d96fac2d5cb44eaf7de604adfdffe3dd9895 (patch) | |
tree | 854f215a410fc60151ab58652dcb0c9baaf958e7 /src/nvim/option.c | |
parent | 9280a69a6d1828972cb8a0f6b7f81e0a5e73c886 (diff) | |
parent | 78ec28bca8eb868948ac4ad41b74148874f5a3bb (diff) | |
download | rneovim-2786d96fac2d5cb44eaf7de604adfdffe3dd9895.tar.gz rneovim-2786d96fac2d5cb44eaf7de604adfdffe3dd9895.tar.bz2 rneovim-2786d96fac2d5cb44eaf7de604adfdffe3dd9895.zip |
Merge pull request #13145 from janlazo/vim-8.2.0901
vim-patch:8.2.{901,912}
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 484d9da3a1..4569eb1dda 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -6803,7 +6803,8 @@ static void langmap_set(void) /// Return true if format option 'x' is in effect. /// Take care of no formatting when 'paste' is set. -int has_format_option(int x) +bool has_format_option(int x) + FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT { if (p_paste) { return false; |