vim-operator-highlight icon indicating copy to clipboard operation
vim-operator-highlight copied to clipboard

Won't play nice with concealing

Open oblitum opened this issue 10 years ago • 4 comments

I was just trying https://github.com/enomsg/vim-haskellConcealPlus and notice vim-operator-highlight was completely blocking it from working. I believe it should be mentioned in readme/docs at last.

oblitum avatar Apr 02 '15 20:04 oblitum

This issue also should be the reason for braking jedi-vim:

https://github.com/davidhalter/jedi-vim/issues/415

oblitum avatar May 10 '15 16:05 oblitum

For reference, here's what jedi-vim does to setup the concealing / syntax highlighting: https://github.com/davidhalter/jedi-vim/blob/master/after/syntax/python.vim

Maybe vim-operator-highlight could use containedin=ALL? (here: https://github.com/Valloric/vim-operator-highlight/blob/master/plugin/operator_highlight.vim#L72)

@oblitum Can you test if that fixes the issue, please?

blueyed avatar May 10 '15 16:05 blueyed

yes, for sure.

oblitum avatar May 10 '15 16:05 oblitum

@blueyed Putting containedin=ALL at the end of the line didn't have any effect.

oblitum avatar May 10 '15 16:05 oblitum