mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-12 17:55:41 +08:00
commit
b81d95ada3
15
autoload/SpaceVim/layers/shell.vim
Normal file
15
autoload/SpaceVim/layers/shell.vim
Normal 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
|
@ -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*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user