Add theme

This commit is contained in:
wangjue 2024-12-27 13:32:43 +08:00
parent 21673c6085
commit d8ee121df3
3 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
" ===main setting commands " ===main setting commands
let mapleader=" " let mapleader=" "
syntax on syntax on
colorscheme molokai colorscheme embark
set cursorline set cursorline
" set cursorcolumn " set cursorcolumn
set background=dark set background=dark
@ -68,6 +68,7 @@ Plug 'gcmt/wildfire.vim'
Plug 'tpope/vim-surround' Plug 'tpope/vim-surround'
Plug 'mg979/vim-visual-multi' Plug 'mg979/vim-visual-multi'
Plug 'Yggdroot/indentLine' Plug 'Yggdroot/indentLine'
Plug 'embark-theme/vim', {'as': 'embark', 'branch': 'main'}
call plug#end() call plug#end()

View File

@ -769,7 +769,7 @@ function! s:infer_properties(name, repo)
if repo !~ '/' if repo !~ '/'
throw printf('Invalid argument: %s (implicit `vim-scripts'' expansion is deprecated)', repo) throw printf('Invalid argument: %s (implicit `vim-scripts'' expansion is deprecated)', repo)
endif endif
let fmt = get(g:, 'plug_url_format', 'https://git::@github.com/%s.git') let fmt = get(g:, 'plug_url_format', 'https://git::@gh.monlor.com/github.com/%s.git')
let uri = printf(fmt, repo) let uri = printf(fmt, repo)
endif endif
return { 'dir': s:dirpath(g:plug_home.'/'.a:name), 'uri': uri } return { 'dir': s:dirpath(g:plug_home.'/'.a:name), 'uri': uri }
@ -1165,7 +1165,7 @@ function! s:update_impl(pull, force, args) abort
let $GIT_TERMINAL_PROMPT = 0 let $GIT_TERMINAL_PROMPT = 0
for plug in values(todo) for plug in values(todo)
let plug.uri = substitute(plug.uri, let plug.uri = substitute(plug.uri,
\ '^https://git::@hub.fastgit\.org', 'https://github.com', '') \ '^https://git::@hub.fastgit\.org', 'https://gh.monlor.com/github.com', '')
endfor endfor
endif endif

1
colors/embark.vim Symbolic link
View File

@ -0,0 +1 @@
../plugged/embark/colors/embark.vim