mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-10 05:51:49 +08:00
plugin: mention how to disable certain events
E.g. how to disable the FocusGained event by setting the 'eventignore' option. Add some boilerplate to skip the focusgained function handler function, if it should be ignored. (this should in theory stop setting up the autocommands at all so might be tiny performance optimization). closes #2421
This commit is contained in:
@@ -2080,6 +2080,11 @@ Q. Performance is bad
|
||||
A. Check the question at the wiki:
|
||||
https://github.com/vim-airline/vim-airline/wiki/FAQ#i-have-a-performance-problem
|
||||
|
||||
Q. Something strange happens on certain autocommands
|
||||
A. Try to disable the autocommand by setting the 'eventignore' option like
|
||||
this: >
|
||||
set eventignore+=FocusGained
|
||||
|
||||
Solutions to other common problems can be found in the Wiki:
|
||||
<https://github.com/vim-airline/vim-airline/wiki/FAQ>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user