From 0449c0382c2797063c26880a2de8504a9cc391b2 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 7 Oct 2022 12:10:24 -0500 Subject: [PATCH] feat(nvim): use cmp selection order relative to cursor --- .../primary/config/lua/plugins/configs/_cmp.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua b/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua index 63dc8683..b0fa58b3 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/configs/_cmp.lua @@ -58,6 +58,12 @@ cmp.setup({ end end, }, + view = { + entries = { + name = "custom", + selection_order = "near_cursor", + }, + }, window = { documentation = { side_padding = 0 }, completion = {