Skip to content

Commit

Permalink
feat: add starpls LSP server (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
matawed authored Aug 4, 2024
1 parent 490d0a9 commit 7c075f0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ local DEFAULT_SETTINGS = {
| Standard ML | [`millet`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#millet) |
| Starlark | [`bzl`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#bzl) |
| Starlark | [`starlark_rust`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#starlark_rust) |
| Starlark | [`starpls`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#starpls) |
| Stylelint | [`stylelint_lsp`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#stylelint_lsp) |
| Svelte | [`svelte`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#svelte) |
| SystemVerilog | [`hdl_checker`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#hdl_checker) |
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 @@ -179,6 +179,7 @@ sqlls sqlls
sqls sqls
standardrb standardrb
starlark-rust starlark_rust
starpls starpls
steep steep
stimulus-language-server stimulus_ls
stylelint-lsp stylelint_lsp
Expand Down
1 change: 1 addition & 0 deletions doc/server-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@
| [sqls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#sqls) | [sqls](https://mason-registry.dev/registry/list#sqls) |
| [standardrb](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#standardrb) | [standardrb](https://mason-registry.dev/registry/list#standardrb) |
| [starlark_rust](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#starlark_rust) | [starlark-rust](https://mason-registry.dev/registry/list#starlark-rust) |
| [starpls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#starpls) | [starpls](https://mason-registry.dev/registry/list#starpls) |
| [steep](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#steep) | [steep](https://mason-registry.dev/registry/list#steep) |
| [stimulus_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#stimulus_ls) | [stimulus-language-server](https://mason-registry.dev/registry/list#stimulus-language-server) |
| [stylelint_lsp](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#stylelint_lsp) | [stylelint-lsp](https://mason-registry.dev/registry/list#stylelint-lsp) |
Expand Down
2 changes: 1 addition & 1 deletion lua/mason-lspconfig/mappings/filetype.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ return {
blade = { "stimulus_ls", "tailwindcss" },
brs = { "bright_script" },
bsl = { "bsl_ls" },
bzl = { "bzl", "starlark_rust" },
bzl = { "bzl", "starlark_rust", "starpls" },
c = { "ast_grep", "clangd", "harper_ls" },
cairo = { "cairo_ls" },
clar = { "clarity_lsp" },
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 @@ -179,6 +179,7 @@ M.lspconfig_to_package = {
["sqls"] = "sqls",
["standardrb"] = "standardrb",
["starlark_rust"] = "starlark-rust",
["starpls"] = "starpls",
["steep"] = "steep",
["stimulus_ls"] = "stimulus-language-server",
["stylelint_lsp"] = "stylelint-lsp",
Expand Down

0 comments on commit 7c075f0

Please sign in to comment.