aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--plugins/unboundedscroll.lua5
2 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1404199..17fc1e8 100644
--- a/README.md
+++ b/README.md
@@ -37,4 +37,5 @@ Plugin | Description
[`titleize`](plugins/titleize.lua?raw=1) | Titleizes selected string (`hello world` => `Hello World`)
[`todotreeview`](https://github.com/drmargarido/TodoTreeView)* | Todo tree viewer for anotations in code like `TODO`, `BUG`, `FIX`, `IMPROVEMENT`
[`togglesnakecamel`](plugins/togglesnakecamel.lua?raw=1) | Toggles symbols between `snake_case` and `camelCase`
+[`unboundedscroll`](plugins/unboundedscroll.lua?raw=1) | Allows scrolling outside the bounds of a document
diff --git a/plugins/unboundedscroll.lua b/plugins/unboundedscroll.lua
new file mode 100644
index 0000000..c4cc7bb
--- /dev/null
+++ b/plugins/unboundedscroll.lua
@@ -0,0 +1,5 @@
+local DocView = require "core.docview"
+
+function DocView.clamp_scroll_position()
+ -- do nothing
+end