From 2daa8921b7afdcfa47419a21ea343c3df6d74fa0 Mon Sep 17 00:00:00 2001 From: Utkarsh Verma Date: Fri, 20 Dec 2024 04:36:13 +0100 Subject: [PATCH] feat: add ginko_ls support (#490) (#496) --- README.md | 1 + doc/mason-lspconfig-mapping.txt | 1 + doc/server-mapping.md | 1 + lua/mason-lspconfig/mappings/filetype.lua | 1 + lua/mason-lspconfig/mappings/server.lua | 1 + 5 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 22cbf4bb6..6327061a5 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,7 @@ local DEFAULT_SETTINGS = { | DOT | [`dotls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#dotls) | | Drools | [`drools_lsp`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#drools_lsp) | | D | [`serve_d`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#serve_d) | +| DTS | [`ginko_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#ginko_ls) | | Earthly | [`earthlyls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#earthlyls) | | Elixir | [`elixirls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#elixirls) | | Elixir | [`lexical`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#lexical) | diff --git a/doc/mason-lspconfig-mapping.txt b/doc/mason-lspconfig-mapping.txt index 53c427e5a..795c16154 100644 --- a/doc/mason-lspconfig-mapping.txt +++ b/doc/mason-lspconfig-mapping.txt @@ -68,6 +68,7 @@ flux-lsp flux_lsp foam-language-server foam_ls fortls fortls fsautocomplete fsautocomplete +ginko_ls ginko_ls gitlab-ci-ls gitlab_ci_ls glint glint glsl_analyzer glsl_analyzer diff --git a/doc/server-mapping.md b/doc/server-mapping.md index 2b403a7d9..b51218d10 100644 --- a/doc/server-mapping.md +++ b/doc/server-mapping.md @@ -65,6 +65,7 @@ | [foam_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#foam_ls) | [foam-language-server](https://mason-registry.dev/registry/list#foam-language-server) | | [fortls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#fortls) | [fortls](https://mason-registry.dev/registry/list#fortls) | | [fsautocomplete](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#fsautocomplete) | [fsautocomplete](https://mason-registry.dev/registry/list#fsautocomplete) | +| [ginko_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#ginko_ls) | [ginko_ls](https://mason-registry.dev/registry/list#ginko_ls) | | [gitlab_ci_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#gitlab_ci_ls) | [gitlab-ci-ls](https://mason-registry.dev/registry/list#gitlab-ci-ls) | | [glint](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#glint) | [glint](https://mason-registry.dev/registry/list#glint) | | [glsl_analyzer](https://github.com/neovim/nvim-lspconfig/blob/master/doc/configs.md#glsl_analyzer) | [glsl_analyzer](https://mason-registry.dev/registry/list#glsl_analyzer) | diff --git a/lua/mason-lspconfig/mappings/filetype.lua b/lua/mason-lspconfig/mappings/filetype.lua index 71f4f253d..db9218415 100644 --- a/lua/mason-lspconfig/mappings/filetype.lua +++ b/lua/mason-lspconfig/mappings/filetype.lua @@ -48,6 +48,7 @@ return { dockerfile = { "dockerls" }, dot = { "dotls" }, drools = { "drools_lsp" }, + dts = { "ginko_ls" }, dune = { "ocamllsp" }, earthfile = { "earthlyls" }, edge = { "htmx", "tailwindcss" }, diff --git a/lua/mason-lspconfig/mappings/server.lua b/lua/mason-lspconfig/mappings/server.lua index 75ee02d7f..73d9f9895 100644 --- a/lua/mason-lspconfig/mappings/server.lua +++ b/lua/mason-lspconfig/mappings/server.lua @@ -69,6 +69,7 @@ M.lspconfig_to_package = { ["fortls"] = "fortls", ["fsautocomplete"] = "fsautocomplete", ["gitlab_ci_ls"] = "gitlab-ci-ls", + ["ginko_ls"] = "ginko_ls", ["glint"] = "glint", ["glsl_analyzer"] = "glsl_analyzer", ["glslls"] = "glslls",