From abdb9f3acdc869a62e7964d6ac7fc4cdc5502388 Mon Sep 17 00:00:00 2001 From: Nathaniel Cook Date: Fri, 17 Dec 2021 11:27:03 -0700 Subject: fix: rename flux-lsp to flux_lsp Using flux-lsp as the name of the config made it more difficult than needed to install the config as you needed to escape the dash. All other configs are named with underscores so this brings the config inline. --- lua/lspconfig/server_configurations/flux-lsp.lua | 21 --------------------- lua/lspconfig/server_configurations/flux_lsp.lua | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 lua/lspconfig/server_configurations/flux-lsp.lua create mode 100644 lua/lspconfig/server_configurations/flux_lsp.lua (limited to 'lua') diff --git a/lua/lspconfig/server_configurations/flux-lsp.lua b/lua/lspconfig/server_configurations/flux-lsp.lua deleted file mode 100644 index 5dd6c32a..00000000 --- a/lua/lspconfig/server_configurations/flux-lsp.lua +++ /dev/null @@ -1,21 +0,0 @@ -local util = require 'lspconfig.util' - -return { - default_config = { - cmd = { 'flux-lsp' }, - filetypes = { 'flux' }, - root_dir = util.find_git_ancestor, - }, - docs = { - description = [[ -https://github.com/influxdata/flux-lsp -`flux-lsp` can be installed via `cargo`: -```sh -cargo install --git https://github.com/influxdata/flux-lsp -``` -]], - default_config = { - root_dir = [[util.find_git_ancestor]], - }, - }, -} diff --git a/lua/lspconfig/server_configurations/flux_lsp.lua b/lua/lspconfig/server_configurations/flux_lsp.lua new file mode 100644 index 00000000..5dd6c32a --- /dev/null +++ b/lua/lspconfig/server_configurations/flux_lsp.lua @@ -0,0 +1,21 @@ +local util = require 'lspconfig.util' + +return { + default_config = { + cmd = { 'flux-lsp' }, + filetypes = { 'flux' }, + root_dir = util.find_git_ancestor, + }, + docs = { + description = [[ +https://github.com/influxdata/flux-lsp +`flux-lsp` can be installed via `cargo`: +```sh +cargo install --git https://github.com/influxdata/flux-lsp +``` +]], + default_config = { + root_dir = [[util.find_git_ancestor]], + }, + }, +} -- cgit v1.2.3-70-g09d2