set spellfile depending on host
Signed-off-by: Michael Grote <michael.grote@dataport.de>
This commit is contained in:
parent
bd51372260
commit
fdb8b29950
1 changed files with 5 additions and 1 deletions
6
.vimrc
6
.vimrc
|
@ -255,7 +255,11 @@ endif
|
|||
augroup spell
|
||||
autocmd!
|
||||
autocmd FileType * highlight SpellBad cterm=underline ctermfg=red ctermbg=NONE
|
||||
autocmd FileType * set spellfile=~/repos/dotfiles/vim/spell/own.add
|
||||
if $HOSTNAME == "lbdlspa001"
|
||||
autocmd FileType * set spellfile=~/dotfiles/vim/spell/own.add
|
||||
elseif $HOSTNAME == "lzeorpt001"
|
||||
autocmd FileType * set spellfile=/homes/MGMT/grotemi-admin/repos/dotfiles/vim/spell/own.add
|
||||
endif
|
||||
autocmd FileType * set spellsuggest=fast,10
|
||||
autocmd FileType * set spell spelllang=de_de,en
|
||||
augroup END
|
||||
|
|
Loading…
Reference in a new issue