spell and scroll
This commit is contained in:
parent
9d803a7253
commit
e2caa8cc6c
7
init.lua
7
init.lua
|
@ -7,7 +7,6 @@ vim.opt.signcolumn = 'yes'
|
||||||
vim.opt.clipboard = '' -- don't just use the system clipboard
|
vim.opt.clipboard = '' -- don't just use the system clipboard
|
||||||
vim.opt.wrap = false
|
vim.opt.wrap = false
|
||||||
vim.opt.breakindent = false
|
vim.opt.breakindent = false
|
||||||
vim.opt.spell = true
|
|
||||||
vim.opt.conceallevel = 2
|
vim.opt.conceallevel = 2
|
||||||
vim.opt.concealcursor = 'c'
|
vim.opt.concealcursor = 'c'
|
||||||
vim.opt.undofile = true
|
vim.opt.undofile = true
|
||||||
|
@ -73,7 +72,7 @@ vim.o.guifont = 'FiraCode Nerd Font:h15'
|
||||||
vim.opt.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
vim.opt.shortmess = 'xsTOInfFitloCaAs'
|
vim.opt.shortmess = 'xsTOInfFitloCaAs'
|
||||||
vim.opt.showmode = true -- Show mode in cmd window
|
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.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.numberwidth = 2 -- Minimum number of columns to use for the line number
|
||||||
vim.opt.number = true -- Show line numbers
|
vim.opt.number = true -- Show line numbers
|
||||||
|
@ -136,8 +135,8 @@ vim.opt.pumblend = 10 -- Popup blend
|
||||||
-- Spelling correction
|
-- Spelling correction
|
||||||
-- ===
|
-- ===
|
||||||
|
|
||||||
vim.opt.spell = false -- manually enable spell with `set spell` or `<leader>ts`
|
vim.opt.spell = true -- manually enable spell with `set spell` or `<leader>ts`
|
||||||
vim.opt.spelllang = 'en,de_de,'
|
vim.opt.spelllang = 'en,de_de'
|
||||||
vim.opt.spellsuggest = 'double,50,timeout:5000'
|
vim.opt.spellsuggest = 'double,50,timeout:5000'
|
||||||
|
|
||||||
-- autocommands
|
-- autocommands
|
||||||
|
|
Loading…
Reference in New Issue