spell checking

This commit is contained in:
RingOfStorms (Joshua Bell) 2023-04-27 12:25:01 -06:00
parent 93434a8105
commit f2e47684bc
4 changed files with 19 additions and 12 deletions

10
en.utf-8.add Normal file
View file

@ -0,0 +1,10 @@
config
nvim
lua
utf
autocmd
set
spellfile
lodash
metadataSemver
util

BIN
en.utf-8.add.spl Normal file

Binary file not shown.

View file

@ -1,9 +1,16 @@
vim.cmd([[
vim.cmd [[
augroup FileType_http
au!
au BufNewFile,BufRead *.http setfiletype http
augroup END
]])
autocmd BufRead,BufNewFile *.ts,*.tsx,*.py,*.js,*.jsx,*.css,*.scss,*.rs,*.lua,*.html setlocal spell spelllang=en_us wrap
" autocmd BufRead,BufNewFile * setlocal spell spelllang=en_us wrap
set spellfile=~/.config/nvim/lua/user/en.utf-8.add
]]
return {
colorscheme = "material",

10
opt.lua
View file

@ -1,13 +1,3 @@
return {
-- shell = "zsh -l", -- sets vim.opt.shell,
-- completeopt = { "menuone", "noselect", "noinsert" },
-- shortmess = vim.opt.shortmess + { c = true },
-- function()
-- vim.api.nvim_set_option("updatetime", 300)
-- vim.cmd [[
-- set signcolumn=yes
-- autocmd CursorHold * lua vim.diagnostic.open_float(nil, { focusable = false })
-- ]]
-- end,
}