Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed rockspec copy_directories #1174

Merged
merged 1 commit into from
Sep 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions nvim-cmp-scm-1.rockspec
Original file line number Diff line number Diff line change
@@ -1,38 +1,37 @@
local MODREV, SPECREV = "scm", "-1"
rockspec_format = "3.0"
package = "nvim-cmp"
local MODREV, SPECREV = 'scm', '-1'
rockspec_format = '3.0'
package = 'nvim-cmp'
version = MODREV .. SPECREV

description = {
summary = "A completion plugin for neovim",
labels = { "neovim" },
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",
homepage = 'https://github.com/hrsh7th/nvim-cmp',
license = 'MIT',
}

dependencies = {
"lua >= 5.1, < 5.4",
'lua >= 5.1, < 5.4',
}

source = {
url = "http://github.com/hrsh7th/nvim-cmp/archive/v" .. MODREV .. ".zip",
dir = "nvim-cmp-" .. MODREV,
url = 'http://github.com/hrsh7th/nvim-cmp/archive/v' .. MODREV .. '.zip',
dir = 'nvim-cmp-' .. MODREV,
}

if MODREV == "scm" then
if MODREV == 'scm' then
source = {
url = "git://github.com/hrsh7th/nvim-cmp",
url = 'git://github.com/hrsh7th/nvim-cmp',
}
end

build = {
type = "builtin",
}
copy_directories = {
'lua',
'autoload',
'plugin',
type = 'builtin',
copy_directories = {
'autoload',
'plugin'
}
}