Always highlight tabs
Make tab space very clear to avoid annoying confusion.
This commit is contained in:
parent
24051d7737
commit
6fa76a4ba6
2 changed files with 9 additions and 0 deletions
4
vim/after/common_syntax.vim
Normal file
4
vim/after/common_syntax.vim
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
hi TabChar ctermbg=52 guibg=#5f0000
|
||||||
|
syn match TabChar "\t"
|
||||||
|
|
||||||
5
vim/after/filetype.vim
Normal file
5
vim/after/filetype.vim
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
if !exists("after_autocmds_loaded")
|
||||||
|
let after_autocmds_loaded = 1
|
||||||
|
au BufNewFile,BufRead * source ~/.vim/after/common_syntax.vim
|
||||||
|
endif
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue