summaryrefslogtreecommitdiff
path: root/lua/clever_f/testing
diff options
context:
space:
mode:
Diffstat (limited to 'lua/clever_f/testing')
-rw-r--r--lua/clever_f/testing/memory_host.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/clever_f/testing/memory_host.lua b/lua/clever_f/testing/memory_host.lua
index 0f8fc2d..929b357 100644
--- a/lua/clever_f/testing/memory_host.lua
+++ b/lua/clever_f/testing/memory_host.lua
@@ -727,6 +727,13 @@ function MemoryHost:highlights()
return copy(self._highlights)
end
+function MemoryHost:supports_cursor_presentation()
+ self:_record("supports_cursor_presentation", {
+ supported = self._cursor_presentation_support,
+ })
+ return self._cursor_presentation_support
+end
+
function MemoryHost:suppress_cursor_presentation()
if not self._cursor_presentation_support then
self:_record("suppress_cursor_presentation", { supported = false })