aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/options.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-01-25 22:57:59 +0800
committerGitHub <noreply@github.com>2025-01-25 22:57:59 +0800
commitfb1740521aad48ba7ebd797042d869e3d649b91a (patch)
tree068e140507ac1b722898b93cc485e3e595095c3f /runtime/lua/vim/_meta/options.lua
parent851137f67905f6038e51b5b7d1490fbedea4faaa (diff)
parent689c23b2ac5c8cb5953e45f9f0cf6c369e8d88df (diff)
downloadrneovim-fb1740521aad48ba7ebd797042d869e3d649b91a.tar.gz
rneovim-fb1740521aad48ba7ebd797042d869e3d649b91a.tar.bz2
rneovim-fb1740521aad48ba7ebd797042d869e3d649b91a.zip
Merge pull request #32204 from zeertzjq/vim-9.1.1049
vim-patch:9.1.{1049,1053}: 'completeopt' "nosort"
Diffstat (limited to 'runtime/lua/vim/_meta/options.lua')
-rw-r--r--runtime/lua/vim/_meta/options.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua
index 107b1ffdfb..f0f0d1a768 100644
--- a/runtime/lua/vim/_meta/options.lua
+++ b/runtime/lua/vim/_meta/options.lua
@@ -1098,6 +1098,10 @@ vim.go.cia = vim.go.completeitemalign
--- list of alternatives, but not how the candidates are
--- collected (using different completion types).
---
+--- nosort Disable sorting of completion candidates based on fuzzy
+--- scores when "fuzzy" is enabled. Candidates will appear
+--- in their original order.
+---
--- @type string
vim.o.completeopt = "menu,preview"
vim.o.cot = vim.o.completeopt