first draft of the README file
changed file extensions of bookmark and config file
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ pub struct Bookmarks {
|
||||
}
|
||||
|
||||
impl Bookmarks {
|
||||
const BOOKMARK_FILE_PATH: &str = "navigate/bookmarks.conf";
|
||||
const BOOKMARK_FILE_PATH: &str = "navigate/bookmarks";
|
||||
|
||||
/// generates and populates a new instance of Config
|
||||
pub fn new() -> Result<Self> {
|
||||
|
||||
+3
-3
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user