summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/ache/plugins/scrollEOF.lua14
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 = {},
+}