My vim configuration
git clone https://github.com/m-col/vim-misc
Files | Refs | Readme

Commit d5d8393d621b5f38b6fe8701b3b0ca6579bde9a7
Parent: ff2e48407aa4f2f1f6207a45d5e45f80be20b631
Author: mcol <mcol@posteo.net>
Date: 2019-09-25 21:46:37 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2019-09-25 21:46:37 +0100

add spell checking to .rst files; make zenbook plugins workon macbook

vimrc Modified

@@ -20,7 +20,7 @@
 
 Plugin 'VundleVim/Vundle.vim'		    " required
 
-if hostname() == "zenbook"
+if stridx(hostname(), "book")
     Plugin 'vimwiki/vimwiki'		    " vimwiki
     "Plugin 'm-col/vimlab'		    " vimlab
     "Plugin 'lervag/vimtex'		    " vimtex

ftplugin/rst.vim Modified

@@ -1,2 +1,3 @@
 setlocal textwidth=79
+setlocal spell spelllang=en_gb
 nnoremap <localleader>c :mkview<CR>gqip:silent loadview<CR>