diff options
author | rxi <rxi@users.noreply.github.com> | 2020-05-02 10:48:28 +0100 |
---|---|---|
committer | rxi <rxi@users.noreply.github.com> | 2020-05-02 10:50:03 +0100 |
commit | 9f7959ef99171b49014606f60181d7f6a4dd7404 (patch) | |
tree | ad28915d4b3cd2452f66c6f7c2561d5a6b39c765 | |
parent | 3d84ad201a00267c2b0a5b9a184d6870e360d90f (diff) | |
download | lite-xl-plugins-9f7959ef99171b49014606f60181d7f6a4dd7404.tar.gz lite-xl-plugins-9f7959ef99171b49014606f60181d7f6a4dd7404.zip |
Added `unboundedscroll` plugin
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | plugins/unboundedscroll.lua | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -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 |