diff --git a/home/config/nvim/plugins/blink-cmp.fnl b/home/config/nvim/plugins/blink-cmp.fnl index d851498..3775d9b 100644 --- a/home/config/nvim/plugins/blink-cmp.fnl +++ b/home/config/nvim/plugins/blink-cmp.fnl @@ -30,7 +30,10 @@ : [:scroll_documentation_up :fallback] : [:scroll_documentation_down :fallback] : [:hide :fallback]} - :completion {:list {:selection :manual} + :completion {:list {:selection (fn [ctx] + (if (= ctx.mode :cmdline) + :manual + :preselect))} :menu {:min_width 20 :max_height 25 :draw {:treesitter [:lsp]}}