From a2faf0551cd2a2a61c1e24637124d5be814c5a36 Mon Sep 17 00:00:00 2001 From: kahirokunn Date: Thu, 13 Jun 2024 10:37:08 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20add=20neovim=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- neovim/README.md | 21 +++++++++++++++++++++ neovim/plugin.toml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 neovim/README.md create mode 100644 neovim/plugin.toml diff --git a/neovim/README.md b/neovim/README.md new file mode 100644 index 0000000..a283f0f --- /dev/null +++ b/neovim/README.md @@ -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 +``` diff --git a/neovim/plugin.toml b/neovim/plugin.toml new file mode 100644 index 0000000..bf9f30b --- /dev/null +++ b/neovim/plugin.toml @@ -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"