aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-04-02 13:39:31 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2025-04-02 13:39:31 +0000
commitbbb24305bc2083bf95be17814786f681bd380e0b (patch)
treee3c7ad77f0129d01cdf69b919ae532058a3a5169
parentfeat(ada_ls): alire.toml #3667 (diff)
downloadnvim-lspconfig-bbb24305bc2083bf95be17814786f681bd380e0b.tar
nvim-lspconfig-bbb24305bc2083bf95be17814786f681bd380e0b.tar.gz
nvim-lspconfig-bbb24305bc2083bf95be17814786f681bd380e0b.tar.bz2
nvim-lspconfig-bbb24305bc2083bf95be17814786f681bd380e0b.tar.lz
nvim-lspconfig-bbb24305bc2083bf95be17814786f681bd380e0b.tar.xz
nvim-lspconfig-bbb24305bc2083bf95be17814786f681bd380e0b.tar.zst
nvim-lspconfig-bbb24305bc2083bf95be17814786f681bd380e0b.zip
docs: update configs.md
skip-checks: true
-rw-r--r--doc/configs.md4
-rw-r--r--doc/configs.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/configs.md b/doc/configs.md
index 5396fbd3..2b3d2493 100644
--- a/doc/configs.md
+++ b/doc/configs.md
@@ -368,7 +368,9 @@ 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 `ada_ls.setup{}`:
+Workspace-specific [settings](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) such as `projectFile` can be provided in a `.als.json` file at the root of the workspace.
+
+Alternatively, configuration may be passed as a "settings" object to `ada_ls.setup{}`:
```lua
require('lspconfig').ada_ls.setup{
diff --git a/doc/configs.txt b/doc/configs.txt
index 5e85dc81..57dcef61 100644
--- a/doc/configs.txt
+++ b/doc/configs.txt
@@ -14,7 +14,9 @@ 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 `ada_ls.setup{}`:
+Workspace-specific [settings](https://github.com/AdaCore/ada_language_server/blob/master/doc/settings.md) such as `projectFile` can be provided in a `.als.json` file at the root of the workspace.
+
+Alternatively, configuration may be passed as a "settings" object to `ada_ls.setup{}`:
```lua
require('lspconfig').ada_ls.setup{