diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | doc/mason-lspconfig-mapping.txt | 1 | ||||
| -rw-r--r-- | doc/server-mapping.md | 1 | ||||
| -rw-r--r-- | lua/mason-lspconfig/mappings/filetype.lua | 2 | ||||
| -rw-r--r-- | lua/mason-lspconfig/mappings/server.lua | 1 |
5 files changed, 5 insertions, 1 deletions
@@ -305,6 +305,7 @@ local DEFAULT_SETTINGS = { | Prisma | `prismals` | | Puppet | `puppet` | | PureScript | `purescriptls` | +| Python | `basedpyright` | | Python | `jedi_language_server` | | Python | `pyre` | | Python | `pyright` | diff --git a/doc/mason-lspconfig-mapping.txt b/doc/mason-lspconfig-mapping.txt index edf1031..9b4ad97 100644 --- a/doc/mason-lspconfig-mapping.txt +++ b/doc/mason-lspconfig-mapping.txt @@ -16,6 +16,7 @@ astro-language-server astro autotools-language-server autotools_ls awk-language-server awk_ls azure-pipelines-language-server azure_pipelines_ls +basedpyright basedpyright bash-language-server bashls beancount-language-server beancount bicep-lsp bicep diff --git a/doc/server-mapping.md b/doc/server-mapping.md index f143e23..223f79a 100644 --- a/doc/server-mapping.md +++ b/doc/server-mapping.md @@ -13,6 +13,7 @@ | [autotools_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#autotools_ls) | [autotools-language-server](https://mason-registry.dev/registry/list#autotools-language-server) | | [awk_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#awk_ls) | [awk-language-server](https://mason-registry.dev/registry/list#awk-language-server) | | [azure_pipelines_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#azure_pipelines_ls) | [azure-pipelines-language-server](https://mason-registry.dev/registry/list#azure-pipelines-language-server) | +| [basedpyright](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#basedpyright) | [basedpyright](https://mason-registry.dev/registry/list#basedpyright) | | [bashls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bashls) | [bash-language-server](https://mason-registry.dev/registry/list#bash-language-server) | | [beancount](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#beancount) | [beancount-language-server](https://mason-registry.dev/registry/list#beancount-language-server) | | [bicep](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bicep) | [bicep-lsp](https://mason-registry.dev/registry/list#bicep-lsp) | diff --git a/lua/mason-lspconfig/mappings/filetype.lua b/lua/mason-lspconfig/mappings/filetype.lua index 502f698..084aa23 100644 --- a/lua/mason-lspconfig/mappings/filetype.lua +++ b/lua/mason-lspconfig/mappings/filetype.lua @@ -152,7 +152,7 @@ return { pug = { "emmet_language_server", "emmet_ls" }, puppet = { "puppet" }, purescript = { "purescriptls" }, - python = { "ast_grep", "dprint", "jedi_language_server", "pylsp", "pylyzer", "pyre", "pyright", "ruff_lsp", "sourcery" }, + python = { "ast_grep", "basedpyright", "dprint", "jedi_language_server", "pylsp", "pylyzer", "pyre", "pyright", "ruff_lsp", "sourcery" }, ql = { "codeqlls" }, quarto = { "ltex" }, r = { "r_language_server" }, diff --git a/lua/mason-lspconfig/mappings/server.lua b/lua/mason-lspconfig/mappings/server.lua index ea60d43..f7c8366 100644 --- a/lua/mason-lspconfig/mappings/server.lua +++ b/lua/mason-lspconfig/mappings/server.lua @@ -16,6 +16,7 @@ M.lspconfig_to_package = { ["autotools_ls"] = "autotools-language-server", ["awk_ls"] = "awk-language-server", ["azure_pipelines_ls"] = "azure-pipelines-language-server", + ["basedpyright"] = "basedpyright", ["bashls"] = "bash-language-server", ["beancount"] = "beancount-language-server", ["bicep"] = "bicep-lsp", |
