diff options
| author | Marc Jakobi <mrcjkb89@outlook.com> | 2022-12-11 15:54:23 +0100 |
|---|---|---|
| committer | Matthieu Coudron <teto@users.noreply.github.com> | 2022-12-17 15:54:03 +0100 |
| commit | 54eb2a070a4f389b1be0f98070f81d23e2b1a715 (patch) | |
| tree | fa2a899894eafdab77fd02b8e0a2a045704876d6 | |
| parent | ci: bump action versions (#2322) (diff) | |
| download | nvim-lspconfig-54eb2a070a4f389b1be0f98070f81d23e2b1a715.tar nvim-lspconfig-54eb2a070a4f389b1be0f98070f81d23e2b1a715.tar.gz nvim-lspconfig-54eb2a070a4f389b1be0f98070f81d23e2b1a715.tar.bz2 nvim-lspconfig-54eb2a070a4f389b1be0f98070f81d23e2b1a715.tar.lz nvim-lspconfig-54eb2a070a4f389b1be0f98070f81d23e2b1a715.tar.xz nvim-lspconfig-54eb2a070a4f389b1be0f98070f81d23e2b1a715.tar.zst nvim-lspconfig-54eb2a070a4f389b1be0f98070f81d23e2b1a715.zip | |
feat: add rockspec
nvim-lspconfig 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
| -rw-r--r-- | nvim_lspconfig-scm-1.rockspec | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nvim_lspconfig-scm-1.rockspec b/nvim_lspconfig-scm-1.rockspec new file mode 100644 index 00000000..c74d1449 --- /dev/null +++ b/nvim_lspconfig-scm-1.rockspec @@ -0,0 +1,38 @@ +local _MODREV, _SPECREV = 'scm', '-1' + +rockspec_format = "3.0" +package = 'nvim_lspconfig' +version = _MODREV .. _SPECREV + +description = { + summary = "A collection of common configurations for Neovim's built-in language server client.", + detailed = [[ + This plugin allows for declaratively configuring, launching, and initializing language servers you have installed on your system. + Language server configurations are community-maintained. + ]], + homepage = 'https://github.com/neovim/nvim-lspconfig', + license = 'Apache/2.0', + labels = { 'neovim', 'lsp' } +} + +dependencies = { + 'lua == 5.1', +} + +source = { + url = 'https://github.com/neovim/nvim-lspconfig/archive/v' .. _MODREV .. '.zip', + dir = 'nvim-lspconfig-' .. _MODREV, +} + +if _MODREV == 'scm' then + source = { + url = 'git://github.com/neovim/nvim-lspconfig', + } +end + +build = { + type = 'builtin', + copy_directories = { + 'doc' + } +} |
