Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
miyakogi committed Jan 13, 2016
1 parent 44db184 commit ccdb8f0
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ seiya.vim

## Usage

### Commands

#### Enable

`:SeiyaEnable`
Expand All @@ -13,10 +15,23 @@ seiya.vim

If backgroung color is not updated, try `colorshame [your_colorscheme]`

### Configuration

#### Automatically enable when vim starts

Add this line in your vimrc.
Add this line in your vimrc. By default, this option is disabled.

```vim
let g:seiya_auto_enable=1
```

#### Change highlight groups to clear

This option is helpful for [Neovim](https://neovim.io/) users.

```vim
" Default value: ['ctermbg']
let g:seiya_target_groups = has('nvim') ? ['guibg'] : ['ctermbg']
```

In Neovim with true-color terminal, this plugin does not work since gui\* highlight groups are used even when it's running on terminal. This option solves this problem.

0 comments on commit ccdb8f0

Please sign in to comment.