Projetos
Ver no GitHub
antoinemadec/FixCursorHold.nvim
Sobre
Fix CursorHold Performance.
Ferramentas de desenvolvimentoCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original❗ This plugin is not needed after https://github.com/neovim/neovim/pull/20198 ❗
Fix CursorHold Performance
Rationale
This plugin exists for two reasons:
- fix neovim CursorHold and CursorHoldI autocmd events performance bug
- decouple updatetime from CursorHold and CursorHoldI (works for Vim and Neovim)
1., fixes slowdowns and untriggered events
2., you can now use small delays for CursorHold without writing the swap file 10x/sec (see :help updatetime)
This will result in more snappiness for plugins using those events, such as: coc.nvim, vim-gitgutter, tagbar, vim-devicons, vim-polyglot, etc.
Installation
Make sure to have the following plugins in your vimrc:
Plug 'antoinemadec/FixCursorHold.nvim'
Configuration
" in millisecond, used for both CursorHold and CursorHoldI,
" use updatetime instead if not defined
let g:cursorhold_updatetime = 100
License
MIT
Explore projetos relacionados
Carregando…