unblevable / quick-scope

Lightning fast left-right movement in Vim
MIT License
1.42k stars 54 forks source link

highlight setting doesn't work with some treesitter parser #69

Closed smartding closed 3 years ago

smartding commented 3 years ago

highlight setting for quick scope doesn't work when editing files with treesitter parser enabled. I've added the following auto commands as suggested by readme:

augroup qs_colors
  autocmd!
  autocmd ColorScheme * highlight QuickScopePrimary gui=underline cterm=underline
augroup END

But when I'm editing certain file types with treesitter parser enabled, e.g. lua files, those color setting doesn't work. Not even if I run the highlight command in command line manually.