Consider ls_specific_settings in project configurations only for trusted projects

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2026-06-26 13:05:54 +02:00
1 parent d7a2026656
commit 5a867ff3fe
4 files changed
+18 -6

No files matched your search

+5 -2
View File
@@ -200,9 +200,12 @@ Most users will not need to adjust these settings.
:::
Under the key `ls_specific_settings` in `serena_config.yml`, you can you pass global per-language,
language server-specific configuration. You can use the same key in the project configuration files (`project.yml`
language server-specific configuration.
You can use the same key in the project configuration files (`project.yml`
and `project.local.yml` ) to override or extend the global settings for a specific project.
The settings are merged on top-level, meaning that project-level settings for a language will replace global settings for the same language.
The settings are merged on top-level, meaning that project-level settings for a language will replace global settings for the same language.
Note: Project-level settings are considered only for *trusted projects* (which are defined in the [global configuration](global-config)).
Structure: