From d8ee121df373469d945ebd76c970669394cfa6b3 Mon Sep 17 00:00:00 2001 From: wangjue Date: Fri, 27 Dec 2024 13:32:43 +0800 Subject: [PATCH] Add theme --- .myvimrc | 3 ++- autoload/plug.vim | 4 ++-- colors/embark.vim | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) create mode 120000 colors/embark.vim diff --git a/.myvimrc b/.myvimrc index 01156d4..eb25976 100644 --- a/.myvimrc +++ b/.myvimrc @@ -1,7 +1,7 @@ " ===main setting commands let mapleader=" " syntax on -colorscheme molokai +colorscheme embark set cursorline " set cursorcolumn set background=dark @@ -68,6 +68,7 @@ Plug 'gcmt/wildfire.vim' Plug 'tpope/vim-surround' Plug 'mg979/vim-visual-multi' Plug 'Yggdroot/indentLine' +Plug 'embark-theme/vim', {'as': 'embark', 'branch': 'main'} call plug#end() diff --git a/autoload/plug.vim b/autoload/plug.vim index 0d686ce..5199cbf 100644 --- a/autoload/plug.vim +++ b/autoload/plug.vim @@ -769,7 +769,7 @@ function! s:infer_properties(name, repo) if repo !~ '/' throw printf('Invalid argument: %s (implicit `vim-scripts'' expansion is deprecated)', repo) 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) endif 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 for plug in values(todo) 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 endif diff --git a/colors/embark.vim b/colors/embark.vim new file mode 120000 index 0000000..97b7d94 --- /dev/null +++ b/colors/embark.vim @@ -0,0 +1 @@ +../plugged/embark/colors/embark.vim \ No newline at end of file