Skip to content

Commit 3019ae4

Browse files
committed
Document g:onehalf_italic
1 parent ba72217 commit 3019ae4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

vim/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,17 @@ Download the files in [vim/](./) and put them in their respective folders
2121
## Usage
2222
Put `colorscheme <scheme>` and `let g:airline_theme='<theme>'`, if using airline
2323
or `let g:lightline = { 'colorscheme': '<theme>' }`, if using lightline, in your `.vimrc`
24-
to set the color scheme and airline (or lightline) theme. Make sure you have
25-
syntax highlighting on, and 256 colors set. Vim version >= 7.4 recommended.
24+
to set the color scheme and airline (or lightline) theme. `let g:onehalf_italic = 1`
25+
before `colorscheme` to enable italics (requires terminal and font support). Make sure
26+
you have syntax highlighting on, and 256 colors set. Vim version >= 7.4 recommended.
2627

2728
For example:
2829

2930
```
3031
syntax on
3132
set t_Co=256
3233
set cursorline
34+
let g:onehalf_italic = 1
3335
colorscheme onehalflight
3436
let g:airline_theme='onehalfdark'
3537
" lightline

0 commit comments

Comments
 (0)