diff options
Diffstat (limited to 'files/.vimrc')
| -rw-r--r-- | files/.vimrc | 11 |
1 files changed, 9 insertions, 2 deletions
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 @@ -229,6 +227,15 @@ 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 {{{ set backup |
