Skip to content

Instantly share code, notes, and snippets.

@qqpann
Last active December 18, 2018 11:38
Show Gist options
  • Save qqpann/1ec239c92c5190a27b0cd501ddb39293 to your computer and use it in GitHub Desktop.
Save qqpann/1ec239c92c5190a27b0cd501ddb39293 to your computer and use it in GitHub Desktop.
Vimで行末のスペースだけ可視化する ref: https://qiita.com/qqhann/items/293be9d891b7e672f3b8
" Overriding theme settings
" 行末の空白を表示する
set list
set listchars=trail:·
highlight ExtraWhitespace ctermfg=darkgreen guifg=darkgreen
" 半角,タブ
" match ExtraWhitespace /\s\+$/
" 半角スペースのみ
match ExtraWhitespace / \+$/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment