From 9435b5da468ce93b7b51eccc348c87c36d79570a Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Tue, 25 Oct 2022 09:22:54 -0700 Subject: [PATCH] tweak neovim complete options --- .config/nvim/fnl/init.fnl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/nvim/fnl/init.fnl b/.config/nvim/fnl/init.fnl index 26ead06..c265a4d 100644 --- a/.config/nvim/fnl/init.fnl +++ b/.config/nvim/fnl/init.fnl @@ -42,6 +42,10 @@ ;; re-run the last macro (vim.keymap.set :n :Q "@@") +;; completion + +(set vim.o.completeopt "longest,menuone") + ;; smart tab ;; https://vim.fandom.com/wiki/Smart_mapping_for_tab_completion (vim.keymap.set :i :