diff options
| author | Tama McGlinn <t.mcglinn@gmail.com> | 2024-09-20 09:49:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-20 15:49:16 +0800 |
| commit | 7b8b0b3ddd0ed6eddc93982753acaddc578defac (patch) | |
| tree | 50b1168f25165430c1c2bc2fd12bdb762389462e /lua | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-7b8b0b3ddd0ed6eddc93982753acaddc578defac.tar nvim-lspconfig-7b8b0b3ddd0ed6eddc93982753acaddc578defac.tar.gz nvim-lspconfig-7b8b0b3ddd0ed6eddc93982753acaddc578defac.tar.bz2 nvim-lspconfig-7b8b0b3ddd0ed6eddc93982753acaddc578defac.tar.lz nvim-lspconfig-7b8b0b3ddd0ed6eddc93982753acaddc578defac.tar.xz nvim-lspconfig-7b8b0b3ddd0ed6eddc93982753acaddc578defac.tar.zst nvim-lspconfig-7b8b0b3ddd0ed6eddc93982753acaddc578defac.zip | |
fix(als): remove als config (#3310)
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
https://github.com/neovim/nvim-lspconfig/pull/1693
The new ALS LSP config plugin is
https://github.com/TamaMcGlinn/nvim-lspconfig-ada
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/lspconfig/server_configurations/als.lua | 41 |
1 files changed, 0 insertions, 41 deletions
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")]], - }, - }, -} |
