-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: migrate config to support KDL v2
This change updates kdl-rs to the latest release with support for KDL V2 spec. The release notes are [here](https://github.com/kdl-org/kdl/releases/tag/2.0.0) BREAKING CHANGE
- Loading branch information
Showing
8 changed files
with
197 additions
and
160 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,52 @@ | ||
// Configure the list of search paths used to search for valid workspaces. | ||
// Tux uses these valid workspaces as options to attach to. | ||
// paths { | ||
/-paths { | ||
// Workspace paths are paths to recursivly search to find valid workspaces. | ||
// Tux will recursivly search the workspace paths until the max depth is | ||
// reached. To override the default workspace value set optional | ||
// `default=false`. | ||
// `default=#false`. | ||
// | ||
// Default: | ||
// - "~" | ||
// | ||
// workspace default=true { | ||
// - "~/code" | ||
// } | ||
/-workspace default=#true { | ||
- "~/code" | ||
} | ||
|
||
// Single paths are paths that are added to the list of valid workspace | ||
// paths. This is useful if you want to add a path that would not be defined | ||
// as a valid workspace. | ||
// | ||
// Default: (empty) | ||
// | ||
// single default=false { | ||
// - "~/.config/nvim" | ||
// } | ||
// } | ||
/-single default=#false { | ||
- "~/.config/nvim" | ||
} | ||
} | ||
|
||
// Search depth for workspace paths. | ||
// Default: 5 | ||
// | ||
// depth 3 | ||
/-depth 3 | ||
|
||
// Select the repositories remote default branch if multiple worktrees are found. If the default | ||
// worktree cannot be found the fallback will be to select the correct one. | ||
// | ||
// Default: false | ||
// Default: #false | ||
// | ||
// default_worktree true | ||
/-default_worktree #true | ||
|
||
// Workspace directory crawler will prune the paths containing any of these components. | ||
// Options: | ||
// - default: boolean = true # Append to default value if true. | ||
// - default: boolean = #true # Append to default value if true. | ||
// | ||
// Default: | ||
// exclude_path default=true { | ||
// exclude_path default=#true { | ||
// - ".direnv" | ||
// - "node_modules" | ||
// } | ||
// | ||
// exclude_path { | ||
// - ".direnv" | ||
// - "node_modules" | ||
// } | ||
/-exclude_path { | ||
- ".direnv" | ||
- "node_modules" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters