first draft of the README file

changed file extensions of bookmark and config file
This commit is contained in:
2025-01-22 23:04:36 +01:00
parent 9a3756f552
commit f5d1dfa485
3 changed files with 66 additions and 5 deletions
+3 -3
View File
@@ -60,7 +60,7 @@ pub struct StyleSettings {
#[default_value("default")]
pub stack_path_style: String,
#[style_config]
#[default_value("green")]
#[default_value("magenta")]
pub stack_punct_style: String,
#[style_config]
#[default_value("default")]
@@ -72,12 +72,12 @@ pub struct StyleSettings {
#[default_value("default")]
pub bookmarks_path_style: String,
#[style_config]
#[default_value("green")]
#[default_value("magenta")]
pub bookmarks_punct_style: String,
}
impl Config {
const CONFIG_FILE_NAME: &str = "navigate.conf";
const CONFIG_FILE_NAME: &str = "navigate.toml";
/// generates and populates a new instance of Config
pub fn new(styles_as_ansi_sequences: bool) -> Result<Self> {