-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
so that other plugins can mark nvim-cmp as a dependency Some justification there https://teto.github.io/posts/2022-06-22-neovim-plugin-luarocks-2.html
- Loading branch information
Showing
1 changed file
with
37 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,37 @@ | ||
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 = { | ||
'autoload', | ||
'plugin', | ||
} |