aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/server_configurations.md49
-rw-r--r--doc/server_configurations.txt49
-rw-r--r--lua/lspconfig/server_configurations/als.lua41
3 files changed, 0 insertions, 139 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 958a6331..b9476511 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -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/
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 958a6331..b9476511 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -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/
diff --git a/lua/lspconfig/server_configurations/als.lua b/lua/lspconfig/server_configurations/als.lua
deleted file mode 100644
index 30e3227a..00000000
--- a/lua/lspconfig/server_configurations/als.lua
+++ /dev/null
@@ -1,41 +0,0 @@
-local util = require 'lspconfig.util'
-local bin_name = 'ada_language_server'
-
-if vim.fn.has 'win32' == 1 then
- bin_name = 'ada_language_server.exe'
-end
-
-return {
- default_config = {
- cmd = { bin_name },
- filetypes = { 'ada' },
- root_dir = util.root_pattern('Makefile', '.git', '*.gpr', '*.adc'),
- deprecate = {
- to = 'github.com/TamaMcGlinn/nvim-lspconfig-ada',
- version = '0.2.0',
- },
- },
- docs = {
- description = [[
-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 = { ... };
- }
- }
-}
-```
-]],
- default_config = {
- root_dir = [[util.root_pattern("Makefile", ".git", "*.gpr", "*.adc")]],
- },
- },
-}