From 5a860b8dc00153ac64ba164e93dfdac9c8bb449d Mon Sep 17 00:00:00 2001
From: Mora Unie Youer <mora_unie_youer@riseup.net>
Date: Sun, 30 Mar 2025 14:10:58 +0300
Subject: fix: improve `blink.cmp` fuzzy sorting

---
 lua/config/plugins/completion.lua | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'lua/config')

diff --git a/lua/config/plugins/completion.lua b/lua/config/plugins/completion.lua
index 7c084d0..0bcf7ad 100644
--- a/lua/config/plugins/completion.lua
+++ b/lua/config/plugins/completion.lua
@@ -20,6 +20,10 @@ return {
 
 				sources = { default = { "lsp", "path", "snippets", "buffer" } },
 
+				fuzzy = {
+					sorts = { "exact", "score", "sort_text" },
+				},
+
 				keymap = {
 					["<S-space>"] = { "show", "show_documentation", "hide_documentation" },
 					["<C-e>"] = { "hide", "fallback" },
-- 
cgit v1.2.3-70-g09d2