qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.63k stars 218 forks source link

latest release breaks syntax colours #604

Open kcmannem opened 6 years ago

kcmannem commented 6 years ago

I downgraded back to Version 0.20.3 (255)

here's my init.vim, this was not changed between upgrades.

"dein Scripts-----------------------------
if &compatible
  set nocompatible               " Be iMproved
endif

" Required:
set runtimepath+=/Users/krishna/.config/nvim/bundle/repos/github.com/Shougo/dein.vim

" Required:
if dein#load_state('/Users/krishna/.config/nvim/bundle/repos/')
  call dein#begin('/Users/krishna/.config/nvim/bundle/repos/')

  " Let dein manage dein
  " Required:
  call dein#add('/Users/krishna/.config/nvim/bundle/repos/github.com/Shougo/dein.vim')

  " Add or remove your plugins here:
  call dein#add('scrooloose/nerdtree', {'on_cmd': 'NERDTreeToggle'})
  call dein#add('scrooloose/nerdcommenter')
  call dein#add('majutsushi/tagbar', {'on_cmd': 'TagbarToggle'})
  call dein#add('ajh17/Spacegray.vim')
  call dein#add('jistr/vim-nerdtree-tabs', {'on_cmd': 'NERDTreeToggle'})
  call dein#add('airblade/vim-gitgutter')
  call dein#add('mhinz/vim-startify')
  call dein#add('vim-airline/vim-airline')
  call dein#add('/usr/local/opt/fzf')
  call dein#add('junegunn/fzf.vim')
  call dein#add('w0rp/ale')
  "call dein#add('Shougo/neosnippet.vim')
  "call dein#add('Shougo/neosnippet-snippets')

  " You can specify revision/branch/tag.
  "call dein#add('Shougo/vimshell', { 'rev': '3787e5' })

  " Required:
  call dein#end()
  call dein#save_state()
endif

" Required:
filetype plugin indent on
syntax enable

" If you want to install not installed plugins on startup.
if dein#check_install()
  call dein#install()
endif
"End dein Scripts-------------------------
syntax sync minlines=64
set number
colorscheme spacegray
let g:spacegray_underline_search = 1
let g:spacegray_italicize_comments = 1

"gitgutter start -------------------------
let g:gitgutter_sign_added = '·'
let g:gitgutter_sign_modified = '·'
let g:gitgutter_sign_removed = '·'
let g:gitgutter_sign_removed_first_line = '·'
let g:gitgutter_sign_modified_removed = '·'
"gitgutter end -------------------------

"nerdtree start--------------------------------
nmap <Leader>k :NERDTreeToggle<CR>
"nerdtree end--------------------------------

"tagbar start--------------------------------
nmap <Leader>t :TagbarToggle<CR>
"tagbar end--------------------------------

"fzf start--------------------------------
set rtp+=/usr/local/opt/fzfmap

nmap ; :Buffers<CR>
nmap <Leader>r :Files<CR>

" This is the default extra key bindings
let g:fzf_action = {
  \ 'ctrl-t': 'tab split',
  \ 'ctrl-x': 'split',
  \ 'ctrl-v': 'vsplit' }

" Customize fzf colors to match your color scheme

let g:fzf_colors =
\ { 'fg':      ['fg', 'Normal'],
  \ 'bg':      ['bg', 'Normal'],
  \ 'hl':      ['fg', 'Comment'],
  \ 'fg+':     ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
  \ 'bg+':     ['bg', 'CursorLine', 'CursorColumn'],
  \ 'hl+':     ['fg', 'Statement'],
  \ 'info':    ['fg', 'PreProc'],
  \ 'border':  ['fg', 'Ignore'],
  \ 'prompt':  ['fg', 'Conditional'],
  \ 'pointer': ['fg', 'Exception'],
  \ 'marker':  ['fg', 'Keyword'],
  \ 'spinner': ['fg', 'Label'],
  \ 'header':  ['fg', 'Comment'] }
"fzf end--------------------------------

" nerdcommenter start ------------------
" Add spaces after comment delimiters by default
let g:NERDSpaceDelims = 1
" Use compact syntax for prettified multi-line comments
let g:NERDCompactSexyComs = 1
" Allow commenting and inverting empty lines (useful when commenting a region)
let g:NERDCommentEmptyLines = 1
" Enable trimming of trailing whitespace when uncommenting
let g:NERDTrimTrailingWhitespace = 1
"
axot commented 6 years ago
screen shot 2018-03-12 at 12 26 13

colorscheme solarized seems not works in vimr, but it works in cli neovim.

smsegal commented 6 years ago

Having the same issue with solarized on High Sierra

haberdashPI commented 6 years ago

I had a similar issue with my color scheme (specifically for the airline theme) being messed up on the latest snapshot. However, it was fixed when I reloaded init.vim. Here's a before and after:

before_scheme after_scheme

andradei commented 5 years ago

:source ~/.config/nvim/init.vim did not work for me.

EDIT: I updated VimR and it is working now.

Sydney-o9 commented 5 years ago

Same issue here - any ideas?

p0deje commented 4 years ago

I fixed by adding set termguicolors.