-
-
Notifications
You must be signed in to change notification settings - Fork 801
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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, < 5.4", | ||
"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", | ||
} | ||
} |