RRethy / vim-illuminate

illuminate.vim - (Neo)Vim plugin for automatically highlighting other uses of the word under the cursor using either LSP, Tree-sitter, or regex matching.
2.12k stars 44 forks source link

feat: `is_paused()` to query plugin state #153

Closed vlelo closed 1 year ago

vlelo commented 1 year ago

Currently there is no way to query the state of the plugin globally (ie modified by :IlluminateToggle).

RRethy commented 1 year ago

@vlelo out of curiosity, what was your use-case for is_paused()?

vlelo commented 1 year ago

@vlelo out of curiosity, what was your use-case for is_paused()?

@RRethy This utility I made with hydra.