-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc3a327
commit a2faf05
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# neovim plugin | ||
|
||
[neovim](https://neovimcli.io) plugin for [proto](https://github.com/moonrepo/proto). | ||
|
||
## Installation | ||
|
||
This is a community plugin and is thus not built-in to proto. In order to use it, first either add it to your global or project-based `.prototools` by running: | ||
|
||
### Global install | ||
|
||
```shell | ||
proto plugin add neovim "source:https://raw.githubusercontent.com/appthrust/proto-toml-plugins/main/neovim/plugin.toml" --global | ||
proto install neovim | ||
``` | ||
|
||
### Per-project install | ||
|
||
```shell | ||
proto plugin add neovim "source:https://raw.githubusercontent.com/appthrust/proto-toml-plugins/main/neovim/plugin.toml" | ||
proto pin neovim latest --resolve | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# A TOML plugin for neovim: | ||
# https://moonrepo.dev/docs/proto/plugins#toml-plugin | ||
|
||
name = "neovim" | ||
type = "cli" | ||
|
||
[platform.linux] | ||
download-file = "nvim-linux64.tar.gz" | ||
checksum-file = "nvim-linux64.tar.gz.sha256sum" | ||
|
||
[platform.macos] | ||
download-file = "nvim-macos-{arch}.tar.gz" | ||
checksum-file = "nvim-macos-{arch}.tar.gz.sha256sum" | ||
|
||
[platform.windows] | ||
download-file = "nvim-win64.{ext}" | ||
checksum-file = "nvim-win64.{ext}.sha256sum" | ||
|
||
[install] | ||
download-url = "https://github.com/neovim/neovim/releases/download/v{version}/{download_file}" | ||
|
||
[install.arch] | ||
aarch64 = "arm64" | ||
x86_64 = "x86_64" | ||
|
||
[install.ext] | ||
msi = "msi" | ||
zip = "zip" | ||
|
||
[resolve] | ||
git-url = "https://github.com/neovim/neovim" |