From bbb24305bc2083bf95be17814786f681bd380e0b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 2 Apr 2025 13:39:31 +0000 Subject: docs: update configs.md skip-checks: true --- doc/configs.md | 4 +++- doc/configs.txt | 4 +++- 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{ -- cgit v1.3.1