From 40c91279511f6f68faee0360c96c729198d22800 Mon Sep 17 00:00:00 2001 From: Jan De Dobbeleer Date: Fri, 4 Feb 2022 19:12:22 +0100 Subject: [PATCH] docs(python): correct default display mode resolves #1690 --- docs/docs/segment-python.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/segment-python.md b/docs/docs/segment-python.md index 04a3730d..4691e0ac 100644 --- a/docs/docs/segment-python.md +++ b/docs/docs/segment-python.md @@ -36,8 +36,8 @@ or not - defaults to `true` - display_mode: `string` - determines when the segment is displayed - `always`: the segment is always displayed - `files`: the segment is only displayed when `*.py`, `*.ipynb`, `pyproject.toml`, `venv.bak`, `venv`, or `.venv` - files are present (default) - - `environment`: the segment is only displayed when a virtual env is present + files are present + - `environment`: the segment is only displayed when a virtual env is present (default) - `context`: the segment is only displayed when either `environment` or `files` is active ## Template ([info][templates])