Skip to content

Commit

Permalink
feat: add textlsp (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
uwidev authored Aug 4, 2024
1 parent 0e65781 commit 9ac210a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ local DEFAULT_SETTINGS = {
| Kotlin | [`kotlin_language_server`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#kotlin_language_server) |
| LaTeX | [`ltex`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#ltex) |
| LaTeX | [`texlab`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#texlab) |
| LaTeX | [`textlsp`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#textlsp) |
| Lelwel | [`lelwel_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#lelwel_ls) |
| LESS | [`css_variables`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#css_variables) |
| LESS | [`cssls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#cssls) |
Expand Down Expand Up @@ -332,6 +333,7 @@ local DEFAULT_SETTINGS = {
| OpenFOAM | [`foam_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#foam_ls) |
| OpenGL | [`glsl_analyzer`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#glsl_analyzer) |
| OpenSCAD | [`openscad_lsp`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#openscad_lsp) |
| Org | [`textlsp`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#textlsp) |
| Perl | [`perlnavigator`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#perlnavigator) |
| Pest | [`pest_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#pest_ls) |
| PHP | [`intelephense`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#intelephense) |
Expand Down Expand Up @@ -404,6 +406,7 @@ local DEFAULT_SETTINGS = {
| Terraform | [`tflint`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#tflint) |
| Text | [`grammarly`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#grammarly) |
| Text | [`ltex`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#ltex) |
| Text | [`textlsp`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#textlsp) |
| Text | [`vale_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#vale_ls) |
| Thrift | [`thriftls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#thriftls) |
| TOML | [`harper_ls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#harper_ls) |
Expand Down
1 change: 1 addition & 0 deletions doc/mason-lspconfig-mapping.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ teal-language-server teal_ls
templ templ
terraform-ls terraformls
texlab texlab
textlsp textlsp
tflint tflint
shopify-theme-check theme_check
thriftls thriftls
Expand Down
1 change: 1 addition & 0 deletions doc/server-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
| [templ](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#templ) | [templ](https://mason-registry.dev/registry/list#templ) |
| [terraformls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#terraformls) | [terraform-ls](https://mason-registry.dev/registry/list#terraform-ls) |
| [texlab](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#texlab) | [texlab](https://mason-registry.dev/registry/list#texlab) |
| [textlsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#textlsp) | [textlsp](https://mason-registry.dev/registry/list#textlsp) |
| [tflint](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#tflint) | [tflint](https://mason-registry.dev/registry/list#tflint) |
| [theme_check](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#theme_check) | [shopify-theme-check](https://mason-registry.dev/registry/list#shopify-theme-check) |
| [thriftls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#thriftls) | [thriftls](https://mason-registry.dev/registry/list#thriftls) |
Expand Down
6 changes: 3 additions & 3 deletions lua/mason-lspconfig/mappings/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ return {
odin = { "ols" },
opencl = { "opencl_ls" },
openscad = { "openscad_lsp" },
org = { "ltex" },
org = { "ltex", "textlsp" },
os = { "bsl_ls" },
p8 = { "pico8_ls" },
pandoc = { "ltex" },
Expand Down Expand Up @@ -206,8 +206,8 @@ return {
["terraform-vars"] = { "snyk_ls", "terraformls" },
tesc = { "glsl_analyzer", "glslls" },
tese = { "glsl_analyzer", "glslls" },
tex = { "ltex", "texlab", "vale_ls" },
text = { "ltex", "vale_ls" },
tex = { "ltex", "texlab", "textlsp", "vale_ls" },
text = { "ltex", "textlsp", "vale_ls" },
thrift = { "thriftls" },
toml = { "dprint", "harper_ls", "taplo" },
twig = { "tailwindcss", "twiggy_language_server" },
Expand Down
1 change: 1 addition & 0 deletions lua/mason-lspconfig/mappings/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ M.lspconfig_to_package = {
["templ"] = "templ",
["terraformls"] = "terraform-ls",
["texlab"] = "texlab",
["textlsp"] = "textlsp",
["tflint"] = "tflint",
["theme_check"] = "shopify-theme-check",
["thriftls"] = "thriftls",
Expand Down

0 comments on commit 9ac210a

Please sign in to comment.