Code Monkey home page Code Monkey logo

oceanic-next's Introduction

Oceanic-Next.vim

Oceanic-Next.vim is a neovim theme inspired by Oceanic Next for Sublime. It is not a direct port, but uses some colors from the sublime theme, that are fitted to work with neovim and vim8.

For best results, it is suggested that you use the following syntax plugins.

Installation

All major plugin managers for vim/nvim are supported

<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)

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

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

colorscheme OceanicNext

For neovim, add the following to your init.vim.

" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1

" Or if you have Neovim >= 0.1.5
if (has("termguicolors"))
 set termguicolors
endif

" Theme
syntax enable
colorscheme OceanicNext

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

  let g:airline_theme='oceanicnext'

There is a light mode, but it still needs some work. Currently, light mode has issues with cursor, need to tweak the colors a bit for that. Also, the included airline theme could use some work in light mode. Right now it is the exact same as the dark version, I'd like to tweak this a bit. If anyone would like to contribute, I'd be happy to accept a Pull Request.

Configuration

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

  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 following lines to your init.vim after calling colorscheme OceanicNext:

hi Normal guibg=NONE ctermbg=NONE
hi LineNr guibg=NONE ctermbg=NONE
hi SignColumn guibg=NONE ctermbg=NONE
hi EndOfBuffer guibg=NONE ctermbg=NONE

Each line above disables the background for a given highlight group (e.g., LineNr). You can choose which to disable. This will show your terminal's background (whether or not it's transparent). For best results, use an Oceanic Next color scheme in your terminal.

Screenshot

Base colors used in the theme.

neovim

Shown here with vim-devicons

oceanic-next's People

Contributors

bramkok avatar cstyles avatar epilande avatar gblock0 avatar harg avatar ialsaffar avatar jtr109 avatar mhartington avatar nfvs avatar nicoder avatar olalonde avatar rpunkfu avatar stsewd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oceanic-next's Issues

Different colors than in screenshots

Hi @mhartington i was wondering if you ran into similar issues, im using iterm 2 with tmux and also installed the oceanic next color scheme on my terminal so by default it looks like this:

captura de pantalla 2016-11-27 a la s 11 39 36

However after setting everything in my .vimrc file for some reason I get a dull grey background instead of the nice blue one:

captura de pantalla 2016-11-27 a la s 11 39 53

Am I missing something? I'm using Vim 7.4.898 for reference. Thanks

Colors don't seem to be loading correctly

Hi,

I'm trying to load your colorscheme in neovim with true colors and this is what my init.vim file looks like.

screen shot 2015-12-09 at 6 02 31 pm

I'm setting the color scheme after loading all my plugins and starting neovim with the true-color flag.

I also commented out the rest of my color schemes in my plugin file to see if something was conflicting but that didn't help.

Have you experienced this?

I'm on OS X 10.11.2 by the way.

Neovim version:

NVIM 0.1.0 (compiled Nov  1 2015 16:15:29)
Commit: v0.1.0
Build type: RelWithDebInfo

getting weird colors

#vimrc
screen shot 2017-03-28 at 10 45 18 pm

Problems summary

getting weird colors in vim
the only plugin in the bundles folder is this one

#image of test file
screen shot 2017-03-28 at 10 50 15 pm

Environment Information

macOS sierra 10.12.3

  • terminal: iterm2 v3.0.15
  • vim/nvim version: nvim v0.1.7

Light mode

I've wanted a light mode for a while (for day/night time editing)

I opened an issue here voronianski/oceanic-next-color-scheme#18

It could be as simple as swapping out some colors in an if statement.

This would also extend to the included airline theme.

If anyone would like to help with this, would love to get some ideas/code going.
Would consider adding folks as co-maintainers of this repo as well.

Indentlines color mismatch

Problems summary

I want to know the process of getting those indent lines as specified in the readme screenshot.
I tried using this for indent Line

Plugin 'Yggdroot/indentLine'

