diff options
| author | Marc Jakobi <mrcjkb89@outlook.com> | 2023-01-10 15:33:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-10 15:33:23 +0100 |
| commit | e8c01bab917537ba4f54193c29b77bf4a04584d3 (patch) | |
| tree | 36a7689c727ffb304ad14a4d60e8cc469de9e346 /telescope.nvim-scm-1.rockspec | |
| parent | 04af51dbfb17c2afa0b8d82b0e842e0638201ca9 (diff) | |
feat: add rockspec + luarocks upload workflow (#2276)
telescope.nvim is a common dependency across Neovim plugins.
Using luarocks may alleviate the need for users to specify their
plugins' dependencies in their plugin manager.
(e.g., vim-plug or packer).
See also:
https://teto.github.io/posts/2021-09-17-neovim-plugin-luarocks.html
Diffstat (limited to 'telescope.nvim-scm-1.rockspec')
| -rw-r--r-- | telescope.nvim-scm-1.rockspec | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/telescope.nvim-scm-1.rockspec b/telescope.nvim-scm-1.rockspec new file mode 100644 index 0000000..f717d64 --- /dev/null +++ b/telescope.nvim-scm-1.rockspec @@ -0,0 +1,44 @@ +local MODREV, SPECREV = 'scm', '-1' +rockspec_format = '3.0' +package = 'telescope.nvim' +version = MODREV .. SPECREV + +description = { + summary = 'Find, Filter, Preview, Pick. All lua, all the time.', + detailed = [[ + A highly extendable fuzzy finder over lists. + Built on the latest awesome features from neovim core. + Telescope is centered around modularity, allowing for easy customization. + ]], + labels = { 'neovim', 'plugin', }, + homepage = 'https://github.com/nvim-telescope/telescope.nvim', + license = 'MIT', +} + +dependencies = { + 'lua == 5.1', + 'plenary.nvim', +} + +source = { + url = 'https://github.com/nvim-telescope/telescope.nvim/archive/refs/tags/' .. MODREV .. '.zip', + dir = 'telescope.nvim-' .. MODREV +} + +if MODREV == 'scm' then + source = { + url = 'git://github.com/nvim-telescope/telescope.nvim', + } +end + +build = { + type = 'builtin', + copy_directories = { + 'doc', + 'ftplugin', + 'plugin', + 'scripts', + 'autoload', + 'data', + } +} |
