don't highlight tabs in help as bad

This commit is contained in:
2018-02-02 14:08:48 +01:00
parent a48b24909d
commit ac68caff09
3 changed files with 7 additions and 4 deletions

View File

@@ -60,9 +60,11 @@ set shortmess+=c
"{{{
augroup badstyle
autocmd!
autocmd BufWinEnter * call clearmatches()
autocmd BufWinEnter * let w:m1 = matchadd('Unstylish', '\%81v.')
autocmd BufWinEnter * if &ft != 'make' && &ft != 'gitcommit' |
\ let w:m2 = matchadd('Unstylish', '\t') | endif
autocmd BufWinEnter * if &ft != 'make' && &ft != 'gitcommit'
\ && &ft != 'help'
\ | let w:m2 = matchadd('Unstylish', '\t') | endif
augroup END
augroup trailingwhite
@@ -78,6 +80,7 @@ augroup END
let mapleader = ","
let maplocalleader = ","
nnoremap q <nop>
nnoremap Q <nop>
nnoremap qn :nohl<cr>
nnoremap ql :lclose<cr>
nnoremap qq :cclose<cr>