aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/nvim-treesitter-scm-1.rockspec
blob: cacc9eb2e772a53f34eaa44ac9a85fba2f4eb0ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
local MODREV, SPECREV = "scm", "-1"
rockspec_format = "3.0"
package = "nvim-treesitter"
version = MODREV .. SPECREV

description = {
	summary = "Nvim Treesitter configurations and abstraction layer",
	labels = { "neovim"},
	homepage = "https://github.com/nvim-treesitter/nvim-treesitter",
	license = "Apache-2.0",
}

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

source = {
	url = "http://github.com/nvim-treesitter/nvim-treesitter/archive/v" .. MODREV .. ".zip",
}

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

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