From 5ac2b3e08ca1cdaa3939e8f8446745925fb6a160 Mon Sep 17 00:00:00 2001 From: moxie Date: Mon, 16 Mar 2026 03:26:30 +0200 Subject: test: export get_link_type for local testing --- .gitignore | 2 ++ lua/muwiki/links.lua | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..12db4d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Local test files +test_unit.lua diff --git a/lua/muwiki/links.lua b/lua/muwiki/links.lua index 9ae22bd..24a483d 100644 --- a/lua/muwiki/links.lua +++ b/lua/muwiki/links.lua @@ -242,4 +242,7 @@ function M.jump_link(direction) end end +-- Export for testing +M.get_link_type = get_link_type + return M -- cgit v1.2.3