Update telescope
This commit is contained in:
parent
757ad38b85
commit
360fda5bba
7
init.vim
7
init.vim
@ -89,7 +89,7 @@
|
||||
|
||||
" Language server
|
||||
Plug 'neovim/nvim-lspconfig'
|
||||
Plug 'mrcjkb/rustaceanvim', { 'tag': '3.*' }
|
||||
Plug 'mrcjkb/rustaceanvim', { 'tag': '5.*' }
|
||||
Plug 'lvimuser/lsp-inlayhints.nvim' " TODO: Inlay hints. Will be native to nvim in v0.10, so delete after that
|
||||
|
||||
" Support for DAP (Debug Adapter Protocol)
|
||||
@ -104,7 +104,7 @@
|
||||
|
||||
" vim-telescope, dependencies, and related plugins
|
||||
Plug 'nvim-lua/plenary.nvim'
|
||||
Plug 'nvim-telescope/telescope.nvim', { 'branch': '0.1.x' }
|
||||
Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.*' }
|
||||
Plug 'nvim-telescope/telescope-ui-select.nvim'
|
||||
Plug 'stevearc/dressing.nvim'
|
||||
|
||||
@ -502,8 +502,7 @@ if !(has('win32') || has('win64'))
|
||||
function! FuzzyFileFinder()
|
||||
let l:IsInGitRepo = system('git rev-parse --is-inside-work-tree')
|
||||
if l:IsInGitRepo =~ 'true'
|
||||
let l:GitRepoDir = system('git rev-parse --show-toplevel')
|
||||
execute 'Telescope find_files cwd=' . l:GitRepoDir->fnameescape()
|
||||
execute 'Telescope git_files show_untracked=true'
|
||||
else
|
||||
execute 'Telescope find_files cwd=' . glob('~/')->fnameescape()
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user