lunacookies/vim-colors-xcode

Cannot find color scheme on windows

Yuhanun opened this issue · 3 comments

Hello,

My config works completely fine on Linux, however, on windows, it can't seem to find the color scheme.

image

Any idea on how to resolve this?

Thank you, my config:

set nocompatible              " be iMproved, required
filetype off                  " required

" Syntax highlighting on
syntax on
set t_Co=256
" Cursor line on
set cursorline

set rtp+=C:/Users/Yuhanun\ Citgez/.vim/bundle/Vundle.vim

call vundle#begin()

" Package manager
Plugin 'VundleVim/Vundle.vim'

" Theme
Plugin 'sonph/onehalf', {'rtp': 'vim/'}

" Another theme
Plugin 'arzg/vim-colors-xcode'

" Directory tree
Plugin 'preservim/nerdtree'

" Real-time syntax analysis for C++
Plugin 'vim-syntastic/syntastic'

" Snippet engine.
Plugin 'SirVer/ultisnips'

" Vim snippets, they go with the engine above
Plugin 'honza/vim-snippets'

" Find text fuzzy
Plugin 'junegunn/fzf'

" Clang-format
Plugin 'rhysd/vim-clang-format'

" Rainbows for {}, () and [] etc
Plugin 'oblitum/rainbow'

" Taglist 
Plugin 'taglist.vim'

" Easy multiline commenter
Plugin 'preservim/nerdcommenter'

" Git
Plugin 'airblade/vim-gitgutter'

" Lightline, bottom bar
Plugin 'itchyny/lightline.vim'

" Auto-pairs, completes [] etc
Plugin 'jiangmiao/auto-pairs'

" Ack
Plugin 'mileszs/ack.vim'

" Protobuf support
Bundle 'uarun/vim-protobuf'

call vundle#end()            " required

" Color theme
" colorscheme onehalfdark
" colorscheme xcodedark
colorscheme xcodedarkhc
let g:airline_theme='onehalfdark'

" Nerdtree
let g:NERDTreeWinPos='left'
nmap <T> :NERDTreeToggle<CR>

" Tag List
let g:Tlist_Inc_Winwidth=0
nmap <L> :TlistToggle<CR>

" Syntastic stuff
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

let g:syntastic_always_populate_loc_list=1
let g:syntastic_auto_loc_list=1
let g:syntastic_check_on_open=1
let g:syntastic_check_on_wq=0

" Snippets
let g:UltiSnipsExpandTrigger="<bar>"
let g:UltiSnipsJumpForwardTrigger="<bar>"
let g:UltiSnipsJumpBackwardTrigger="<CR+bar>"
let g:UltiSnipsEditSplit="vertical"

" map <I> = clang-format
nmap <I> :ClangFormat<CR>

" Rainbow brackets
let g:rainbow_active=1

" Multiline commenter
let g:NERDSpaceelims=1
let g:NERDCompactSexyComs=1
let g:NERDDefaultAlign='left'
let g:NERDTrimTrailingWhitespace=1

" Lightline
set laststatus=2

" Compiling, some custom CMake stuff :)
command CompileCmake :!_compile_current_dir
nmap <C> :CompileCmake 

filetype plugin indent on    " required

Did you experience this issue with other colour schemes, or just vim-colors-xcode?

Oh turns out it's all colour schemes.

However, do you have any idea on how to resolve this?

I’ve never used Vundle, so I can’t really give you any advice on that front. However, I can recommend you use Vim’s package feature or vim-plug if you want something easy to set up.

Here is what your current vimrc would look like with vim-plug:

" Cursor line on
set cursorline

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

" Theme
Plug 'sonph/onehalf'

" Another theme
Plug 'arzg/vim-colors-xcode'

" Directory tree
Plug 'preservim/nerdtree'

" Real-time syntax analysis for C++
Plug 'vim-syntastic/syntastic'

" Snippet engine.
Plug 'SirVer/ultisnips'

" Vim snippets, they go with the engine above
Plug 'honza/vim-snippets'

" Find text fuzzy
Plug 'junegunn/fzf'

" Clang-format
Plug 'rhysd/vim-clang-format'

" Rainbows for {}, () and [] etc
Plug 'oblitum/rainbow'

" Taglist 
Plug 'vim-scripts/taglist.vim'

" Easy multiline commenter
Plug 'preservim/nerdcommenter'

" Git
Plug 'airblade/vim-gitgutter'

" Lightline, bottom bar
Plug 'itchyny/lightline.vim'

" Auto-pairs, completes [] etc
Plug 'jiangmiao/auto-pairs'

" Ack
Plug 'mileszs/ack.vim'

" Protobuf support
Plug 'uarun/vim-protobuf'

call plug#end()

" Color theme
" colorscheme onehalfdark
" colorscheme xcodedark
colorscheme xcodedarkhc

" not sure if you still need this, as you don’t have airline installed
let g:airline_theme='onehalfdark'

" Nerdtree
let g:NERDTreeWinPos='left'
nmap <T> :NERDTreeToggle<CR>

" Tag List
let g:Tlist_Inc_Winwidth=0
nmap <L> :TlistToggle<CR>

" Syntastic stuff
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*

let g:syntastic_always_populate_loc_list=1
let g:syntastic_auto_loc_list=1
let g:syntastic_check_on_open=1
let g:syntastic_check_on_wq=0

" Snippets
let g:UltiSnipsExpandTrigger="<bar>"
let g:UltiSnipsJumpForwardTrigger="<bar>"
let g:UltiSnipsJumpBackwardTrigger="<CR+bar>"
let g:UltiSnipsEditSplit="vertical"

" map <I> = clang-format
nmap <I> :ClangFormat<CR>

" Rainbow brackets
let g:rainbow_active=1

" Multiline commenter
let g:NERDSpaceelims=1
let g:NERDCompactSexyComs=1
let g:NERDDefaultAlign='left'
let g:NERDTrimTrailingWhitespace=1

" Lightline
set laststatus=2

" Compiling, some custom CMake stuff :)
command CompileCmake :!_compile_current_dir
nmap <C> :CompileCmake