eyeliner.nvim
eyeliner.nvim copied to clipboard
Feature Request: Allow for numbers to be included in eyeliner
Love the plugin, ty for the work.
After using it more and more, a nice feature would be to include numbers when searching with f and t or atleast have an options to include them.
Current flow without number support

Sorry it took a while to get back to you, I've been thinking about how I should go about this. Something like quick-scope allows the user to give a list of characters that you would like to be highlighted, but I was thinking a regex could be provided, which would make it more powerful.
For instance,
require'eyeliner'.setup {
match = '[0-9a-zA-Z]'
}
Let me know what you think about this @whoop-t .
@jinh0 Yea something like that sounds good to me. This would allow for any characters(@, -, _, etc) to be included as well if the user prefers
Hi, thanks for the plugin!
Came here to say that I'd love common programming symbols to be highlighted, such as {, - etc.
@jinh0 would it be possible to implement the non English characters that way? I often work on latex documents in my native language, so it would be great, if the plugin would be able to detect them .
Update: it seems that matching any non English character is not that easy. Probably it requires utf8 implementation. I've looked through other similar plugins and it is done using vim.fn.byteidx. Here is the example: https://github.com/bradford-smith94/quick-scope/commit/6fc165632b98be37d60ec8ba83220e761436f298