diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-01-25 22:57:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-25 22:57:59 +0800 |
commit | fb1740521aad48ba7ebd797042d869e3d649b91a (patch) | |
tree | 068e140507ac1b722898b93cc485e3e595095c3f /src/nvim/options.lua | |
parent | 851137f67905f6038e51b5b7d1490fbedea4faaa (diff) | |
parent | 689c23b2ac5c8cb5953e45f9f0cf6c369e8d88df (diff) | |
download | rneovim-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 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index ee8034a871..c6f5221c8b 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1493,6 +1493,7 @@ local options = { 'noinsert', 'noselect', 'fuzzy', + 'nosort', }, flags = true, deny_duplicates = true, @@ -1537,6 +1538,10 @@ local options = { difference how completion candidates are reduced from the 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. ]=], full_name = 'completeopt', list = 'onecomma', |