From b16e5bcf1d8fd466c289eab2472d064bcd7bab5d Mon Sep 17 00:00:00 2001 From: hrsh7th <629908+hrsh7th@users.noreply.github.com> Date: Tue, 6 Sep 2022 12:46:57 +0900 Subject: [PATCH] Restore rockspec --- nvim-cmp-scm-1.rockspec | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 nvim-cmp-scm-1.rockspec diff --git a/nvim-cmp-scm-1.rockspec b/nvim-cmp-scm-1.rockspec new file mode 100644 index 0000000..2c72b0e --- /dev/null +++ b/nvim-cmp-scm-1.rockspec @@ -0,0 +1,38 @@ +local MODREV, SPECREV = "scm", "-1" +rockspec_format = "3.0" +package = "nvim-cmp" +version = MODREV .. SPECREV + +description = { + summary = "A completion plugin for neovim", + labels = { "neovim" }, + detailed = [[ + A completion engine plugin for neovim written in Lua. Completion sources are installed from external repositories and "sourced". + ]], + homepage = "https://github.com/hrsh7th/nvim-cmp", + license = "MIT", +} + +dependencies = { + "lua >= 5.1, < 5.4", +} + +source = { + url = "http://github.com/hrsh7th/nvim-cmp/archive/v" .. MODREV .. ".zip", + dir = "nvim-cmp-" .. MODREV, +} + +if MODREV == "scm" then + source = { + url = "git://github.com/hrsh7th/nvim-cmp", + } +end + +build = { + type = "builtin", +} +copy_directories = { + 'lua', + 'autoload', + 'plugin', +}