Why I can't apply colorscheme to GUi vim?
hungpham3112 opened this issue · 3 comments
hungpham3112 commented
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled May 2 2021 18:02:30)
MS-Windows 32-bit console version
Included patches: 1-2824
Compiled by mool@tororo
Huge version without GUI. Features included (+) or not (-):
+acl +ex_extra +multi_lang -tcl
+arabic +extra_search -mzscheme +termguicolors
+autocmd -farsi -netbeans_intg +terminal
+autochdir +file_in_path +num64 -termresponse
+autoservername +find_in_path +packages +textobjects
-balloon_eval +float +path_extra +textprop
+balloon_eval_term +folding -perl -tgetent
-browse -footer +persistent_undo +timers
++builtin_terms +gettext/dyn +popupwin +title
+byte_offset -hangul_input -postscript -toolbar
+channel +iconv/dyn +printer +user_commands
+cindent +insert_expand +profile +vartabs
+clientserver +ipv6 -python +vertsplit
+clipboard +job -python3 +virtualedit
+cmdline_compl +jumplist +quickfix +visual
+cmdline_hist +keymap +reltime +visualextra
+cmdline_info +lambda +rightleft +viminfo
+comments +langmap -ruby +vreplace
+conceal +libcall +scrollbind +vtp
+cryptv +linebreak +signs +wildignore
+cscope +lispindent +smartindent +wildmenu
+cursorbind +listcmds +sound +windows
+cursorshape +localmap +spell +writebackup
+dialog_con -lua +startuptime -xfontset
+diff +menu +statusline -xim
+digraphs +mksession -sun_workshop -xpm_w32
-dnd +modify_fname +syntax -xterm_save
-ebcdic +mouse +tag_binary
+emacs_tags -mouseshape -tag_old_static
+eval +multi_byte_ime/dyn -tag_any_white
system vimrc file: "$VIM\vimrc"
user vimrc file: "$HOME\_vimrc"
2nd user vimrc file: "$HOME\vimfiles\vimrc"
3rd user vimrc file: "$VIM\_vimrc"
user exrc file: "$HOME\_exrc"
2nd user exrc file: "$VIM\_exrc"
defaults file: "$VIMRUNTIME\defaults.vim"
Compilation: cl -c /W3 /GF /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /source-charset:utf-8 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG /arch:IA32 /Zl /MT /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_HUGE /Fd.\ObjCi386/ /Zi
Linking: link /nologo /opt:ref /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:i386 libcmt.lib user32.lib winmm.lib WSock32.lib Ws2_32.lib /PDB:vim.pdb -debug
My vimrc:
call plug#begin('~/vimfiles/plugged')
Plug 'https://github.com/morhetz/gruvbox.git', {'as':'gruvbox'}
Plug 'https://github.com/sainnhe/edge.git', {'as': 'edge'}
call plug#end()
if !has('gui_running') && has('termguicolors')
set termguicolors
colorscheme gruvbox
else
colorscheme edge
endif
k-takata commented
It is better to ask user questions on the vim_use mailinglist or use vi.stackexchange.com rather than here.
If you want to solve the issue, you should create a minimal vimrc to make the issue simpler. Your vimrc is too long.
hungpham3112 commented
Sorry about that, I updated minimal vimrc. Please check it. Thanks
chrisbra commented
It's not clear what problem you are facing. So please ask user configuration questions in the proper channels. We cannot provide individual support here.