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>

View File

@@ -38,11 +38,11 @@ set statusline=
set statusline+=%w%q%h "Is it help/preview/loclist?
set statusline+=%{GetGitStatus()} "Is it git?
set statusline+=\
set statusline+=%< "Trim here
set statusline+=%{GetFilePath()} "What's the filename? (nicely adjusted)
set statusline+=%m%r "Is it modifiable/readonly?
set statusline+=[%LL] "How many lines?
set statusline+=%= "Go to the right ---->
set statusline+=%< "Trim here
set statusline+=\
set statusline+=%{&fileencoding?&fileencoding:&encoding}
set statusline+=\|%{&fileformat} "Unix/Win?