From 7be0f62b53d0d4fec010284f1909652f642d1bc5 Mon Sep 17 00:00:00 2001 From: ache Date: Wed, 26 Feb 2025 14:09:30 +0100 Subject: Add a plugin to scroll past the last line --- lua/ache/plugins/scrollEOF.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lua/ache/plugins/scrollEOF.lua 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 = {}, +} -- cgit v1.3-2-g11bf