Skip to content

Commit

Permalink
feat: add als mapping (williamboman#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
williamboman authored Sep 4, 2022
1 parent 328eb72 commit 980f836
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ local DEFAULT_SETTINGS = {
| Language | Server name |
| ----------------------------------- | -------------------------- |
| AWK | `awk_ls` |
| Ada | `als` |
| Angular | `angularls` |
| Ansible | `ansiblels` |
| Apex | `apex_ls` |
Expand All @@ -147,8 +148,8 @@ local DEFAULT_SETTINGS = {
| Bicep | `bicep` |
| C | `clangd` |
| C# | `csharp_ls` |
| C# [(docs)][omnisharp] | `omnisharp` |
| C# [(docs)][omnisharp] | `omnisharp_mono` |
| C# [(docs)][omnisharp] | `omnisharp` |
| C++ | `clangd` |
| CMake | `cmake` |
| CSS | `cssls` |
Expand Down
1 change: 1 addition & 0 deletions doc/server-mapping.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!--- THIS FILE IS GENERATED. DO NOT EDIT MANUALLY. -->
| lspconfig server name | mason.nvim package name |
| --------------------- | ----------------------- |
| [als](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#als) | ada-language-server |
| [angularls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#angularls) | angular-language-server |
| [ansiblels](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#ansiblels) | ansible-language-server |
| [apex_ls](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#apex_ls) | apex-language-server |
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 @@ -2,6 +2,7 @@
-- stylua: ignore start
return {
OpenFOAM = { "foam_ls" },
ada = { "als" },
apexcode = { "apex_ls" },
arduino = { "arduino_language_server" },
asm = { "asm_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 @@ -4,6 +4,7 @@ local M = {}

---Maps lspconfig server config name to its corresponding package name.
M.lspconfig_to_package = {
["als"] = "ada-language-server",
["angularls"] = "angular-language-server",
["ansiblels"] = "ansible-language-server",
["apex_ls"] = "apex-language-server",
Expand Down

0 comments on commit 980f836

Please sign in to comment.