neovim-confs/lua/compe-completion.lua

26 lines
560 B
Lua
Raw Normal View History

2021-06-24 19:19:42 +02:00
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
}
2021-03-13 02:23:02 +01:00
}
2021-03-17 15:37:02 +01:00
end
2021-06-24 19:19:42 +02:00
return M