Swapped order of indicator chars

To address a rendering problem in MacVim that required a screen redraw in some cases.
This commit is contained in:
Reed Esau
2014-08-31 03:58:44 -06:00
parent a275f35c6f
commit 676e72a793
2 changed files with 3 additions and 3 deletions

View File

@@ -283,7 +283,7 @@ let g:airline_section_x = '%{PencilMode()}'
If you dont like the default indicators, you can specify different ones: If you dont like the default indicators, you can specify different ones:
```vim ```vim
let g:pencil#mode_indicators = {'hard': 'h✎ ', 'soft': 's✎ ', 'off': '×'} let g:pencil#mode_indicators = {'hard': '✎ h', 'soft': '✎ s', 'off': '✎ ×',}
``` ```
Note that `PencilMode()` will return blank for buffers in which _pencil_ Note that `PencilMode()` will return blank for buffers in which _pencil_

View File

@@ -122,9 +122,9 @@ en
if !exists('g:pencil#mode_indicators') if !exists('g:pencil#mode_indicators')
" used to set PencilMode() for statusline " used to set PencilMode() for statusline
if s:unicode_enabled() if s:unicode_enabled()
let g:pencil#mode_indicators = {'hard': 'h✎ ', 'soft': 's✎ ', 'off': '×✎ ',} let g:pencil#mode_indicators = {'hard': '✎ h', 'soft': '✎ s', 'off': '✎ ×',}
el el
let g:pencil#mode_indicators = {'hard': 'hp', 'soft': 'sp', 'off': '',} let g:pencil#mode_indicators = {'hard': 'ph', 'soft': 'ps', 'off': 'px',}
en en
en en