My vim configuration
git clone https://mcol.xyz/code/vim-misc
Log | Files | Refs | README

commit ee9286eb1145b6cadccd75f31aad86bc3e34a3d4
parent 49f2cfeb869d280b6f633cf435c30089ae2c4ad9
Author: mcol <mcol@posteo.net>
Date:   Sun,  2 Feb 2020 09:41:29 +0000

make hostname check actually work

Diffstat:
Mvimrc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vimrc b/vimrc @@ -20,7 +20,7 @@ call vundle#begin() Plugin 'VundleVim/Vundle.vim' " required -if stridx(hostname(), "book") +if stridx(hostname(), "book") != -1 Plugin 'vimwiki/vimwiki' " vimwiki "Plugin 'gu-fan/riv.vim' Plugin 'm-col/vimlab' " vimlab @@ -102,7 +102,7 @@ au BufReadPost * \ | endif " machine specific settings -if stridx(hostname(), "book") +if stridx(hostname(), "book") != -1 packadd! matchit " needed for matlab indentation functionality "let g:mlint_path_to_mlint = expand("$HOME") . "/applications/MATLAB/R2018b/bin/glnxa64/mlint"