diff options
| author | ache <ache@ache.one> | 2025-02-26 14:09:30 +0100 |
|---|---|---|
| committer | ache <ache@ache.one> | 2025-02-26 14:09:30 +0100 |
| commit | 7be0f62b53d0d4fec010284f1909652f642d1bc5 (patch) | |
| tree | a1622563e13bdbdd143ddeb769d92c3b5210fd15 /lua/ache/plugins | |
| parent | Corrects spelling error (diff) | |
Add a plugin to scroll past the last line
Diffstat (limited to 'lua/ache/plugins')
| -rw-r--r-- | lua/ache/plugins/scrollEOF.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/ache/plugins/scrollEOF.lua b/lua/ache/plugins/scrollEOF.lua new file mode 100644 index 0000000..2f63446 --- /dev/null +++ b/lua/ache/plugins/scrollEOF.lua @@ -0,0 +1,14 @@ +--[[ +-- A plugin to make `scrolloff` go past the end of the file. +-- Check `scrolloff` option in `:h 'scrolloff'` for more info. +-- +-- Normally, `scrolloff` option is used to keep a certain number of lines, but at the end of the file it will stop. +-- With this plugin you can keep scrolling past the end of the file, it will show **extra empty lines**. +-- +--]] + +return { + "Aasim-A/scrollEOF.nvim", + event = { "CursorMoved", "WinScrolled" }, + opts = {}, +} |