summaryrefslogtreecommitdiff
path: root/lua/settings.lua
diff options
context:
space:
mode:
authorGruak <[email protected]>2021-07-08 17:09:43 +0200
committerGruak <[email protected]>2021-07-08 17:09:43 +0200
commit3ec856a78d0e00f93110d57d908ea5c39aa081ae (patch)
tree316f2d81db104375cbad66fd3adf39933f073866 /lua/settings.lua
parent84d6ea7a6302a916a38af262685db03902ce4866 (diff)
add scrolloff config option
Diffstat (limited to 'lua/settings.lua')
-rw-r--r--lua/settings.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/settings.lua b/lua/settings.lua
index e1da3965..044708b9 100644
--- a/lua/settings.lua
+++ b/lua/settings.lua
@@ -34,6 +34,7 @@ opt.hlsearch = O.hl_search -- highlight all matches on previous search pattern
opt.ignorecase = O.ignore_case -- ignore case in search patterns
opt.mouse = "a" -- allow the mouse to be used in neovim
opt.pumheight = 10 -- pop up menu height
+opt.scrolloff = O.scrolloff -- minimal number of screen lines to keep above and below the cursor
opt.showmode = false -- we don't need to see things like -- INSERT -- anymore
opt.showtabline = 2 -- always show tabs
opt.smartcase = O.smart_case -- smart case