Skip to content

Commit

Permalink
fix(als): remove als config (#3310)
Browse files Browse the repository at this point in the history
Moved ALS config into own repo. See issue #1683
regarding problems with the current config.
lspconfig is not intended to provide functional
lsp configs, but rather a framework for other
plugins to implement those.
For more about that, see the discussion on
#1693

The new ALS LSP config plugin is
https://github.com/TamaMcGlinn/nvim-lspconfig-ada
  • Loading branch information
TamaMcGlinn authored Sep 20, 2024
1 parent aaec5d0 commit 7b8b0b3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 139 deletions.
49 changes: 0 additions & 49 deletions doc/server_configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,55 +402,6 @@ require'lspconfig'.aiken.setup{}
```


## als

https://github.com/AdaCore/ada_language_server

Installation instructions can be found [here](https://github.com/AdaCore/ada_language_server#Install).

Can be configured by passing a "settings" object to `als.setup{}`:

```lua
require('lspconfig').als.setup{
settings = {
ada = {
projectFile = "project.gpr";
scenarioVariables = { ... };
}
}
}
```



**Snippet to enable the language server:**
```lua
require'lspconfig'.als.setup{}
```


**Default values:**
- `cmd` :
```lua
{ "ada_language_server" }
```
- `deprecate` :
```lua
{
to = "github.com/TamaMcGlinn/nvim-lspconfig-ada",
version = "0.2.0"
}
```
- `filetypes` :
```lua
{ "ada" }
```
- `root_dir` :
```lua
util.root_pattern("Makefile", ".git", "*.gpr", "*.adc")
```


## anakin_language_server

https://pypi.org/project/anakin-language-server/
Expand Down
49 changes: 0 additions & 49 deletions doc/server_configurations.txt
Original file line number Diff line number Diff line change
Expand Up @@ -402,55 +402,6 @@ require'lspconfig'.aiken.setup{}
```


## als

https://github.com/AdaCore/ada_language_server

Installation instructions can be found [here](https://github.com/AdaCore/ada_language_server#Install).

Can be configured by passing a "settings" object to `als.setup{}`:

```lua
require('lspconfig').als.setup{
settings = {
ada = {
projectFile = "project.gpr";
scenarioVariables = { ... };
}
}
}
```



**Snippet to enable the language server:**
```lua
require'lspconfig'.als.setup{}
```


**Default values:**
- `cmd` :
```lua
{ "ada_language_server" }
```
- `deprecate` :
```lua
{
to = "github.com/TamaMcGlinn/nvim-lspconfig-ada",
version = "0.2.0"
}
```
- `filetypes` :
```lua
{ "ada" }
```
- `root_dir` :
```lua
util.root_pattern("Makefile", ".git", "*.gpr", "*.adc")
```


## anakin_language_server

https://pypi.org/project/anakin-language-server/
Expand Down
41 changes: 0 additions & 41 deletions lua/lspconfig/server_configurations/als.lua

This file was deleted.

0 comments on commit 7b8b0b3

Please sign in to comment.