-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Neovim CPU usage #27
Comments
I catched that it caused by enabling |
I take this issue very seriously. Can you please verify it happens with the minimal example set nocompatible
" change this path to where the plugin is located
let s:matchup = '~/.config/nvim/bundle/vim-matchup'
let &rtp = s:matchup . ',' . &rtp
let &rtp .= ',' . s:matchup . '/after'
filetype plugin indent on
syntax on
" relevant options here
let g:matchup_matchparen_deferred = 1 |
with above config it is ok. |
I think I can reproduce this:
It makes no sense. When the cursor is not moving, the deferred timer is in a paused state and should consume no CPU. I verified the callback is not being triggered when the cursor is not moving. I don't see why it relates to airline. This might be a neovim bug, and it might be related to this neovim/neovim#7871 |
Fixed in neovim 0.3.0, recently released. |
This plugin caused CPU usage
neovim 0.2.2
After adding this plugin neovim always use CPU
Profile output:
The text was updated successfully, but these errors were encountered: