blueyed/vim-autoclose — comment on commit a7933e3945f386bfbc5b0dfc9ab0f443f5fa0199
File: plugin/autoclose.vim line 303
By artm:

The first stab at simplifying this function:

https://github.com/artm/vim-autoclose/commit/50d9d526dd5c9ecdf9a76ef32f0fa36045029a1d