File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,12 @@ select = "underline"
2525hidden = false
2626```
2727
28- <<<<<<< HEAD
2928You may also specify a file to use for configuration with the ` -c ` or
30- ` --config ` CLI argument: ` hx -c path/to/custom-config.toml ` .
31- =======
32- Editor configuration may also be overridden local to a project by creating
33- a ` config.toml ` file under a ` .helix ` directory. Its settings will be merged
34- with the configuration directory ` config.toml ` and the built-in configuration.
29+ ` --config ` CLI argument: ` hx -c path/to/custom-config.toml ` .
3530
36- >>>>>>> a4a8e122 (docs: add section about local config, written like the one for languages)
31+ Finally, you can have a ` config.toml ` local to a project by it under a ` .helix ` directory in your repository.
32+ Its settings will be merged with the configuration directory ` config.toml ` and the built-in configuration,
33+ if you have enabled the feature under ` [editor.security] ` in your global configuration.
3734
3835## Editor
3936
@@ -236,3 +233,13 @@ Example:
236233render = true
237234character = " ╎"
238235```
236+
237+ ### ` [editor.security] ` Section
238+
239+ Opt in to features that may put you at risk.
240+ It is possible to write malicious TOML files, so we suggest you keep the ` confirm_* ` options to their default value of ` true ` .
241+
242+ | Key | Description | Default |
243+ | --- | --- | --- |
244+ | ` load_local_config ` | Load a ` config.yaml ` from ` $PWD/.helix ` that will merge with your global configuration. | ` false ` |
245+ | ` confirm_local_config ` | Prompt the user at launch in order to accept the loading of a found local ` $PWD/.helix ` | ` true ` |
You can’t perform that action at this time.
0 commit comments