Skip to content

Commit

Permalink
feat: rpmspec
Browse files Browse the repository at this point in the history
rpm-spec-language-server is the Language Server for RPM spec files

https://github.com/dcermak/rpm-spec-language-server
  • Loading branch information
mcepl committed Jan 18, 2025
1 parent 14b5a80 commit ff62d6f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lua/lspconfig/configs/rpmspec.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
local util = require 'lspconfig.util'

return {
default_config = {
cmd = { 'python3', '-mrpm_lsp_server', '--stdio' },
filetypes = { 'spec' },
single_file_support = true,
root_dir = vim.fs.dirname(vim.fs.find('.git', { path = startpath, upward = true })[1]),
settings = {},
},
docs = {
description = [[
https://github.com/dcermak/rpm-spec-language-server
Language server protocol (LSP) support for RPM Spec files.
]],
},
}

0 comments on commit ff62d6f

Please sign in to comment.