From f5e2e786250dc7a4184421daf0b1f955bf084fa9 Mon Sep 17 00:00:00 2001 From: buffet Date: Fri, 14 May 2021 22:24:09 +0000 Subject: [PATCH] Add compe stuff --- nvim/.config/nvim/fnl/modules/options.fnl | 2 +- nvim/.config/nvim/fnl/modules/plugins/compe.fnl | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 nvim/.config/nvim/fnl/modules/plugins/compe.fnl 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}})