& using this line let g:indentLine_setColors = 0 as specified in their documentation to apply my colorscheme's color but the color of indent lines is very different for me than in your readme screenshot.

Questions:

  1. What plugin did you use for indent lines ?
  2. If the same plugin, can you help me fix the colors ?

Environment Information

  • terminal: iterm2 with oceanic next theme
  • vim version: 8.0.187

Minimal VIMRC

set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

Plugin 'VundleVim/Vundle.vim'
Plugin 'othree/yajs.vim'
Plugin 'mhartington/oceanic-next'
Plugin 'Yggdroot/indentLine'

call vundle#end()
filetype plugin indent on

if (has("termguicolors"))
    set termguicolors
endif

let g:indentLine_setColors = 0
set background=dark
colorscheme OceanicNext
set number
set ts=2
set shiftwidth=2
set softtabstop=2
set expandtab

Screen shot

screen shot 2017-06-04 at 7 04 30 pm

Sample snippet mentioned in screenshot:

function getName() {
  return function() {
    var x = 'nova';
    var y = x + 'hypernova';

    return x + y;
  };
}

Incorrect Syntax highlighting

This is most likely not a problem Oceanic but I thought it might be a good place to start.
I'm getting very different results using Oceanic in Sublime than I do with my Vim set up.
Any ideas why this might be? I've added my minimal .vimrc as well.

"Vundle
Plugin 'mhartington/oceanic-next'
"Plugin 'pangloss/vim-javascript'
Plugin 'othree/yajs.vim' "Seems to work better with yajs
Plugin 'mxw/vim-jsx'
"

syntax enable
" for vim 7
set t_Co=256

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

colorscheme OceanicNext

Sublime

screen shot 2016-12-04 at 08 34 04

Vim

screen shot 2016-12-04 at 08 33 49

Code comments appearing in wrong color in vim

In all the below screenshots I'm using iTerm2, oceanic-next-iterm, as well as oceanic-next in vim.
This issue appears in all filetypes.

On my Mac
**reproducable

  1. without tmux ($TERM xterm-256color)
  2. tmux with or without iterm integration ($TERM screen-256color)**
    screen shot 2016-08-03 at 10 51 45 am

SSH'd in to a Debian VPS with same vimrc
without tmux ($TERM xterm-256color)
This is what I expect
screen shot 2016-08-03 at 10 53 55 am

SSH'd in to a Debian VPS with same vimrc
tmux, same result with or without iterm integration ($TERM screen)
if I export TERM=xterm-256color, it works fine even in tmux
screen shot 2016-08-03 at 10 55 12 am

Except comments, everything else looks fine everywhere.
How can I narrow this down?

little to no syntax highlighting on html files

Hey - I love your theme but I'm having a little trouble and was hoping you could help. Would you mind sharing a pic of a html file using your theme? I can't seem to get syntax highlighting working for html and jsx files.

