From 6af04d96dbacd6f5dfa4ec94aaf4ad24d5647709 Mon Sep 17 00:00:00 2001 From: Kris <101912712+FlawlessCasual17@users.noreply.github.com> Date: Wed, 23 Apr 2025 05:50:22 -0600 Subject: docs(rpmspec): updated `cmd` and `description` #3756 This change was made because the current configuration (as of today) does not actually work. This new configuration addresses that issue by updating the cmd used for executing the lsp server. As well as updating the description to instruct users on how to install `rpm-spec-language-server`. --- lua/lspconfig/configs/rpmspec.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/lspconfig/configs/rpmspec.lua b/lua/lspconfig/configs/rpmspec.lua index dc56d041..a4988106 100644 --- a/lua/lspconfig/configs/rpmspec.lua +++ b/lua/lspconfig/configs/rpmspec.lua @@ -1,6 +1,6 @@ return { default_config = { - cmd = { 'python3', '-mrpm_lsp_server', '--stdio' }, + cmd = { 'rpm_lsp_server', '--stdio' }, filetypes = { 'spec' }, single_file_support = true, root_dir = function(fname) @@ -13,6 +13,12 @@ return { https://github.com/dcermak/rpm-spec-language-server Language server protocol (LSP) support for RPM Spec files. + +`rpm-spec-language-server` can be installed by running, + +```sh +pip install rpm-spec-language-server +``` ]], }, } -- cgit v1.2.3-70-g09d2