diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-27 12:58:25 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-27 12:58:25 +1200 |
commit | f930288f2771b26bb74ef6be65dde5081a800585 (patch) | |
tree | 3a2ba4d5afe5b4549c0c23b7079bd7a689e98154 | |
parent | Merge branch 'feature/neovim-compat' into develop (diff) | |
download | dotfiles-f930288f2771b26bb74ef6be65dde5081a800585.tar.gz dotfiles-f930288f2771b26bb74ef6be65dde5081a800585.zip |
Add `nbsp` flag to 'listchars' if supported
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -90,6 +90,9 @@ set listchars+=extends:> " Unwrapped text to screen right set listchars+=precedes:< " Unwrapped text to screen left set listchars+=tab:>- " Tab characters, preserve width set listchars+=trail:_ " Trailing spaces +if v:version >= 700 + set listchars+=nbsp:+ " Non-breaking spaces +endif " Add angle brackets to pairs of matched characters set matchpairs+=<:> |