From 529b9ad62a0e843ee56ef609aef7e51b7dc8a4c8 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Wed, 5 Jun 2024 20:27:06 +0200 Subject: patch 9.1.0469: Cannot have buffer-local value for 'completeopt' Problem: Cannot have buffer-local value for 'completeopt' (Nick Jensen). Solution: Make 'completeopt' global-local (zeertzjq). Also for some reason test Test_ColonEight_MultiByte seems to be failing sporadically now. Let's mark it as flaky. fixes: #5487 closes: #14922 Signed-off-by: zeertzjq Signed-off-by: Christian Brabandt --- runtime/doc/options.txt | 4 ++-- runtime/doc/version9.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'runtime/doc') diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 57fefa2237..655fd6c524 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.1. Last change: 2024 Jun 04 +*options.txt* For Vim version 9.1. Last change: 2024 Jun 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -2101,7 +2101,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'completeopt'* *'cot'* 'completeopt' 'cot' string (default: "menu,preview") - global + global or local to buffer |global-local| A comma-separated list of options for Insert mode completion |ins-completion|. The supported values are: diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt index 07c416ae28..6edb8891bc 100644 --- a/runtime/doc/version9.txt +++ b/runtime/doc/version9.txt @@ -1,4 +1,4 @@ -*version9.txt* For Vim version 9.1. Last change: 2024 Jun 03 +*version9.txt* For Vim version 9.1. Last change: 2024 Jun 05 VIM REFERENCE MANUAL by Bram Moolenaar @@ -41567,6 +41567,7 @@ Changed~ - use 'smoothscroll' logic for CTRL-D and CTRL-U for half-pagewise scrolling - the default for 'commentstring' contains whitespace padding to have automatic comments look nicer |comment-install| +- 'completeopt' is now a |global-local| option. *added-9.2* Added ~ -- cgit v1.2.3