fixed scrolloff, scrolleof not working
This commit is contained in:
@@ -20,4 +20,16 @@ require("auto-save").setup({
|
||||
require("remember").setup({})
|
||||
|
||||
-- enable scrolleof
|
||||
require("scrollEOF").setup()
|
||||
require("scrollEOF").setup({
|
||||
-- The pattern used for the internal autocmd to determine
|
||||
-- where to run scrollEOF. See https://neovim.io/doc/user/autocmd.html#autocmd-pattern
|
||||
pattern = "*",
|
||||
-- Whether or not scrollEOF should be enabled in insert mode
|
||||
insert_mode = false,
|
||||
-- Whether or not scrollEOF should be enabled in floating windows
|
||||
floating = true,
|
||||
-- List of filetypes to disable scrollEOF for.
|
||||
disabled_filetypes = { "terminal" },
|
||||
-- List of modes to disable scrollEOF for. see https://neovim.io/doc/user/builtin.html#mode()
|
||||
disabled_modes = { "t", "nt" },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user