diff options
| author | Matthieu Coudron <mcoudron@hotmail.com> | 2022-09-05 17:40:45 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-09-11 04:52:04 -0700 |
| commit | 965a74f76a2999b81fe3a543fb5e53bf6c84b8b7 (patch) | |
| tree | e35a8c63331f830224d334916d6909a0ab437f82 | |
| parent | Add spell query (diff) | |
| download | nvim-treesitter-965a74f76a2999b81fe3a543fb5e53bf6c84b8b7.tar nvim-treesitter-965a74f76a2999b81fe3a543fb5e53bf6c84b8b7.tar.gz nvim-treesitter-965a74f76a2999b81fe3a543fb5e53bf6c84b8b7.tar.bz2 nvim-treesitter-965a74f76a2999b81fe3a543fb5e53bf6c84b8b7.tar.lz nvim-treesitter-965a74f76a2999b81fe3a543fb5e53bf6c84b8b7.tar.xz nvim-treesitter-965a74f76a2999b81fe3a543fb5e53bf6c84b8b7.tar.zst nvim-treesitter-965a74f76a2999b81fe3a543fb5e53bf6c84b8b7.zip | |
build: add a rockspec
so that users can install this via luarocks
| -rw-r--r-- | contrib/nvim-treesitter-scm-1.rockspec | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/nvim-treesitter-scm-1.rockspec b/contrib/nvim-treesitter-scm-1.rockspec new file mode 100644 index 000000000..cacc9eb2e --- /dev/null +++ b/contrib/nvim-treesitter-scm-1.rockspec @@ -0,0 +1,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' + } +} |
