Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(readme): indent errors #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 16 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,30 @@ For best results, it is suggested that you use the following syntax plugins.

All major plugin managers for vim/nvim are supported

```vim
```viml
<PACKAGE_MANAGER> 'mhartington/oceanic-next'
```
```

For vim, add the following to your `.vimrc`.

*(On Google Cloud Shell try to `set t_Co=256` instead of `set termguicolors` even though your vim version is 8)*

```viml
```viml
" Theme
syntax enable
syntax enable
" for vim 7
set t_Co=256
set t_Co=256

" for vim 8
if (has("termguicolors"))
set termguicolors
endif
if (has("termguicolors"))
set termguicolors
endif

colorscheme OceanicNext
```
```

For neovim, add the following to your `.nvimrc`.


```viml
" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
Expand All @@ -54,8 +53,8 @@ colorscheme OceanicNext

There is an included theme for vim-airline, to use it, just change the airline theme to:

```
let g:airline_theme='oceanicnext'
```viml
let g:airline_theme='oceanicnext'
```

There is a light mode, but it still needs some work.
Expand All @@ -67,11 +66,11 @@ If anyone would like to contribute, I'd be happy to accept a Pull Request.

If your terminal and setup supports it, you can enable italics and bold fonts with the following setting

```viml
syntax on
let g:oceanic_next_terminal_bold = 1
let g:oceanic_next_terminal_italic = 1
colorscheme OceanicNext
```viml
syntax on
let g:oceanic_next_terminal_bold = 1
let g:oceanic_next_terminal_italic = 1
colorscheme OceanicNext
```

If your terminal has transparancy, you can enable it in neovim by adding the
Expand Down Expand Up @@ -99,4 +98,3 @@ _neovim_
![](https://raw.githubusercontent.com/mhartington/oceanic-next/master/oceanic-next-dark.nvim.png)

Shown here with [vim-devicons](https://github.com/ryanoasis/vim-devicons)