From 5e47c503d927442f7c6faff2e1f891f8efe8a26f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sun, 11 May 2014 12:53:08 +0100 Subject: [PATCH] use words=all rather than words=buffer for default insert word completion --- src/option_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/option_manager.cc b/src/option_manager.cc index 2bd9fd0c..f2c6576c 100644 --- a/src/option_manager.cc +++ b/src/option_manager.cc @@ -154,7 +154,7 @@ GlobalOptions::GlobalOptions() declare_option("path", "path to consider when trying to find a file", std::vector({ "./", "/usr/include" })); declare_option("completers", "insert mode completers to execute.", - std::vector({"filename", "word=buffer"}), + std::vector({"filename", "word=all"}), OptionFlags::None, OptionChecker>([](const std::vector& s) { static const auto values = {"word=buffer", "word=all", "filename"};