aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/window.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-11 00:17:31 -0700
committerGitHub <noreply@github.com>2019-09-11 00:17:31 -0700
commit6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac (patch)
tree3ce93e047b47db2831308f1501e16fc3a5bf7c16 /src/nvim/window.c
parentb735583377bf5c15a7bd5e910e4ae9fa833c1e42 (diff)
parent06bfb07e3594b019fc32120c9ba9d09ca4dd5087 (diff)
downloadrneovim-6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac.tar.gz
rneovim-6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac.tar.bz2
rneovim-6aed19b2bbe5fbc6df682d159fbc53e7e72c87ac.zip
Merge #10986 'doc'
Diffstat (limited to 'src/nvim/window.c')
-rw-r--r--src/nvim/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/window.c b/src/nvim/window.c
index 315b5ef759..7b6083cf29 100644
--- a/src/nvim/window.c
+++ b/src/nvim/window.c
@@ -969,8 +969,8 @@ bool parse_float_config(Dictionary config, FloatConfig *fconfig, bool reconf,
}
if (has_relative != has_row || has_row != has_col) {
- api_set_error(err, kErrorTypeValidation, "All of 'relative', 'row', and "
- "'col' has to be specified at once");
+ api_set_error(err, kErrorTypeValidation,
+ "'relative' requires 'row'/'col' or 'bufpos'");
return false;
}
return true;