aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.md b/README.md
index 981e9f02..65a476d6 100644
--- a/README.md
+++ b/README.md
@@ -265,6 +265,19 @@ https://github.com/AdaCore/ada_language_server
Ada language server. Use `LspInstall als` to install it.
+Can be configured by passing a "settings" object to `als.setup{}`:
+
+```lua
+require('nvim_lsp').als.setup{
+ settings = {
+ ada = {
+ projectFile = "project.gpr";
+ scenarioVariables = { ... };
+ }
+ }
+}
+```
+
Can be installed in Nvim with `:LspInstall als`
@@ -274,7 +287,7 @@ require'nvim_lsp'.als.setup{}
Default Values:
cmd = { "ada_language_server" }
filetypes = { "ada" }
- root_dir = util.root_pattern("Makefile")
+ root_dir = util.root_pattern("Makefile", ".git")
```
## bashls