aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-09-12 11:16:35 +0200
committerGitHub <noreply@github.com>2023-09-12 11:16:35 +0200
commit1c4a93b591828bc6970edad6282c004eb46f0b2d (patch)
tree2f2a403f8b0132976dfe0a61eb78f65028329cdd /test/functional/helpers.lua
parent6b5f44817e93c2985f3ea32122f1dc0047054018 (diff)
parentb04286a187d57c50f01cd36cd4668b7a69026579 (diff)
downloadrneovim-1c4a93b591828bc6970edad6282c004eb46f0b2d.tar.gz
rneovim-1c4a93b591828bc6970edad6282c004eb46f0b2d.tar.bz2
rneovim-1c4a93b591828bc6970edad6282c004eb46f0b2d.zip
Merge pull request #13243 from bfredl/intersection
feat(extmark): support highlighting and querying multiline ranges
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index b98cf97e7e..6f5397a089 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -857,6 +857,11 @@ function module.testprg(name)
return ('%s/%s%s'):format(module.nvim_dir, name, ext)
end
+function module.is_asan()
+ local version = module.eval('execute("verbose version")')
+ return version:match('-fsanitize=[a-z,]*address')
+end
+
-- Returns a valid, platform-independent Nvim listen address.
-- Useful for communicating with child instances.
function module.new_pipename()