You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Snippets that make use of the entire functionality of this plugin have to be defined in Lua (but 95% of snippets can be written in lsp-syntax).
24
24
25
25
# Requirements
26
-
Neovim >= 0.5 (extmarks)
26
+
Neovim >= 0.7 (extmarks)
27
27
`jsregexp` for lsp-snippet-transformations (see [here](https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#transformations) for some tips on installing it).
28
28
29
29
# Setup
@@ -34,7 +34,7 @@ Neovim >= 0.5 (extmarks)
34
34
use({
35
35
"L3MON4D3/LuaSnip",
36
36
-- follow latest release.
37
-
tag="v<CurrentMajor>.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
37
+
tag="v2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
38
38
-- install jsregexp (optional!:).
39
39
run="make install_jsregexp"
40
40
})
@@ -44,15 +44,15 @@ Neovim >= 0.5 (extmarks)
44
44
{
45
45
"L3MON4D3/LuaSnip",
46
46
-- follow latest release.
47
-
version="<CurrentMajor>.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
47
+
version="2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
48
48
-- install jsregexp (optional!).
49
49
build="make install_jsregexp"
50
50
}
51
51
```
52
52
**vim-plug**:
53
53
```vim
54
54
" follow latest release and install jsregexp.
55
-
Plug 'L3MON4D3/LuaSnip', {'tag': 'v<CurrentMajor>.*', 'do': 'make install_jsregexp'} " Replace <CurrentMajor> by the latest released major (first number of latest release)
55
+
Plug 'L3MON4D3/LuaSnip', {'tag': 'v2.*', 'do': 'make install_jsregexp'} " Replace <CurrentMajor> by the latest released major (first number of latest release)
56
56
```
57
57
Check the `Releases`-section to the right for the latest major version.
0 commit comments