8715d13cc5
Various improvements: - Seperate out visual mode detection. - Use TextChanged rather than CursorMoved where supported. - Let users specify the filetypes for which wordcounting is enabled with a list rather than a pattern. - Move the filetype check to when airline is refreshed, as opposed to on every update; autocommands are not created if wordcounting is disabled