1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 20:30:05 +08:00
SpaceVim/docs/development.md

31 lines
790 B
Markdown
Raw Normal View History

2017-02-10 00:52:19 +08:00
# Support SpaceVim
2017-02-07 01:51:23 +08:00
2017-02-10 00:52:19 +08:00
## Development happens in the GitHub repository.
2017-02-07 01:51:23 +08:00
[![Throughput Graph](https://graphs.waffle.io/SpaceVim/SpaceVim/throughput.svg)](https://github.com/SpaceVim/SpaceVim)
2017-02-10 00:52:19 +08:00
## Report bugs
2017-02-07 01:51:23 +08:00
If you get any issues, please open an issue with the ISSUE_TEMPLATE. It is useful for me to debug for this issue.
2017-02-10 00:52:19 +08:00
## Contribute Layers
2017-02-10 22:05:19 +08:00
1. fork SpaceVim repo
2. add a layer file `autoload/SpaceVim/layers/foo.vim` for `foo` layer.
3. edit layer file, check out the example below:
```vim
function! SpaceVim#layers#foo#plugins() abort
let plugins = []
call add(plugins, ['Shougo/foo.vim', {'option' : 'value'}])
return plugins
endfunction
function! SpaceVim#layers#foo#config() abort
" here you can set some value or mappings
endfunction
```
4. send PR to SpaceVim.