I have Plug 'othree/html5-syntax.vim', Plug 'pangloss/vim-javascript', { 'for': 'javascript' }, and Plug 'mxw/vim-jsx', { 'for': 'jsx' }` setup properly but my files look like this:

screen shot 2016-11-20 at 3 14 42 pm

here is my setup:
screen shot 2016-11-20 at 3 15 19 pm
screen shot 2016-11-20 at 3 15 56 pm

was hoping it would look something like this:
screen shot 2016-11-21 at 10 26 09 am

colors_name is reseting

Hi,

Initially I would like to thank you for this colorscheme.

Then, I came up to the following issue,
using the command colorscheme it reports default.
Additionally, echo colors_name reports Undefined variable: colors_name ... etc

Looking at other colorschemes i.e. desert.vim the colors/desert.vim has

set background=dark
if version > 580
    " no guarantees for version 5.8 and below, but this makes it stop
    " complaining
    hi clear
    if exists("syntax_on")
	syntax reset
    endif
endif
let g:colors_name="desert" 

Applying the same order in colors/OceanicNext.vim it seems to resolve this issue.

set background=dark

hi clear
if exists("syntax_on")
  syntax reset
endif

let g:colors_name="OceanicNext"

Best wishes
Panagiotis

Diff UI suggestion for current line no. hightlighter

Suggestion

Will you be interested in making the current line highlighted number to get highlighted in-place rather than shifting on to the left ?
Something like this:
screen shot 2017-07-24 at 9 52 34 am
(colors are from different scheme avoid those, see just the line numbers)

I would be happy to do it if you agree.

Cannot find color scheme 'OceanicNext'

Not sure if this is because I'm on an older revision of nvim but I get the following error after following the installation instructions:

Error detected while processing /home/gaurav/.nvimrc:
line  106:
E185: Cannot find color scheme 'OceanicNext'
Press ENTER or type command to continue

A workaround is setting colorscheme oceanicnext in ~/.nvimrc and changing let g:colors_name = "OceanicNext" to let g:colors_name = "oceanicnext" in ~/.nvim/bundle/oceanic-next/colors/oceanicnext.vim

Will update the issue as soon as I update neovim

Current nvim version info:

NVIM 0.0.0-alpha+201507262350 (compiled Jul 28 2015 21:07:35)
Commit: ccebc1f8d3b30536bbaab532cc5acc7ba7ec3d4b

Test

This is jsut a test issue

UI breaking on Cursor line

Problems summary

In the recent updates when i enabled the cursor line I'm getting a white line under the highlighted line & the side number bar's colors are mixed up with the main vim panel.

Expected

This is what i was expecting:
screen shot 2017-07-29 at 6 53 24 pm
& after let g:oceanic_next_highlight_current_line = 1
I though it'll make my line number as white & aligned as defined in this issue, #55

but rather I got this:
screen shot 2017-07-29 at 6 47 49 pm
Notice:

  1. Underline under the cursor line
  2. side bar bg color is mixed up with the main vim editing panel.

Note: The first screenshot is a checkout of this commit from oceanic next: 914f1a3

Environment Information

  • terminal: iterm 3.1
  • vim/nvim version: 8.0.6

Minimal VIMRC

call plug#begin('~/.vim/plugged')

Plug 'mhartington/oceanic-next'
call plug#end()

set number
set relativenumber
set cursorline
set background=dark
set termguicolors
colorscheme OceanicNext

Thank you

I use this theme everyday in my workflow & this is some really awesome work you've done by making it available for everyone.
I understand that you can't make everyone happy but let me know if this new UI is how you intended or an issue worth fixing.

I'll create a fork if it's the former. ๐Ÿ˜„

Colors are not displayed properly

Similar to other issues in this repository, I cannot display this theme correctly.

I am running Neovim version 0.1.1, and iTerm 2 (Build 2.9.20160112-nightly) with the following minimal .vimrc:

set runtimepath+=~/.env/.vim
execute pathogen#infect()
call pathogen#helptags()
syntax enable
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
colorscheme OceanicNext
set background=dark

Please, note that I am using pathogen, and the repository is added as a submodule in ~/.env/.vim/bundle.

The test.js file is displayed as such:
screen shot 2016-01-13 at 19 02 30

Any help would be useful!

Oceanic Next on Neovim Incorrect Color

screen shot 2016-01-08 at 1 03 54 am

Configuration straight from the manual:

 syntax enable
 let $NVIM_TUI_ENABLE_TRUE_COLOR=1
 colorscheme OceanicNext
 set background=dark

I have used/ set all the Options in my nvimrc, and I am using iTerm 2 Nightly Build too.
What might be some of the reason for this to happen? I am fairly new to Vim/Neovim in general.

the "none" of color settings raise error on Vim

Problems summary

I meet a problem after oceanic-next updated the commit a1b5774.

Expected

  • An error raised if the function of 'oceanic_next_highlight_current_line' works, which set CursorLine as none.

Environment Information

  • terminal: VimR, iTerms 2
  • vim/nvim version:
    • vim: 8.0 (2016 Sep 12, compiled Jul 25 2017 12:36:48)

Provide a minimal vim rc with less than 50 lines (Required!)

My minimal vim

" set Vim-specific sequences for RGB colors
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"

" set runtimepath+=~/.vim/bundle/oceanic-next
set runtimepath+=~/.local/share/nvim/plugged/oceanic-next
" " For Neovim 0.1.3 and 0.1.4
" let $NVIM_TUI_ENABLE_TRUE_COLOR=1
" Or if you have Neovim >= 0.1.5
if (has("termguicolors"))
 set termguicolors
endif
" Theme
syntax enable
colorscheme OceanicNext
let g:airline_theme='oceanicnext'

Full config can be found here

Screen shot

Vim error when set color as none

image

Reference

The issue rakr/vim-one#34 may be the same problem. But I don't find out the way to fix it.

Note for later

Until nvim's terminal emulate supports true colors, the terminal color definitions need to stay how they are.

When neovim does add truecolor support it's terminal mode, colors will move to this.

let g:terminal_color_0= s:gui00
let g:terminal_color_1= s:gui08
let g:terminal_color_2= s:gui0B
let g:terminal_color_3= s:gui0A
let g:terminal_color_4= s:gui0D
let g:terminal_color_5= s:gui0E
let g:terminal_color_6= s:gui0C
let g:terminal_color_7=s:gui05
let g:terminal_color_8=s:gui03
let g:terminal_color_9= s:gui09
let g:terminal_color_10=s:gui01
let g:terminal_color_11=s:gui02
let g:terminal_color_12=s:gui04
let g:terminal_color_13=s:gui06
let g:terminal_color_14= s:gui0F
let g:terminal_color_15=s:guiWhite
let g:terminal_color_background= s:gui00
let g:terminal_color_foreground=s:gui05

Color column is overriding the search highlight

Problems summary

Color column is overriding the search highlight

Expected

The search highlight to override the color column

Environment Information

  • terminal: iterm2 (Build 3.0.15)
  • vim/nvim version:
$ nvim --version
NVIM v0.2.0-1148-gddfa0359
Build type: RelWithDebInfo
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_MSGPACK_HAS_FLOAT32 -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20170402-6837-1f53nel/build/config -I/tmp/neovim-20170402-6837-1f53nel/src -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20170402-6837-1f53nel/build/src/nvim/auto -I/tmp/neovim-20170402-6837-1f53nel/build/include
Compiled by kborges@13592-storage

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/HEAD-ddfa035/share/nvim"

Provide a minimal vim rc with less than 50 lines (Required!)

set runtimepath-=~/.config/nvim
set runtimepath+=~/.config/nvim/_packs/oceanic-next
set colorcolumn=3
colorscheme OceanicNext

The reproduce ways from neovim starting

  1. With colorcolumn and highlightsearch enabled;
  2. When searching a term that is in the colorcolumn position
  3. The colorcolumn is overriding the highlight search color.

Screen shot (if possible)

On this example I searched for end (with the set colorcolumn=3):
nvim

Really weird colors

Hi! I'm trying to reproduce my Oceanic Next Sublime colorscheme in vim but I have really weird colors.
screen shot 2015-09-19 at 21 09 42

Any clues?

Italics/Bold Status

Hey man was wondering if there has been any progress regarding the ability to have italics for the comments.

I've seen a couple themes do it correctly for example:

https://github.com/crusoexia/vim-monokai

Maybe it helps as inspiration. I'll try to look more into it and see if I can help.

But in the meantime I feel leaving the issue open helps keep track of the situation

Airline theme issue

Since the last update (today) I'm getting the following message:
Could not resolve airline theme "oceanicnext". Themes have been migrated to github.com/vim-airline/vim-airline-theme

It is set in .vimrc (let g:airline_theme="oceanicnext), but if i load it manually it works.

Need help with the highlighting function

" Highlighting function {{{
fun <sid>hi(group, guifg, guibg, ctermfg, ctermbg, attr)
  if a:guifg != ""
    exec "hi " . a:group . " guifg=#" . s:gui(a:guifg)
  endif
  if a:guibg != ""
    exec "hi " . a:group . " guibg=#" . s:gui(a:guibg)
  endif
  if a:ctermfg != ""
    exec "hi " . a:group . " ctermfg=" . s:cterm(a:ctermfg)
  endif
  if a:ctermbg != ""
    exec "hi " . a:group . " ctermbg=" . s:cterm(a:ctermbg)
  endif
  if a:attr != ""
    exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
  endif
endfun" }}}

I want to contribute but I don't know where group argument comes from.

Wrong syntax highlight of keyword const and function

Problems summary

Syntax highlight showing a big red box around words like const and function when setting a constant with arrow function outside the main function of the file.

Expected

To render the keywords normally

Environment Information

http://pastebin.com/K8VFktA7

  • terminal: iTerm 2
  • vim/nvim version: vim 8.0.459

Provide a minimal vim rc with less than 50 lines (Required!)

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if (&t_Co > 2 || has("gui_running")) && !exists("syntax_on")
  syntax on
endif

  " Set syntax highlighting for specific file types
  autocmd BufRead,BufNewFile Appraisals set filetype=ruby
  autocmd BufRead,BufNewFile *.md set filetype=markdown
  autocmd BufRead,BufNewFile .{jscs,jshint,eslint}rc set filetype=json


  " Enable spellchecking for Markdown
  autocmd FileType markdown setlocal spell

  " Automatically wrap at 80 characters for Markdown
  autocmd BufRead,BufNewFile *.md setlocal textwidth=80

  " Automatically wrap at 72 characters and spell check git commit messages
  autocmd FileType gitcommit setlocal textwidth=72
  autocmd FileType gitcommit setlocal spell

  " Allow stylesheets to autocomplete hyphenated words
  autocmd FileType css,scss,sass setlocal iskeyword+=-

if (has("termguicolors"))
 set termguicolors
endif
colorscheme OceanicNext
let g:airline_theme='oceanicnext'
" JSX lint
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_javascript_checkers = ['standard']

" JSX syntax
let g:jsx_ext_required = 0

Screen shot (if possible)

Screenshot

JSX & XML

I'm getting inconsistent tags in JSX and XML. the vim-jsx plugin people suggest it's an issue with the way tags are handled in the syntax highlighting, any ideas on how to fix this?

screenshot 2016-09-21 03 04 46

screenshot 2016-09-21 03 04 25

JSX Angle brackets are colorless

JSX closing angle brackets are colored as white which mixes up with the text & it's hard to detect where a tag ends.
image

That green color for angle brackets would really be helpful.

I'm using:
VIM 7.4.52
iTerm2

Q: It is possible to change the background color?

Warning: I will close the issue without the minimal vimrc and the reproduce ways.

Problems summary

No problems, just want to change the background color.

Expected

Background color changed with my own custom value

Environment Information

  • terminal: st
  • vim/nvim version: nvim 0.2.0

Provide a minimal vim rc with less than 50 lines (Required!)

" Your minimal init.vim
" Theme
syntax enable

if (has("termguicolors"))
set termguicolors
endif

colorscheme OceanicNext

The reproduce ways from neovim starting

  1. Open nvim

Screen shot (if possible)

Left, desired color.
Right, the color i'm getting
color

Backticks and asterisks in markdown

Warning: I will close the issue without the minimal vimrc and the reproduce ways.

Problems summary

When entering backtick ` in markdown file, it will create an asterisk * before it, and as you type more backticks, it will behave very weirdly.
I disabled this plugin, and the problem is fixed. Thus I assume this plugin caused the bug.

