From e2caa8cc6ca4da2f84ef86708c86e9d9c67572d8 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Tue, 9 Jul 2024 14:57:28 +0200 Subject: [PATCH] spell and scroll --- init.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/init.lua b/init.lua index 45af565..3b91b6c 100644 --- a/init.lua +++ b/init.lua @@ -7,7 +7,6 @@ vim.opt.signcolumn = 'yes' vim.opt.clipboard = '' -- don't just use the system clipboard vim.opt.wrap = false vim.opt.breakindent = false -vim.opt.spell = true vim.opt.conceallevel = 2 vim.opt.concealcursor = 'c' vim.opt.undofile = true @@ -73,7 +72,7 @@ vim.o.guifont = 'FiraCode Nerd Font:h15' vim.opt.termguicolors = true vim.opt.shortmess = 'xsTOInfFitloCaAs' vim.opt.showmode = true -- Show mode in cmd window -vim.opt.scrolloff = 10 -- Keep at least n lines above/below +vim.opt.scrolloff = 6 -- Keep at least n lines above/below vim.opt.sidescrolloff = 10 -- Keep at least n lines left/right vim.opt.numberwidth = 2 -- Minimum number of columns to use for the line number vim.opt.number = true -- Show line numbers @@ -136,8 +135,8 @@ vim.opt.pumblend = 10 -- Popup blend -- Spelling correction -- === -vim.opt.spell = false -- manually enable spell with `set spell` or `ts` -vim.opt.spelllang = 'en,de_de,' +vim.opt.spell = true -- manually enable spell with `set spell` or `ts` +vim.opt.spelllang = 'en,de_de' vim.opt.spellsuggest = 'double,50,timeout:5000' -- autocommands