nvim-treesitter / nvim-treesitter-refactor

Refactor module for nvim-treesitter
Apache License 2.0
407 stars 25 forks source link

Feature request: clear highlight definitions on `FocusLost` #51

Open simonmandlik opened 1 year ago

simonmandlik commented 1 year ago

When I switch panes in tmux, the cursor disappears, but the highlights stay on. Would it be possible to clear the highlights on FocusGaines and possibly reenable when I switch back on FocusLost?

Thank you!

giddie commented 10 months ago

Actually it would be really nice to have a simple way even to toggle highlighting on and off manually :thinking: