Skip to content

Commit bbb2430

Browse files
docs: update configs.md
skip-checks: true
1 parent de4b604 commit bbb2430

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

doc/configs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,9 @@ https://github.com/AdaCore/ada_language_server
368368

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

371-
Can be configured by passing a "settings" object to `ada_ls.setup{}`:
371+
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.
372+
373+
Alternatively, configuration may be passed as a "settings" object to `ada_ls.setup{}`:
372374

373375
```lua
374376
require('lspconfig').ada_ls.setup{

doc/configs.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ https://github.com/AdaCore/ada_language_server
1414

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

17-
Can be configured by passing a "settings" object to `ada_ls.setup{}`:
17+
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.
18+
19+
Alternatively, configuration may be passed as a "settings" object to `ada_ls.setup{}`:
1820

1921
```lua
2022
require('lspconfig').ada_ls.setup{

0 commit comments

Comments
 (0)