azabiong / vim-highlighter

Highlight words and expressions
MIT License
226 stars 9 forks source link

[Question] The highlight's color was different from two window. #9

Closed jqhr closed 2 years ago

jqhr commented 2 years ago

Thanks author very much for solute my problem. Now I found same pattern of the same buffer was different with two window. For example 图片 The keyword 'formDataEditor' was highligh in two window. but the color was different. For Hi/Find formDataEditor multiple files, the color was same, but why Hi/Set word color was different for two window?

Maybe I need some config to keep color same?

azabiong commented 2 years ago

Thanks for your update. Each window can have different highlighting patterns by default, and you can use Sync Mode and the configurable option :h HiSyncMode.

jqhr commented 2 years ago

It works, Thanks you