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

@@ -59,7 +59,7 @@ hi CursorColumn ctermbg=3 guibg=#c0c0c0
"hi CursorIM guibg=fg guifg=bg
hi CursorLine cterm=bold ctermbg=240 gui=bold guibg=#444444
hi LineNr cterm=NONE ctermfg=8 ctermbg=0 gui=NONE guifg=#808080 guibg=#000000
hi MatchParen cterm=NONE ctermfg=1 ctermbg=3 gui=NONE guifg=#c00000 guibg=#ffff00
hi MatchParen cterm=NONE ctermfg=1 ctermbg=3 gui=NONE guifg=#c00000 guibg=#c0c000
hi Search cterm=NONE ctermfg=0 ctermbg=3 gui=NONE guifg=#000000 guibg=#c0c000
hi Statement cterm=NONE ctermfg=13 ctermbg=0 gui=NONE guifg=#ff00ff guibg=#000000
hi Todo cterm=bold ctermfg=214 ctermbg=0 gui=bold guifg=#ffaf00 guibg=#000000

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?