1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Add doom-one colorscheme

This commit is contained in:
jdhao 2021-07-30 01:58:47 +08:00
parent e4cfefe76b
commit 116be0f851
2 changed files with 9 additions and 2 deletions

View File

@ -52,8 +52,15 @@ function! s:my_theme_dict.nord() dict abort
colorscheme nord
endfunction
function! s:my_theme_dict.doom_one() dict abort
let g:doom_one_terminal_color = v:true
let g:doom_one_italic_comments = v:true
let g:doom_one_cursor_coloring = v:true
colorscheme doom-one
endfunction
let s:candidate_theme = ['gruvbox8', 'deus', 'solarized8', 'onedark', 'neodark',
\ 'edge', 'sonokai', 'gruvbox_material', 'nord']
\ 'edge', 'sonokai', 'gruvbox_material', 'nord', 'doom_one']
let s:idx = utils#RandInt(0, len(s:candidate_theme)-1)
let s:theme = s:candidate_theme[s:idx]

View File

@ -95,7 +95,7 @@ require('packer').startup(
use 'sainnhe/sonokai'
use 'sainnhe/gruvbox-material'
use 'shaunsingh/nord.nvim'
use 'NTBBloodbath/doom-one.nvim'
-- colorful status line and theme
use 'vim-airline/vim-airline-themes'
use 'vim-airline/vim-airline'