mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-14 14:11:05 +00:00
25 lines
560 B
Lua
25 lines
560 B
Lua
local M = {}
|
|
|
|
M.config = function()
|
|
require "compe".setup {
|
|
enabled = true,
|
|
autocomplete = true,
|
|
debug = false,
|
|
min_length = 1,
|
|
preselect = "enable",
|
|
throttle_time = 80,
|
|
source_timeout = 200,
|
|
incomplete_delay = 400,
|
|
max_abbr_width = 100,
|
|
max_kind_width = 100,
|
|
max_menu_width = 100,
|
|
documentation = true,
|
|
source = {
|
|
buffer = {kind = "", true},
|
|
vsnip = {kind = ""},
|
|
nvim_lsp = true
|
|
}
|
|
}
|
|
end
|
|
|
|
return M
|