Skip to content

Commit

Permalink
feat: add typst_lsp mapping (#198)
Browse files Browse the repository at this point in the history
Closes #197.
  • Loading branch information
williamboman committed Apr 21, 2023
1 parent 7034065 commit 952457b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ local DEFAULT_SETTINGS = {
| Terraform [(docs)][tflint] | `tflint` |
| TypeScript | `tsserver` |
| TypeScript | `vtsls` |
| Typst | `typst_lsp` |
| V | `vls` |
| Vala | `vala_ls` |
| Veryl | `veryl_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 @@ -137,6 +137,7 @@ texlab texlab
tflint tflint
shopify-theme-check theme_check
typescript-language-server tsserver
typst-lsp typst_lsp
unocss-language-server unocss
vala-language-server vala_ls
verible verible
Expand Down
1 change: 1 addition & 0 deletions doc/server-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@
| [tflint](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#tflint) | [tflint](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#tflint) |
| [theme_check](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#theme_check) | [shopify-theme-check](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#shopify-theme-check) |
| [tsserver](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#tsserver) | [typescript-language-server](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#typescript-language-server) |
| [typst_lsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#typst_lsp) | [typst-lsp](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#typst-lsp) |
| [unocss](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#unocss) | [unocss-language-server](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#unocss-language-server) |
| [vala_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#vala_ls) | [vala-language-server](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#vala-language-server) |
| [verible](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#verible) | [verible](https://github.com/williamboman/mason.nvim/blob/main/PACKAGES.md#verible) |
Expand Down
1 change: 1 addition & 0 deletions lua/mason-lspconfig/mappings/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ return {
["typescript.glimmer"] = { "glint" },
["typescript.tsx"] = { "angularls", "denols", "eslint", "rome", "tsserver", "vtsls" },
typescriptreact = { "angularls", "cssmodules_ls", "denols", "emmet_ls", "eslint", "graphql", "rome", "stylelint_lsp", "tailwindcss", "tsserver", "unocss", "vtsls" },
typst = { "typst_lsp" },
v = { "vls" },
vala = { "vala_ls" },
vb = { "omnisharp", "omnisharp_mono" },
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 @@ -138,6 +138,7 @@ M.lspconfig_to_package = {
["tflint"] = "tflint",
["theme_check"] = "shopify-theme-check",
["tsserver"] = "typescript-language-server",
["typst_lsp"] = "typst-lsp",
["unocss"] = "unocss-language-server",
["vala_ls"] = "vala-language-server",
["verible"] = "verible",
Expand Down

0 comments on commit 952457b

Please sign in to comment.