From 75b685e8facf9424b9d84cd9b290b165d31c6f53 Mon Sep 17 00:00:00 2001 From: Anton Bobov Date: Sun, 16 Dec 2018 22:43:06 +0500 Subject: Config updates. --- files/.vimrc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'files/.vimrc') diff --git a/files/.vimrc b/files/.vimrc index db31112..f7cf7d1 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -168,8 +168,6 @@ set timeoutlen=1000 set ttimeout set ttimeoutlen=10 - - " List chars {{{ set list @@ -228,6 +226,15 @@ colorscheme solarized8 digraphs ru 8381 digraphs e= 8364 +" }}} +" Syntax {{{ + +" http://www.panozzaj.com/blog/2016/03/21/ignore-urls-and-acroynms-while-spell-checking-vim/ +" Disable spell check for URL +syn match UrlNoSpell '\w\+:\/\/\S\+' contains=@NoSpell +" Disable spell check for acronyms +syn match AcronymNoSpell '\<\(\u\|\d\)\{3,}s\?\>' contains=@NoSpell + " }}} " Backup {{{ -- cgit v1.2.3