feat: add spell check

This commit is contained in:
Fabio Lenherr / DashieTM 2022-10-13 01:41:22 +02:00
parent 2bed6f50c0
commit d42d294c95
122 changed files with 454 additions and 5657 deletions

View file

@ -7,21 +7,21 @@ local options = {
smartcase = true,
showmode = true,
termguicolors = true,
-- winbar = "",
-- winbar = "",
ignorecase = true,
showtabline = 2,
timeoutlen = 100, -- time to wait for a mapped sequence to complete (in milliseconds)
undofile = true, -- enable persistent undoi updatetime = 300, -- faster completion (4000ms default)
writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
expandtab = true, -- convert tabs to spaces
shiftwidth = 2, -- the number of spaces inserted for each indentation
tabstop = 2, -- insert 2 spaces for a tab
cursorline = true,
scrolloff = 8, -- is one of my fav
sidescrolloff = 8,
spell = true,
spelllang = "en_us",
mousemodel = "popup_setpos",
timeoutlen = 100, -- time to wait for a mapped sequence to complete (in milliseconds)
undofile = true, -- enable persistent undoi updatetime = 300, -- faster completion (4000ms default)
writebackup = false, -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
expandtab = true, -- convert tabs to spaces
shiftwidth = 2, -- the number of spaces inserted for each indentation
tabstop = 2, -- insert 2 spaces for a tab
cursorline = true,
scrolloff = 8, -- is one of my fav
sidescrolloff = 8,
spell = true,
spelllang = "en_us",
mousemodel = "popup_setpos",
}
--vim.opt.shortmess:append "c"
@ -29,5 +29,3 @@ local options = {
for k, v in pairs(options) do
vim.opt[k] = v
end