1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-03-12 17:55:41 +08:00

Merge pull request #198 from SpaceVim/shell-layer

Shell layer
This commit is contained in:
Wang Shidong 2017-02-02 23:04:09 +08:00 committed by GitHub
commit b81d95ada3
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,15 @@
""
" @section shell, layer-shell
" @parentsection layers
" SpaceVim use deol.nvim for shell support in neovim, and use vimshell for
" vim. for info, read |deol| and |vimshell|.
function! SpaceVim#layers#shell#plugins() abort
let plugins = []
if has('nvim')
call add(plugins,['Shougo/deol.nvim'])
else
call add(plugins,['Shougo/vimshell.vim', { 'on_cmd':['VimShell']}])
endif
return plugins
endfunction

View File

@ -16,6 +16,7 @@ CONTENTS *SpaceVim-contents*
7. lang#python..............................|SpaceVim-layer-lang-python|
8. lang#rust..................................|SpaceVim-layer-lang-rust|
9. lang#xml....................................|SpaceVim-layer-lang-xml|
10. shell.........................................|SpaceVim-layer-shell|
5. FAQ........................................................|SpaceVim-faq|
==============================================================================
@ -542,6 +543,12 @@ when edite an xml file, the omni func is `xmlcomplete#CompleteTags`, you can
read the document in `autoload/xmlcomplete.vim` in vim or neovim runtime
directory.
==============================================================================
SHELL *SpaceVim-layer-shell*
SpaceVim use deol.nvim for shell support in neovim, and use vimshell for vim.
for info, read |deol| and |vimshell|.
==============================================================================
FAQ *SpaceVim-faq*