From dd3b5a13c12e41ee0cdbef44b5f2cacf12679e7d Mon Sep 17 00:00:00 2001 From: Andre Toerien Date: Tue, 11 Mar 2025 13:24:26 +0200 Subject: fix: rename systemd-language-server to systemd_ls --- lua/lspconfig/configs/systemd-language-server.lua | 22 ---------------------- lua/lspconfig/configs/systemd_ls.lua | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 lua/lspconfig/configs/systemd-language-server.lua create mode 100644 lua/lspconfig/configs/systemd_ls.lua (limited to 'lua') diff --git a/lua/lspconfig/configs/systemd-language-server.lua b/lua/lspconfig/configs/systemd-language-server.lua deleted file mode 100644 index c4a8c911..00000000 --- a/lua/lspconfig/configs/systemd-language-server.lua +++ /dev/null @@ -1,22 +0,0 @@ -return { - default_config = { - cmd = { 'systemd-language-server' }, - filetypes = { 'systemd' }, - root_dir = function(fname) - return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1]) - end, - single_file_support = true, - }, - docs = { - description = [[ -https://github.com/psacawa/systemd-language-server - -`systemd-language-server` can be installed via `pip`: -```sh -pip install systemd-language-server -``` - -Language Server for Systemd unit files -]], - }, -} diff --git a/lua/lspconfig/configs/systemd_ls.lua b/lua/lspconfig/configs/systemd_ls.lua new file mode 100644 index 00000000..c4a8c911 --- /dev/null +++ b/lua/lspconfig/configs/systemd_ls.lua @@ -0,0 +1,22 @@ +return { + default_config = { + cmd = { 'systemd-language-server' }, + filetypes = { 'systemd' }, + root_dir = function(fname) + return vim.fs.dirname(vim.fs.find('.git', { path = fname, upward = true })[1]) + end, + single_file_support = true, + }, + docs = { + description = [[ +https://github.com/psacawa/systemd-language-server + +`systemd-language-server` can be installed via `pip`: +```sh +pip install systemd-language-server +``` + +Language Server for Systemd unit files +]], + }, +} -- cgit v1.2.3-70-g09d2