Skip to content

Commit

Permalink
Deal with missing powerline fonts in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rbong committed Sep 2, 2023
1 parent 356e852 commit cb05073
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,10 @@ endfunction
set laststatus=2
set showtabline=2
set guioptions-=e
" Default separators
" By default, these are powerline-style separators
let g:crystalline_separators = [
\ { 'ch': '', 'alt_ch': '', 'dir': '>' },
\ { 'ch': '', 'alt_ch': '', 'dir': '<' },
\ { 'ch': '>', 'alt_ch': '|', 'dir': '>' },
\ { 'ch': '<', 'alt_ch': '|', 'dir': '<' },
\ ]
```

Expand Down
2 changes: 2 additions & 0 deletions doc/crystalline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ This is a list of objects containing:

Default:
>vim
" These use powerline-style separators
" If you're unable to see them, please use a powerline-compatible font
let g:crystalline_separators = [
\ { 'ch': '', 'alt_ch': '', 'dir': '>' },
\ { 'ch': '', 'alt_ch': '', 'dir': '<' },
Expand Down
6 changes: 3 additions & 3 deletions examples/neovim_lua_examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ end

vim.o.laststatus = 2
vim.o.showtabline = 2
-- Default separators
-- By default, these are powerline-style separators
vim.g.crystalline_separators = {
{ ch = "", alt_ch = "", dir = ">" },
{ ch = "", alt_ch = "", dir = "<" }
{ ch = ">", alt_ch = "|", dir = ">" },
{ ch = "<", alt_ch = "|", dir = "<" }
}
```

Expand Down

0 comments on commit cb05073

Please sign in to comment.