diff options
author | LAN-TW <lantw44@gmail.com> | 2013-11-28 21:27:04 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-11-28 21:27:04 +0800 |
commit | 770754971acb84f645c8f4fe07377550e5f66e0e (patch) | |
tree | 0c40a81b3eb6a2fb2933f6a266669b800cd515c4 | |
parent | a96619b143fb6528c4e611b9358df6c286d4a1da (diff) | |
download | configfile-770754971acb84f645c8f4fe07377550e5f66e0e.tar.gz configfile-770754971acb84f645c8f4fe07377550e5f66e0e.tar.zst configfile-770754971acb84f645c8f4fe07377550e5f66e0e.zip |
vimrc: 讓 powerline 在無 patched 字型時仍正常、加入 vim modelinevimrc-20131128
-rw-r--r-- | vimrc | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,5 @@ -let $ERRFILE="/tmp/aa1ab433-b660-11e2-a69a-000c760ae4c6.err" +" vim: ts=4 sw=4 noet: +let $ERRFILE="/tmp/68c8bff5-0e99-4566-aa7a-14b7882887f9.err" let $CC="cc" let $CXX="c++" let $CFLAGS="-Wall -pipe -g" @@ -6,6 +7,7 @@ let $LDFLAGS="" let g:quick_fix_window_on = 0 let g:plugins_enabled = 0 let g:use_neocomplete = 0 +let g:no_patched_fonts = 1 set bs=2 set ls=2 set ts=4 @@ -126,6 +128,11 @@ if g:plugins_enabled else Bundle 'Valloric/YouCompleteMe' endif + if g:no_patched_fonts + let g:powerline_config_overrides = { "common": { "dividers": { + \ "left": { "hard": " ", "soft": " |" }, + \ "right": { "hard": " ", "soft": " |" } } } } + endif au FileType c call LoadGtkSyntaxFiles() au FileType cpp call LoadGtkSyntaxFiles() endif |