mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 07:10:06 +08:00
docs(telescope): add telescope loadable function
This commit is contained in:
parent
3daea9e7ae
commit
311a1e5146
@ -6,6 +6,10 @@
|
||||
" License: GPLv3
|
||||
"=============================================================================
|
||||
|
||||
if exists('s:file')
|
||||
finish
|
||||
endif
|
||||
|
||||
""
|
||||
" @section telescope, layers-telescope
|
||||
" @parentsection layers
|
||||
@ -33,6 +37,12 @@
|
||||
" <Leader> f r Resumes Unite window
|
||||
" <
|
||||
|
||||
function! SpaceVim#layers#telescope#loadable() abort
|
||||
|
||||
return has('nvim-0.7.0')
|
||||
|
||||
endfunction
|
||||
|
||||
function! SpaceVim#layers#telescope#plugins() abort
|
||||
let plugins = []
|
||||
call add(plugins, [g:_spacevim_root_dir . 'bundle/telescope.nvim', {'merged' : 0, 'loadconf' : 1}])
|
||||
|
@ -8,6 +8,8 @@ description: "This layer provides a heavily customized telescope centric workflo
|
||||
## Description
|
||||
|
||||
This layer is a heavily customized wrapper for [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) and it's sources.
|
||||
The `telescope` layer is only for nvim 0.7 or above.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user