mirror of https://github.com/NvChad/NvChad
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
524 B
Lua
27 lines
524 B
Lua
3 years ago
|
local present, compe = pcall(require, "compe")
|
||
|
if not present then
|
||
3 years ago
|
return
|
||
3 years ago
|
end
|
||
|
|
||
3 years ago
|
compe.setup {
|
||
3 years ago
|
enabled = true,
|
||
3 years ago
|
|
||
3 years ago
|
autocomplete = true,
|
||
|
debug = false,
|
||
3 years ago
|
documentation = true,
|
||
3 years ago
|
incomplete_delay = 400,
|
||
|
max_abbr_width = 100,
|
||
|
max_kind_width = 100,
|
||
|
max_menu_width = 100,
|
||
3 years ago
|
min_length = 1,
|
||
|
preselect = "enable",
|
||
|
source_timeout = 200,
|
||
3 years ago
|
source = {
|
||
|
buffer = { kind = "", true },
|
||
|
luasnip = { kind = "", true },
|
||
|
nvim_lsp = true,
|
||
|
nvim_lua = true,
|
||
|
},
|
||
3 years ago
|
throttle_time = 80,
|
||
3 years ago
|
}
|