spell checking
This commit is contained in:
parent
93434a8105
commit
f2e47684bc
4 changed files with 19 additions and 12 deletions
11
init.lua
11
init.lua
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue