aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rwxr-xr-xlua/nvim_lsp/als.lua15
1 files changed, 14 insertions, 1 deletions
diff --git a/lua/nvim_lsp/als.lua b/lua/nvim_lsp/als.lua
index 7662b37d..33e44ec8 100755
--- a/lua/nvim_lsp/als.lua
+++ b/lua/nvim_lsp/als.lua
@@ -80,9 +80,22 @@ configs[server_name] = {
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 = { ... };
+ }
+ }
+}
+```
]];
default_config = {
- root_dir = [[util.root_pattern("Makefile")]];
+ root_dir = [[util.root_pattern("Makefile", ".git")]];
};
};
};