Skip to content

Commit 3333a52

Browse files
committed
docs(readme): simplify installation instructions
* drop legacy plugin managers (no longer very relevant for new installs) * pin to latest stable tag (so we don't have to keep updating these numbers) Follow-up: Switch to `vim.pack` when Nvim 0.12 is released.
1 parent bea6665 commit 3333a52

File tree

1 file changed

+10
-28
lines changed

1 file changed

+10
-28
lines changed

README.md

Lines changed: 10 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -72,37 +72,19 @@ wiki.
7272

7373
### Installation
7474

75-
It is suggested to either use the latest release
76-
[tag](https://github.com/nvim-telescope/telescope.nvim/tags).
77-
78-
Using [vim-plug](https://github.com/junegunn/vim-plug)
79-
80-
```vim
81-
Plug 'nvim-lua/plenary.nvim'
82-
Plug 'nvim-telescope/telescope.nvim', { 'tag': 'v0.2.0' }
83-
```
84-
85-
Using [dein](https://github.com/Shougo/dein.vim)
86-
87-
```vim
88-
call dein#add('nvim-lua/plenary.nvim')
89-
call dein#add('nvim-telescope/telescope.nvim', { 'rev': 'v0.2.0' })
90-
```
91-
92-
Using [lazy.nvim](https://github.com/folke/lazy.nvim)
75+
We recommend pinning to the latest release
76+
[tag](https://github.com/nvim-telescope/telescope.nvim/tags),
77+
e.g. using [lazy.nvim](https://github.com/folke/lazy.nvim)
9378

9479
```lua
95-
-- init.lua:
96-
{
97-
'nvim-telescope/telescope.nvim', tag = 'v0.2.0',
98-
dependencies = { 'nvim-lua/plenary.nvim' }
99-
}
100-
101-
-- plugins/telescope.lua:
102-
return {
103-
'nvim-telescope/telescope.nvim', tag = 'v0.2.0',
104-
dependencies = { 'nvim-lua/plenary.nvim' }
80+
{
81+
'nvim-telescope/telescope.nvim', tag = '*',
82+
dependencies = {
83+
'nvim-lua/plenary.nvim',
84+
-- optional but recommended
85+
{ 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' },
10586
}
87+
}
10688
```
10789

10890
### Checkhealth

0 commit comments

Comments
 (0)