aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--lua/muwiki/links.lua3
2 files changed, 5 insertions, 0 deletions
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