update spell checker
This commit is contained in:
parent
f2e47684bc
commit
affc222edc
5 changed files with 30 additions and 12 deletions
4
init.lua
4
init.lua
|
@ -4,12 +4,14 @@ vim.cmd [[
|
|||
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 *.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
|
||||
|
||||
set autoread
|
||||
au FocusGained,BufEnter * :checktime
|
||||
]]
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue