From 2442acdc8c534287c9badc466599b3bf3f694d7b Mon Sep 17 00:00:00 2001 From: j1mbo64 Date: Mon, 23 Oct 2023 19:55:53 +0200 Subject: [PATCH] feat: add cairo-language-server cairo_ls mapping --- 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 7548833d7..8d16ad615 100644 --- a/README.md +++ b/README.md @@ -181,6 +181,7 @@ local DEFAULT_SETTINGS = { | C# [(docs)][omnisharp] | `omnisharp_mono` | | C# [(docs)][omnisharp] | `omnisharp` | | C++ | `clangd` | +| Cairo | `cairo_ls` | | CMake | `cmake` | | CMake | `neocmake` | | CSS | `cssls` | diff --git a/doc/mason-lspconfig-mapping.txt b/doc/mason-lspconfig-mapping.txt index 0b0db743d..bfe8fc744 100644 --- a/doc/mason-lspconfig-mapping.txt +++ b/doc/mason-lspconfig-mapping.txt @@ -21,6 +21,7 @@ biome biome brighterscript bright_script bsl-language-server bsl_ls buf-language-server bufls +cairo-language-server cairo_ls clangd clangd clarity-lsp clarity_lsp clojure-lsp clojure_lsp diff --git a/doc/server-mapping.md b/doc/server-mapping.md index 401aea563..d0107ed25 100644 --- a/doc/server-mapping.md +++ b/doc/server-mapping.md @@ -18,6 +18,7 @@ | [bright_script](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bright_script) | [brighterscript](https://mason-registry.dev/registry/list#brighterscript) | | [bsl_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bsl_ls) | [bsl-language-server](https://mason-registry.dev/registry/list#bsl-language-server) | | [bufls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bufls) | [buf-language-server](https://mason-registry.dev/registry/list#buf-language-server) | +| [cairo_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#cairo_ls) | [cairo-language-server](https://mason-registry.dev/registry/list#cairo-language-server) | | [clangd](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#clangd) | [clangd](https://mason-registry.dev/registry/list#clangd) | | [clarity_lsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#clarity_lsp) | [clarity-lsp](https://mason-registry.dev/registry/list#clarity-lsp) | | [clojure_lsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#clojure_lsp) | [clojure-lsp](https://mason-registry.dev/registry/list#clojure-lsp) | diff --git a/lua/mason-lspconfig/mappings/filetype.lua b/lua/mason-lspconfig/mappings/filetype.lua index 0d2b5f3d9..2f95e65be 100644 --- a/lua/mason-lspconfig/mappings/filetype.lua +++ b/lua/mason-lspconfig/mappings/filetype.lua @@ -20,6 +20,7 @@ return { brs = { "bright_script" }, bsl = { "bsl_ls" }, c = { "clangd" }, + cairo = { "cairo_ls" }, clar = { "clarity_lsp" }, clarity = { "clarity_lsp" }, clojure = { "clojure_lsp", "tailwindcss" }, diff --git a/lua/mason-lspconfig/mappings/server.lua b/lua/mason-lspconfig/mappings/server.lua index 4936890a7..4eb3dde30 100644 --- a/lua/mason-lspconfig/mappings/server.lua +++ b/lua/mason-lspconfig/mappings/server.lua @@ -21,6 +21,7 @@ M.lspconfig_to_package = { ["bright_script"] = "brighterscript", ["bsl_ls"] = "bsl-language-server", ["bufls"] = "buf-language-server", + ["cairo_ls"] = "cairo-language-server", ["clangd"] = "clangd", ["clarity_lsp"] = "clarity-lsp", ["clojure_lsp"] = "clojure-lsp",