Merge branch 'main' of https://github.com/Donaldttt/dotfiles into main
This commit is contained in:
@@ -65,9 +65,13 @@
|
|||||||
Plug 'NLKNguyen/papercolor-theme'
|
Plug 'NLKNguyen/papercolor-theme'
|
||||||
" }
|
" }
|
||||||
|
|
||||||
|
" only work with nvim > 0.5
|
||||||
|
" For other versions, just loading the plugin may
|
||||||
|
" cause error
|
||||||
if g:vim_type == 'nvim' && g:vim_version > 0.5
|
if g:vim_type == 'nvim' && g:vim_version > 0.5
|
||||||
Plug 'xiyaowong/nvim-transparent'
|
Plug 'xiyaowong/nvim-transparent'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
Plug 'EdenEast/nightfox.nvim'
|
Plug 'EdenEast/nightfox.nvim'
|
||||||
Plug 'catppuccin/vim', { 'as': 'catppuccin' }
|
Plug 'catppuccin/vim', { 'as': 'catppuccin' }
|
||||||
|
|
||||||
@@ -283,6 +287,7 @@
|
|||||||
" {
|
" {
|
||||||
" vim theme
|
" vim theme
|
||||||
elseif isdirectory(expand(plugin_dir . "/papercolor-theme"))
|
elseif isdirectory(expand(plugin_dir . "/papercolor-theme"))
|
||||||
|
" improve coc color in this theme
|
||||||
let g:light_theme = 'PaperColor'
|
let g:light_theme = 'PaperColor'
|
||||||
let g:dark_theme = 'PaperColor'
|
let g:dark_theme = 'PaperColor'
|
||||||
endif
|
endif
|
||||||
|
|||||||
+1
-1
@@ -18,7 +18,7 @@ success() {
|
|||||||
msg "\33[32m[✔]\33[0m ${1}${2}"
|
msg "\33[32m[✔]\33[0m ${1}${2}"
|
||||||
}
|
}
|
||||||
|
|
||||||
function fatal_error() {
|
fatal_error() {
|
||||||
msg "\33[31m[✘]\33[0m ${1}${2}"
|
msg "\33[31m[✘]\33[0m ${1}${2}"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user