diff options
| author | Matěj Cepl <mcepl@cepl.eu> | 2025-04-06 02:27:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-05 17:27:38 -0700 |
| commit | 692574e00fa855035b59a4a6e136ace804115e33 (patch) | |
| tree | c1f5eff45e052cdfa9f502685e4f39b582ddb1f1 /lua | |
| parent | refactor: deprecate get_active_client_by_name #3697 (diff) | |
| download | nvim-lspconfig-692574e00fa855035b59a4a6e136ace804115e33.tar nvim-lspconfig-692574e00fa855035b59a4a6e136ace804115e33.tar.gz nvim-lspconfig-692574e00fa855035b59a4a6e136ace804115e33.tar.bz2 nvim-lspconfig-692574e00fa855035b59a4a6e136ace804115e33.tar.lz nvim-lspconfig-692574e00fa855035b59a4a6e136ace804115e33.tar.xz nvim-lspconfig-692574e00fa855035b59a4a6e136ace804115e33.tar.zst nvim-lspconfig-692574e00fa855035b59a4a6e136ace804115e33.zip | |
feat: rpmspec #3568
rpm-spec-language-server is the Language Server for RPM spec files
https://github.com/dcermak/rpm-spec-language-server
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/configs/rpmspec.lua | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lua/lspconfig/configs/rpmspec.lua b/lua/lspconfig/configs/rpmspec.lua new file mode 100644 index 00000000..dc56d041 --- /dev/null +++ b/lua/lspconfig/configs/rpmspec.lua @@ -0,0 +1,18 @@ +return { + default_config = { + cmd = { 'python3', '-mrpm_lsp_server', '--stdio' }, + filetypes = { 'spec' }, + single_file_support = true, + root_dir = function(fname) + return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1]) + end, + settings = {}, + }, + docs = { + description = [[ +https://github.com/dcermak/rpm-spec-language-server + +Language server protocol (LSP) support for RPM Spec files. +]], + }, +} |