Expected

Enter backtick, get backtick.

Environment Information

  • terminal: iTerm2
  • vim/nvim version: 0.2.0

Provide a minimal vim rc with less than 50 lines (Required!)

" General {{{

" Set to auto read when a file is changed from the outside
set autoread

" Use par for prettier line formatting
set formatprg=par
let $PARINIT = 'rTbgqR B=.,?_A_a Q=_s>|'

" }}}

" vim-plug {{{

if has('nvim')
  call plug#begin('~/.config/nvim/bundle')
else
  call plug#begin('~/.vim/bundle')
endif

" Support bundles
Plug 'ervandew/supertab'
Plug 'nathanaelkane/vim-indent-guides'

" Colorscheme
Plug 'mhartington/oceanic-next'

call plug#end()

" }}}

" User Interface {{{

" Height of the command bar
set cmdheight=1
set listchars=tab:>-,trail:ยท

" Configure backspace so it acts as it should act
set backspace=eol,start,indent
set whichwrap+=<,>,h,l

" Colors and Fonts {{{

if (has("nvim"))
  set termguicolors
endif

" Syntax highlighting
syntax enable

" Tell Vim what the background color looks like
set background=dark

" try setting the scheme
colorscheme OceanicNext

" set the encoding if it's not neovim
if !has('nvim')
  set encoding=utf8
