diff options
| -rw-r--r-- | doc/configs.md | 4 | ||||
| -rw-r--r-- | 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{ |
