From 43cd98e8da25183d4e55bc953be2f80a81b81682 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 18 Jan 2019 18:08:09 +0000 Subject: Enable spell check, but only on gitcommits --- gvimrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gvimrc') diff --git a/gvimrc b/gvimrc index 12b8347..091d43b 100644 --- a/gvimrc +++ b/gvimrc @@ -18,6 +18,8 @@ set diffopt+=iwhite set backupdir=/tmp set directory=/tmp set undodir=/tmp +set spelllang=en +set nospell tmenu ToolBar.Make Write all and make amenu ToolBar.Make :wa\|mak au BufRead,BufNewFile *.ll set filetype=lex @@ -50,6 +52,7 @@ au FileType ebuild map :w:!ebuild % manifest clean compile test au FileType ebuild map :w:!sudo ebuild % merge map :lnext map :lprev +au FileType gitcommit setlocal spell map :cn map :cN map gg=G -- cgit v1.2.3