endif

" }}}

The reproduce ways from neovim starting

  1. open any markdown file
  2. try entering backticks
  3. get weird things

Screen shot (if possible)

image

OceanNext in Neovim showing wrong colours

Hi

I have just installed Neovim and watched your https://www.youtube.com/watch?v=xZTkrB_tEoY video and am trying to get your oceanic next to work. I have set up a minimum init.vim as per another user who was struggling but it still does not work.

This is the colour scheme that it produces:
screen shot 2016-01-12 at 14 22 16

The only plugin loaded is the oceanic-next one and it still does not work. I am using iTerm Build 2.9.20160112-nightly on Mac os x 10.11.2. I have selected 14pt Inconoloata for Powerline as the text in iTerm2.

Any help appreciated.

Colors not loading correctly

I tried using oceanic-next with the public release of neovim, however I'm getting some quite undesirable results. My .nvimrc looks like this (should have all the lines related to oceanic-next):
image
And javascript files look like this (stole parts of your example image so it's easier to compare):
image

I'm using iTerm2 3.0 beta (I've tried all the terminal types), your iterm color profile, and neovim. Any idea what might be causing the issue?

Background color is wrong

screenshot 2016-03-07 13 07 17

Thanks for this. Everything seems fine except for the background. I assume this is because of my terminal's color scheme (iTerm2)? If so, which iTerm2 color scheme works best with oceanic-next?

