aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-10-23 12:29:05 -0400
committerGitHub <noreply@github.com>2020-10-23 12:29:05 -0400
commit2786d96fac2d5cb44eaf7de604adfdffe3dd9895 (patch)
tree854f215a410fc60151ab58652dcb0c9baaf958e7 /src/nvim/option.c
parent9280a69a6d1828972cb8a0f6b7f81e0a5e73c886 (diff)
parent78ec28bca8eb868948ac4ad41b74148874f5a3bb (diff)
downloadrneovim-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.c3
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;