Skip to content

Commit

Permalink
Adding comments in installation examples
Browse files Browse the repository at this point in the history
Adding comments to make it more obvious that the user need to replace `<CurrentMajor>`
  • Loading branch information
Curs3W4ll authored and L3MON4D3 committed Apr 17, 2023
1 parent a6355b1 commit 9ef39d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Neovim >= 0.5 (extmarks)
use({
"L3MON4D3/LuaSnip",
-- follow latest release.
tag = "v<CurrentMajor>.*",
tag = "v<CurrentMajor>.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
-- install jsregexp (optional!:).
run = "make install_jsregexp"
})
Expand All @@ -44,15 +44,15 @@ Neovim >= 0.5 (extmarks)
{
"L3MON4D3/LuaSnip",
-- follow latest release.
version = "<CurrentMajor>.*",
version = "<CurrentMajor>.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
-- install jsregexp (optional!).
build = "make install_jsregexp"
}
```
**vim-plug**:
```vim
" follow latest release and install jsregexp.
Plug 'L3MON4D3/LuaSnip', {'tag': 'v<CurrentMajor>.*', 'do': 'make install_jsregexp'}
Plug 'L3MON4D3/LuaSnip', {'tag': 'v<CurrentMajor>.*', 'do': 'make install_jsregexp'} " Replace <CurrentMajor> by the latest released major (first number of latest release)
```
Check the `Releases`-section to the right for the latest major version.

Expand Down

0 comments on commit 9ef39d4

Please sign in to comment.