background unsettable

The background color makes everything unreadable. I tried both true-color and 256 as per the image below.
image

colors difference when matching with Atom

Hey, huge thanks for this plugin, it is stunning.
I have the same or a similar issue to mentioned in #5.

The problem I am having is in macvim/terminal/iTerm.

Here's how it looks on macvim:
image

Which is a bit different to how it's displayed in the README.md
image

I have the recommended plugins installed and I am using macvim/vim 8. Am I missing something?

Thanks!

Markdown Links don't show

I just recently found out that on a .md file the links will be rendered with an underline (which is fine) but also the insides of the parens get the same color as the background

captura de pantalla 2016-12-13 a la s 21 07 03

If i delete the parens the text appears again so i think its a really minor thing going on here.

captura de pantalla 2016-12-13 a la s 21 11 35

Thanks for all the hard work into this awesome color scheme! ๐Ÿ˜„

Function already exists error when reload vimrc

Problems summary

The error E122: Function <SNR>9_hi already exists, add ! to replace it raises when vim config file sourced such as using :source ~/.vimrc.

Expected

Environment Information

  • terminal: iTerms 2, VimR, etc.
  • vim/nvim version: vim 8.0, nvim v0.2.1-dev

Provide a minimal vim rc with less than 50 lines (Required!)

" My vim rc
" Vim-airline
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
let g:airline#extensions#tabline#enabled = 1
set laststatus=2
let g:airline_theme='oceanicnext'
let g:airline_powerline_fonts=1
if !exists('g:airline_symbols')
    let g:airline_symbols = {}
