Skip to content

Commit

Permalink
chore(term): create symlink to categories.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ymgyt committed Apr 17, 2024
1 parent 38ee114 commit c990584
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/synd_term/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true

include = ["src/**/*", "CHANGELOG.md"]
include = ["src/**/*", "CHANGELOG.md", "categories.toml"]
name = "synd-term"
version = "0.1.10"

Expand Down
1 change: 1 addition & 0 deletions crates/synd_term/categories.toml
2 changes: 1 addition & 1 deletion crates/synd_term/src/config/categories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct Categories {

impl Categories {
pub fn default_toml() -> Self {
let s = include_str!("../../../../categories.toml");
let s = include_str!("../../categories.toml");
let mut c: Self = toml::from_str(s).unwrap();
c.update_aliases();
c
Expand Down

0 comments on commit c990584

Please sign in to comment.