mjbrownie / swapit

vim plugin: Extensible Keyword Swapper
39 stars 8 forks source link

Syntax Highlighting for any keywords in swap lists #15

Open mjbrownie opened 10 years ago

mjbrownie commented 10 years ago

It would be nice to have optional syntax match and mild highlight for any words contained in a swap list to indicate the shortcut is available to use.

Notes

It will be something like this.... :help :match

                    :highlight SwapIt ctermbg=green guibg=green

                    :match SwapIt /\<\( ... <buffer keyword set joined by \| > ... \)\>/