nschum / highlight-symbol.el

Emacs: automatic and manual symbol highlighting
http://nschum.de/src/emacs/highlight-symbol/
274 stars 41 forks source link

Add highlight-symbol-ag for project-wide searching #27

Closed swsnr closed 9 years ago

swsnr commented 9 years ago

Like highlight-symbol-occur, but searches the whole project with ag.el.

I understand that it's a very specific extension, so if you don't like to merge it, I'm fine with keeping it in my own init file. Just through you might be interested.

Wilfred commented 9 years ago

@lunaryorn ag-project-regexp should take the existing symbol at point by default anyway -- what's the intention here?

swsnr commented 9 years ago

@Wilfred No extra prompt, and word boundaries in the regexp.

nschum commented 9 years ago

Yeah, sorry, I don't think it's worth including something to work with one specific package. It does look useful, though. :+1: