Skip to content

Commit 92afe9d

Browse files
committed
Updated README.md after solving #3
1 parent c1b292f commit 92afe9d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@ set background=dark " for the dark version
5555
colorscheme one
5656
```
5757

58+
### Italic support
59+
60+
Some terminals do not support italic, cf. #3.
61+
62+
If your terminal does support _italic_, you can set the `g:one_allow_italics` variable to 1 in your `.vimrc` or `.config/nvim/init.vim`:
63+
64+
```vim
65+
set background=light " for the light version
66+
let g:one_allow_italics = 1 " I love italic for comments
67+
colorscheme one
68+
```
69+
70+
5871
To benefit from the **true color** support make sure to add the following lines in your `.vimrc` or `.config/nvim/init.vim`
5972

6073
```vim

0 commit comments

Comments
 (0)