mirror of
https://github.com/itchyny/lightline.vim.git
synced 2025-11-16 15:33:49 -05:00
improve doc (ref #35)
This commit is contained in:
18
README.md
18
README.md
@@ -226,6 +226,24 @@ let g:lightline = {
|
||||
|
||||
|
||||
|
||||
If the triangles do not appear (but you get some spaces or weird characters like <bf> or ¿), firstly try adding
|
||||
```vim
|
||||
scriptencoding utf-8
|
||||
```
|
||||
to the head of your `.vimrc`.
|
||||
Still you have weird characters, use the unicode numbers. For powerline font
|
||||
users:
|
||||
```vim
|
||||
\ 'separator': { 'left': "\ue0b0", 'right': "\ue0b2" },
|
||||
\ 'subseparator': { 'left': "\ue0b1", 'right': "\ue0b3" }
|
||||
```
|
||||
For vim-powerline font users:
|
||||
```vim
|
||||
\ 'separator': { 'left': "\u2b80", 'right': "\u2b82" },
|
||||
\ 'subseparator': { 'left': "\u2b81", 'right': "\u2b83" }
|
||||
```
|
||||
|
||||
|
||||
Almost all of things go well with the patched font but if the triangle looks weird:
|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user