tpope/vim-scriptease — pull request #19 by blueyed (2014-12-17 00:02:34+00:00)
Title: Improve unlet-search-pattern

I've noticed that vim-scriptease did not handle https://github.com/embear/vim-localvimrc's guard:

if (exists("g:loaded_localvimrc") || &cp)
finish
endif
let g:loaded_localvimrc = 1

It also fixes #8.