aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2025-03-15 06:07:21 -0700
committerGitHub <noreply@github.com>2025-03-15 13:07:21 +0000
commit4662ad5643b270958fa6dc3c0ded15800ce6faf6 (patch)
tree55e0389266b4ebe7db7924e21ff5c8107f645f4e /runtime/lua/vim
parentd8eec815609831c51a580ba8d8edada2300aff98 (diff)
downloadrneovim-4662ad5643b270958fa6dc3c0ded15800ce6faf6.tar.gz
rneovim-4662ad5643b270958fa6dc3c0ded15800ce6faf6.tar.bz2
rneovim-4662ad5643b270958fa6dc3c0ded15800ce6faf6.zip
feat(defaults): completeopt=popup #32909
Assuming that completeopt=popup does what its documentation claims, it is more appropriate that completeopt=preview as a default.
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_meta/options.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 59e65b0585..775dda59f7 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -1109,7 +1109,7 @@ vim.go.cia = vim.go.completeitemalign
--- combination with "menu" or "menuone".
---
--- @type string
-vim.o.completeopt = "menu,preview"
+vim.o.completeopt = "menu,popup"
vim.o.cot = vim.o.completeopt
vim.bo.completeopt = vim.o.completeopt
vim.bo.cot = vim.bo.completeopt