endif

" set Vim-specific sequences for RGB colors
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"

Plug 'mhartington/oceanic-next'
set runtimepath+=~/.local/share/nvim/plugged/oceanic-next
if (has("termguicolors"))
 set termguicolors
endif

syntax enable
colorscheme OceanicNext
let g:airline_theme='oceanicnext'

You can alse find my dotfile from here.

The reproduce ways from neovim starting

Screen shot (if possible)

screen shot 2017-07-25 at 10 57 41

By the way

It is a great theme! ๐Ÿป

Incorrect background color in neovim in tmux

Problems summary

When using neovim in tmux the background color renders in an incorrect brown/gray shade. The color scheme works as expected in neovim outside of tmux.

Environment Information

  • terminal: iTerm2 3.1
  • nvim version: 0.1.7
  • tmux version: 2.3

I am using the recommended iterm2 terminal color scheme which has been added in the iTerm preferences. I am not sure if this is a result of the theme or tmux. However, I have previously used solarized which has worked fine under the current configurations. I am also using zsh and oh-my-zsh if that matters at all.

Minimal conf files

.vimrc:

call plug#begin('$HOME/.config/nvim/plugged')
...
Plug 'mhartington/oceanic-next'
...
call plug#end()

" For Neovim 0.1.3 and 0.1.4
let $NVIM_TUI_ENABLE_TRUE_COLOR=1

" Or if you have Neovim >= 0.1.5
if (has("termguicolors"))
 set termguicolors
endif

syntax enable
colorscheme OceanicNext

.tmux.conf:

...
set -g default-terminal "screen-256color"

To reproduce

Open nvim in tmux.

Screenshots

Outside of tmux:
screen shot 2017-04-17 at 11 39 40

Inside tmux:
screen shot 2017-04-17 at 11 39 56

Background color different when in tmux

I just recently updated oceanic-next and setup truecolor support in tmux. For some reason, the background in Vim is slightly different when I open vim inside a local tmux session.

Vim launched from inside tmux session:

screenshot 2016-12-13 18 20 35

Vim launched directly from iTerm2:

screenshot 2016-12-13 18 22 58

~$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Oct 11 2016 14:44:53)
MacOS X (unix) version
Included patches: 1-27
Compiled by Homebrew
...
~$ tmux -V
tmux 2.3

iTerm2 3.0.12. I also made sure I had the most recent version of oceanic next iTerm colors.

I have this in my ~/.tmux.conf:

# enable truecolor support
set -g default-terminal "xterm-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"

Bad contrast on matching brackets

When the cursor is placed on a bracket, it is very confusing since one cannot distinguish between the actual position of the cursor and the highlighted matched bracket.

Cursorline not work after updated

Problems summary

I meet a problem after oceanic-next updated the commit a1b5774.

Expected

  • The highlight of current line number not work when vim load at first time. But it works after reload vim config files by :source ~/.vimrc, which highlight the line number but disable the highlight of background in current line.

Environment Information

  • terminal: VimR, iTerms 2
  • vim/nvim version:
    • nvim: v0.2.1-dev

Provide a minimal vim rc with less than 50 lines (Required!)

My minimal vim

" set Vim-specific sequences for RGB colors
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"

" set runtimepath+=~/.vim/bundle/oceanic-next
set runtimepath+=~/.local/share/nvim/plugged/oceanic-next
" " For Neovim 0.1.3 and 0.1.4
" let $NVIM_TUI_ENABLE_TRUE_COLOR=1
" Or if you have Neovim >= 0.1.5
if (has("termguicolors"))
 set termguicolors
endif
" Theme
syntax enable
colorscheme OceanicNext
let g:airline_theme='oceanicnext'

Full config can be found here

Screen shot

NeoVim display when load first time

screen shot 2017-07-28 at 16 03 40

Neovim cursorline highlight not work

screen shot 2017-07-28 at 16 09 31

By the way

The plugin is awesome. Sorry for not finding out the solution of the bug.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.