Skip to content

Commit fabb572

Browse files
document vim-vsnip for snippets (#710)
1 parent 52539a5 commit fabb572

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ Refer to docs on configuring omnifunc or [asyncomplete.vim](https://github.com/p
5252

5353
## Snippets
5454
vim-lsp does not support snippets by default. If you want snippet integration, you will first have to install a third-party snippet plugin and a plugin that integrates it in vim-lsp.
55-
At the moment, you have two options:
56-
1. [UltiSnips](https://github.com/SirVer/ultisnips) together with [vim-lsp-ultisnips](https://github.com/thomasfaingnaert/vim-lsp-ultisnips)
57-
2. [neosnippet.vim](https://github.com/Shougo/neosnippet.vim) together with [vim-lsp-neosnippet](https://github.com/thomasfaingnaert/vim-lsp-neosnippet)
55+
At the moment, you have following options:
56+
1. [vim-vsnip](https://github.com/hrsh7th/vim-vsnip) together with [vim-vsnip-integ](https://github.com/hrsh7th/vim-vsnip-integ)
57+
2. [UltiSnips](https://github.com/SirVer/ultisnips) together with [vim-lsp-ultisnips](https://github.com/thomasfaingnaert/vim-lsp-ultisnips)
58+
3. [neosnippet.vim](https://github.com/Shougo/neosnippet.vim) together with [vim-lsp-neosnippet](https://github.com/thomasfaingnaert/vim-lsp-neosnippet)
5859

5960
For more information, refer to the readme and documentation of the respective plugins.
6061

doc/vim-lsp.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1277,16 +1277,20 @@ To integrate snippets in vim-lsp, you will first have to install a third-party
12771277
snippet plugin, and a plugin that integrates it in vim-lsp. At the moment,
12781278
you have two options:
12791279

1280-
1. UltiSnips and vim-lsp-ultisnips
1280+
1. vim-vsnip
1281+
https://github.com/hrsh7th/vim-vsnip
1282+
https://github.com/hrsh7th/vim-vsnip-integ
1283+
1284+
2. UltiSnips and vim-lsp-ultisnips
12811285
https://github.com/SirVer/ultisnips
12821286
https://github.com/thomasfaingnaert/vim-lsp-ultisnips
12831287

1284-
2. neosnippet.vim and vim-lsp-neosnippet
1288+
3. neosnippet.vim and vim-lsp-neosnippet
12851289
https://github.com/Shougo/neosnippet.vim
12861290
https://github.com/thomasfaingnaert/vim-lsp-neosnippet
12871291

1288-
Refer to the readme and docs of vim-lsp-ultisnips and vim-lsp-neosnippet for
1289-
more information and configuration options.
1292+
Refer to the readme and docs of vim-vsnip, vim-lsp-ultisnips and vim-lsp-neosnippet
1293+
for more information and configuration options.
12901294

12911295
==============================================================================
12921296
Folding *vim-lsp-folding*

0 commit comments

Comments
 (0)