This setting set termguicolorsĬauses Neovim to render 24-bit colors, using the GUI color scheme settings. However, even when running in such a terminal, Neovim normally uses the terminal colors scheme and the 256-color rendering methods. Nowadays, many modern terminals support 24-bit colors as well. GUIs commonly support 24-bit colors, so Vim (and Neovim) provide separate highlighting settings for color scheme authors. Traditionally, terminals supported at most 256 colors, and they mostly use a palette of 16 colors. Let g:ctrlp_custom_ignore = '\v(node_modules|target|dist)|(\.(swp|tox|ico|git|hg|svn))$'Įvery color scheme defines terminal colors separately from GUI colors. Let g:syntastic_always_populate_loc_list = 1 " close vim if the only window left open is a NERDTreeĪutocmd bufenter * if (winnr("$") = 1 & exists("b:NERDTree") & b:NERDTree.isTabTree()) | q | endif " keep focus on NERDTree when opening a directory " open NERDTree automatically when vim starts up on opening a directoryĪutocmd VimEnter * if argc() = 1 & isdirectory(argv()) & !exists("s:std_in") | exe 'NERDTree' argv() | wincmd p | ene | endif Set termguicolors " unfortunately doesn't work in terminal.app - needs true color support, like iterm2 but it lags and diff in visuals is not that much so sticking to terminal.app for now Plug 'tyrannicaltoucan/vim-quantum' " let g:quantum_black = 1 I've used google foo but without success, surely there is a way to get colors right. This is how solarized theme looks in iterm2 + neovim I'm using terminal.app on osx, and thought it was 256 color cap problem, so I moved to iterm2 which has true color support - while it improved some things, color schemes are nowhere near to screenshots I see! python-version.I've been fiddling with neovim color schemes for a while now, and cannot make them look same as on previews.
0 Comments
Leave a Reply. |