reduce startuptime for compe
This commit is contained in:
parent
57b9c3f5c6
commit
b61ead83c1
@ -79,3 +79,24 @@ function _G.completions()
|
||||
end
|
||||
|
||||
vim.api.nvim_set_keymap("i", "<CR>", "v:lua.completions()", {expr = true})
|
||||
|
||||
local g = vim.g
|
||||
|
||||
-- speeden up compe
|
||||
g.loaded_compe_calc = 0
|
||||
g.loaded_compe_emoji = 0
|
||||
|
||||
g.loaded_compe_luasnip = 0
|
||||
g.loaded_compe_nvim_lua = 0
|
||||
|
||||
g.loaded_compe_path = 0
|
||||
g.loaded_compe_spell = 0
|
||||
g.loaded_compe_tags = 0
|
||||
g.loaded_compe_treesitter = 0
|
||||
|
||||
g.loaded_compe_snippets_nvim = 0
|
||||
|
||||
g.loaded_compe_ultisnips = 0
|
||||
g.loaded_compe_vim_lsc = 0
|
||||
g.loaded_compe_vim_lsp = 0
|
||||
g.loaded_compe_omni = 0
|
||||
|
Loading…
Reference in New Issue
Block a user