fix(rockspec): fixed format + ran formatter (#1174)

This commit is contained in:
Matthieu Coudron
2022-09-25 16:57:37 +02:00
committed by GitHub
parent d2bc377b96
commit 4dd7ab6c26

View File

@@ -1,38 +1,37 @@
local MODREV, SPECREV = "scm", "-1" local MODREV, SPECREV = 'scm', '-1'
rockspec_format = "3.0" rockspec_format = '3.0'
package = "nvim-cmp" package = 'nvim-cmp'
version = MODREV .. SPECREV version = MODREV .. SPECREV
description = { description = {
summary = "A completion plugin for neovim", summary = 'A completion plugin for neovim',
labels = { "neovim" }, labels = { 'neovim' },
detailed = [[ detailed = [[
A completion engine plugin for neovim written in Lua. Completion sources are installed from external repositories and "sourced". 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", homepage = 'https://github.com/hrsh7th/nvim-cmp',
license = "MIT", license = 'MIT',
} }
dependencies = { dependencies = {
"lua >= 5.1, < 5.4", 'lua >= 5.1, < 5.4',
} }
source = { source = {
url = "http://github.com/hrsh7th/nvim-cmp/archive/v" .. MODREV .. ".zip", url = 'http://github.com/hrsh7th/nvim-cmp/archive/v' .. MODREV .. '.zip',
dir = "nvim-cmp-" .. MODREV, dir = 'nvim-cmp-' .. MODREV,
} }
if MODREV == "scm" then if MODREV == 'scm' then
source = { source = {
url = "git://github.com/hrsh7th/nvim-cmp", url = 'git://github.com/hrsh7th/nvim-cmp',
} }
end end
build = { build = {
type = "builtin", type = 'builtin',
} copy_directories = {
copy_directories = {
'lua',
'autoload', 'autoload',
'plugin', 'plugin'
}
} }