mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 17:40:06 +08:00
Compare commits
3 Commits
3ed7c00d06
...
f725666783
Author | SHA1 | Date | |
---|---|---|---|
|
f725666783 | ||
|
6497931a27 | ||
|
333cb1b714 |
@ -134,6 +134,51 @@ main () {
|
||||
rm -rf detach/$1
|
||||
exit 0
|
||||
;;
|
||||
cpicker.nvim)
|
||||
git clone https://github.com/wsdjeg/cpicker.nvim.git detach/$1
|
||||
cd detach/$1
|
||||
_checkdir syntax
|
||||
_detact_bundle cpicker.nvim syntax/spacevim_cpicker.vim
|
||||
_detact_bundle cpicker.nvim syntax/spacevim_cpicker_mix.vim
|
||||
_detact_bundle cpicker.nvim README.md
|
||||
_checkdir plugin
|
||||
_detact_bundle cpicker.nvim plugin/cpicker.lua
|
||||
_checkdir lua/cpicker/formats
|
||||
_detact_bundle cpicker.nvim lua/cpicker.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/util.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/mix.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/formats/cmyk.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/formats/hsl.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/formats/hsv.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/formats/hwb.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/formats/lab.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/formats/linear.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/formats/rgb.lua
|
||||
_detact_bundle cpicker.nvim lua/cpicker/formats/xyz.lua
|
||||
_checkdir lua/spacevim/api
|
||||
_detact lua/spacevim/api/color.lua
|
||||
_detact lua/spacevim/api/notify.lua
|
||||
_detact lua/spacevim/api/password.lua
|
||||
_checkdir autoload/SpaceVim/api/vim
|
||||
_checkdir autoload/SpaceVim/api/data
|
||||
_detact autoload/SpaceVim/api/notify.vim
|
||||
_detact autoload/SpaceVim/api/data/string.vim
|
||||
_detact autoload/SpaceVim/api/data/number.vim
|
||||
_detact autoload/SpaceVim/api/vim/buffer.vim
|
||||
_detact autoload/SpaceVim/api/vim/floatting.vim
|
||||
_checkdir autoload/SpaceVim/api/neovim
|
||||
_detact autoload/SpaceVim/api/neovim/floatting.vim
|
||||
_detact LICENSE
|
||||
git add .
|
||||
git config user.email "eric@wsdjeg.net"
|
||||
git config user.name "Eric Wong"
|
||||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}"
|
||||
git remote add wsdjeg_cpicker https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/cpicker.nvim.git
|
||||
git push wsdjeg_cpicker master
|
||||
cd -
|
||||
rm -rf detach/$1
|
||||
exit 0
|
||||
;;
|
||||
iedit)
|
||||
git clone https://github.com/wsdjeg/iedit.vim.git detach/$1
|
||||
cd detach/$1
|
||||
|
2
.github/workflows/async.yml
vendored
2
.github/workflows/async.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
detachPlugin: ["flygrep", "dein-ui", "vim-todo", "iedit", "scrollbar.vim", "vim-chat", "vim-cheat", "xmake.vim", "github.vim", "JavaUnit.vim", "git.vim"]
|
||||
detachPlugin: ["flygrep", "dein-ui", "vim-todo", "iedit", "scrollbar.vim", "vim-chat", "vim-cheat", "xmake.vim", "github.vim", "JavaUnit.vim", "git.vim", "cpicker.nvim"]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
@ -336,8 +336,6 @@ endfunction
|
||||
function! s:self.add_highlight(bufnr, hl, line, col, long) abort
|
||||
if exists('*nvim_buf_add_highlight')
|
||||
call nvim_buf_add_highlight(a:bufnr, 0, a:hl, a:line, a:col, a:col + a:long)
|
||||
else
|
||||
call SpaceVim#logger#warn('vim#buffer.add_highlight api only support neovim')
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
36
bundle/cpicker.nvim/README.md
Normal file
36
bundle/cpicker.nvim/README.md
Normal file
@ -0,0 +1,36 @@
|
||||
# cpicker.nvim
|
||||
> A color picker for Neovim
|
||||
|
||||
![cpicker](./img/cpicker.png)
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
Plug 'wsdjeg/cpicker.nvim'
|
||||
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
:Cpicker rgb hsl
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -141,6 +141,12 @@ M.picker = function(formats)
|
||||
vim.api.nvim_set_option_value('bufhidden', 'wipe', {
|
||||
buf = bufnr,
|
||||
})
|
||||
vim.api.nvim_set_option_value('wrap', false, {
|
||||
buf = bufnr,
|
||||
})
|
||||
vim.api.nvim_set_option_value('number', false, {
|
||||
buf = bufnr,
|
||||
})
|
||||
vim.api.nvim_buf_set_keymap(bufnr, 'n', 'l', '', {
|
||||
callback = increase,
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user