vim: add spellcheck (#1)
vim/spell/de.utf-8.spl vim/spell/de.utf-8.sug vim/spell/en.utf-8.spl vim/spell/en.utf-8.sug vim/spell/own.add vim/spell/own.add.spl Signed-off-by: Ubuntu <euser@grotemi-uu22-01.users.ausbildungscloud.dataport.de> Co-authored-by: Ubuntu <euser@grotemi-uu22-01.users.ausbildungscloud.dataport.de> Reviewed-on: #1
This commit is contained in:
parent
7286eb65cb
commit
4d786a09ac
7 changed files with 19 additions and 4 deletions
21
.vimrc
21
.vimrc
|
@ -244,10 +244,6 @@ function! ToggleNERDTreeFind()
|
|||
endif
|
||||
endfunction
|
||||
|
||||
" yaml einrückung
|
||||
autocmd FileType yaml setlocal ai ts=2 sw=2 et
|
||||
autocmd FileType yml setlocal ai ts=2 sw=2 et
|
||||
|
||||
" timeouts
|
||||
set timeoutlen=100
|
||||
|
||||
|
@ -255,3 +251,20 @@ set timeoutlen=100
|
|||
if &diff
|
||||
colorscheme nord
|
||||
endif
|
||||
|
||||
augroup spell
|
||||
autocmd!
|
||||
autocmd FileType * highlight SpellBad cterm=underline ctermfg=red ctermbg=NONE
|
||||
autocmd FileType * set spellfile=~/dotfiles/vim/spell/own.add
|
||||
autocmd FileType * set spellsuggest=fast,10
|
||||
autocmd FileType * set spell spelllang=de_de,en
|
||||
augroup END
|
||||
" z= Korrektur
|
||||
" ]s/[s gehe vor/zurück nächsten fehlerhaften wort
|
||||
" zg add to dictionary
|
||||
|
||||
augroup yaml
|
||||
autocmd!
|
||||
autocmd FileType yml setlocal ai ts=2 sw=2 et
|
||||
autocmd FileType yaml,yml setlocal ai ts=2 sw=2 et
|
||||
augroup END
|
||||
|
|
BIN
vim/spell/de.utf-8.spl
Normal file
BIN
vim/spell/de.utf-8.spl
Normal file
Binary file not shown.
BIN
vim/spell/de.utf-8.sug
Normal file
BIN
vim/spell/de.utf-8.sug
Normal file
Binary file not shown.
BIN
vim/spell/en.utf-8.spl
Normal file
BIN
vim/spell/en.utf-8.spl
Normal file
Binary file not shown.
BIN
vim/spell/en.utf-8.sug
Normal file
BIN
vim/spell/en.utf-8.sug
Normal file
Binary file not shown.
2
vim/spell/own.add
Normal file
2
vim/spell/own.add
Normal file
|
@ -0,0 +1,2 @@
|
|||
dotfiles
|
||||
Ansible
|
BIN
vim/spell/own.add.spl
Normal file
BIN
vim/spell/own.add.spl
Normal file
Binary file not shown.
Loading…
Reference in a new issue