mini diff - way to programmatically check if it's enabled and if the overlay is enabled #1060
-
I'm looking to make toggle maps in the style of mini.basics toggle diagnostics, where i'd like to print the end state of the toggle after. is there an api or other way to check if mini.diff is enabled and if the overlay is enabled? |
Beta Was this translation helpful? Give feedback.
Answered by
echasnovski
Jul 15, 2024
Replies: 1 comment 1 reply
-
Yes, there is. Take a look at
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
echasnovski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, there is. Take a look at
get_buf_data()
:nil
if buffer is disabled and a table otherwise.overlay
field showing whether an overlay is active.