From 18a631e1d769a04fe2fe33d1821e3e0586918cff Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 14 Jul 2023 14:06:41 -0500 Subject: [PATCH] refactor(nvim): improve cmp sort --- dots/.config/nvim/lua/plugins/configs/_cmp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/_cmp.lua b/dots/.config/nvim/lua/plugins/configs/_cmp.lua index f1647d84..323397e9 100755 --- a/dots/.config/nvim/lua/plugins/configs/_cmp.lua +++ b/dots/.config/nvim/lua/plugins/configs/_cmp.lua @@ -150,10 +150,10 @@ cmp.setup({ }), sorting = { comparators = { - compare.exact, compare.score, compare.offset, compare.recently_used, + compare.exact, require("cmp_fuzzy_buffer.compare"), compare.kind, compare.sort_text,