Skip to content

Commit ef70f3a

Browse files
committed
add documentation for the diff-source configuration option
1 parent f3e8e4b commit ef70f3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

book/src/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Its settings will be merged with the configuration directory `config.toml` and t
6565
| `workspace-lsp-roots` | Directories relative to the workspace root that are treated as LSP roots. Should only be set in `.helix/config.toml` | `[]` |
6666
| `default-line-ending` | The line ending to use for new documents. Can be `native`, `lf`, `crlf`, `ff`, `cr` or `nel`. `native` uses the platform's native line ending (`crlf` on Windows, otherwise `lf`). | `native` |
6767
| `insert-final-newline` | Whether to automatically insert a trailing line-ending on write if missing | `true` |
68+
| `diff-source` | The source to use for diff operations (gutter, `:diffg`, `]g`, etc). Can be `git`, `file` (uses the contents of the file on disk), or `none`. | `git` |
6869

6970
### `[editor.statusline]` Section
7071

0 commit comments

Comments
 (0)