From eb4661da6d9350c3df6720e7423cea85716521e8 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 13 Jul 2023 22:35:41 -0500 Subject: [PATCH] refactor(nvim): improve cmp comparators --- 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 323397e9..f1647d84 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,