mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
perf(bigfile): disable completion to avoid lag when entering insert mode (#2475)
## Description Default LazyVim uses the extra [Blink.cmp](https://github.com/saghen/blink.cmp) which creates lag (multiple seconds in a 600MB `csv` test file) when entering insert mode.
This commit is contained in:
parent
a2716102c8
commit
c49c3f364c
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ local defaults = {
|
|||
vim.cmd([[NoMatchParen]])
|
||||
end
|
||||
Snacks.util.wo(0, { foldmethod = "manual", statuscolumn = "", conceallevel = 0 })
|
||||
vim.b.completion = false
|
||||
vim.b.minianimate_disable = true
|
||||
vim.b.minihipatterns_disable = true
|
||||
vim.schedule(function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue