diff --git a/nvim/.config/nvim/fnl/modules/options.fnl b/nvim/.config/nvim/fnl/modules/options.fnl index 9731858..35421be 100644 --- a/nvim/.config/nvim/fnl/modules/options.fnl +++ b/nvim/.config/nvim/fnl/modules/options.fnl @@ -12,7 +12,7 @@ (set nvim.o.inccommand "nosplit") (set nvim.o.ignorecase true) (set nvim.o.smartcase true) -(set nvim.o.completeopt "longest,menuone,preview") +(set nvim.o.completeopt "menuone,noselect") (set nvim.o.laststatus 2) (set nvim.o.lazyredraw true) (set nvim.o.splitbelow true) diff --git a/nvim/.config/nvim/fnl/modules/plugins/compe.fnl b/nvim/.config/nvim/fnl/modules/plugins/compe.fnl new file mode 100644 index 0000000..e163f59 --- /dev/null +++ b/nvim/.config/nvim/fnl/modules/plugins/compe.fnl @@ -0,0 +1,16 @@ +(module modules.plugins.compe + {require {compe compe}}) + +(compe.setup + {:enabled true + :autocomplete true + :debug false + :min_length 2 + :preselect "enable" + :documentation true + :source {:path true + :buffer true + :calc true + :nvim_lsp true + :nvim_lua true + :conjure true}})