spell and scroll

This commit is contained in:
Christoph J. Scherr 2024-07-09 14:57:28 +02:00
parent 9d803a7253
commit e2caa8cc6c
1 changed files with 3 additions and 4 deletions

View File

@ -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 `<leader>ts`
vim.opt.spelllang = 'en,de_de,'
vim.opt.spell = true -- manually enable spell with `set spell` or `<leader>ts`
vim.opt.spelllang = 'en,de_de'
vim.opt.spellsuggest = 'double,50,timeout:5000'
-- autocommands