html syntax and host specific vimrc\'s ...

This commit is contained in:
Julian Scharrenbach 2019-02-13 12:47:34 +01:00
parent 9e87c3345b
commit 8c3b40303f

2
.vimrc
View File

@ -174,9 +174,9 @@ set statusline+=\ %p%%
set statusline+=\ %l:%c set statusline+=\ %l:%c
set statusline+=\ set statusline+=\
let s:host_vimrc = $HOME '.vimrc' . '_' . hostname()
" if there is a host-specific vimrc, load it (.vimrc_hostname) " if there is a host-specific vimrc, load it (.vimrc_hostname)
let s:host_vimrc = $HOME . '.vimrc' . '_' . hostname()
if filereadable(s:host_vimrc) if filereadable(s:host_vimrc)
execute 'source ' . s:host_vimrc execute 'source ' . s:host_vimrc
endif endif