Show whitespace characters in gvim

前端 未结 4 1742
孤街浪徒
孤街浪徒 2020-12-23 10:05

Is there an easy way to display whitespace characters such as space and tab in gvim? Something like what is implemented in Gedit, Geany, Komodo, and other GUI editors where

4条回答
  •  醉梦人生
    2020-12-23 10:22

    This works well for me:

    "trailing white space detection
    highlight WhitespaceEOL ctermbg=yellow guibg=yellow
    match WhitespaceEOL /\s\+$/
    

提交回复
热议问题