Add compe stuff

This commit is contained in:
buffet 2021-05-14 22:24:09 +00:00
parent 05728535c8
commit f5e2e78625
2 changed files with 17 additions and 1 deletions

View file

@ -12,7 +12,7 @@
(set nvim.o.inccommand "nosplit") (set nvim.o.inccommand "nosplit")
(set nvim.o.ignorecase true) (set nvim.o.ignorecase true)
(set nvim.o.smartcase 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.laststatus 2)
(set nvim.o.lazyredraw true) (set nvim.o.lazyredraw true)
(set nvim.o.splitbelow true) (set nvim.o.splitbelow true)

View file

@ -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}})