Created
October 23, 2012 18:27
-
-
Save tomoki/3940575 to your computer and use it in GitHub Desktop.
hankaku.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! HankakuSpace() | |
highlight HankakuSpace cterm=underline ctermfg=darkgrey gui=underline guifg=darkgrey | |
endfunction | |
if has('syntax') | |
augroup HankakuSpace | |
autocmd! | |
"ZenkakuSpaceをカラーファイルで設定するなら次の行は削除 | |
autocmd ColorScheme * call HankakuSpace() | |
" 全角スペースのハイライト指定 | |
autocmd VimEnter,WinEnter * match HankakuSpace / / | |
augroup END | |
call HankakuSpace() | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment