mirror of
https://github.com/preservim/vim-pencil.git
synced 2025-11-14 12:53:46 -05:00
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:
@@ -283,7 +283,7 @@ let g:airline_section_x = '%{PencilMode()}'
|
|||||||
If you don’t like the default indicators, you can specify different ones:
|
If you don’t 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_
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user