Closed mingsxs closed 5 years ago
And when it happens, it will certainly happen when I try to do the same operation at the same place. whenever it is going with MacOS or Linux VIM.
You mean Vim died with segfault? If so, please file this issue on vim/vim after creating minimal code to reproduce.
Vim hangs forever with this plugin in lightline when I write
int main(
in C file.
I assume that problem is in this loop: https://github.com/tyru/current-func-info.vim/blob/master/ftplugin/c/cfi.vim#L36
When cursor is here:
int main(
^
condition
!empty(synstack(line('.'), col('.')))
is true, so it loops forever.
Can anyone try the latest code? This issue should be also fixed. Thank you.
If a problem still persists, please reopen this.
Sometimes this plugin just makes the vim died within my terminal. I was using this plugin on my C sources.