mirror of
https://github.com/NvChad/NvChad.git
synced 2024-11-08 13:10:25 +00:00
9c1a3ad2a2
takes less lines, looks much better
remove neoscroll.lua, missed in 2952f4d5c7
26 lines
540 B
Lua
26 lines
540 B
Lua
local present, compe = pcall(require, "compe")
|
|
if not present then
|
|
return
|
|
end
|
|
|
|
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},
|
|
luasnip = {kind = "", true},
|
|
nvim_lsp = true,
|
|
nvim_lua = true
|
|
}
|
|
}
|