camspiers / snap

A fast finder system for neovim.
The Unlicense
490 stars 17 forks source link

added pre/post run hooks #18

Closed astridlyre closed 3 years ago

astridlyre commented 3 years ago

This is maybe not the way to do this, since I'm new to programming. I think it might be a cool idea to have pre/post run hooks that people could use for various purposes. In my case, I have it set up to change the color of my CursorLine when the snap window opens, to make it more visible, then I change it back once the window closes. This is my initial naive attempt to implement this.