-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed tab issues, improved escapeinside behavior
- Loading branch information
Showing
17 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
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,3 +1,4 @@ | ||
/target | ||
.vimproject | ||
sample_latex_project | ||
builder_script.sh |
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ use std::path::Path; | |
#[derive(Parser)] | ||
#[command( | ||
author = "Tomáš Lebeda <[email protected]>", | ||
version = "1.0.0", | ||
version = "1.0.1", | ||
about = "Generate LaTeX for highlighted code listings with the power of TreeSitter." | ||
)] | ||
pub struct CliArgs { | ||
|
@@ -34,6 +34,10 @@ pub struct CliArgs { | |
#[arg(long, default_value_t = String::from("@>"))] | ||
pub escape_end: String, | ||
|
||
/// Tab size as a number of spaces | ||
#[arg(long, default_value_t = 4)] | ||
pub tab_size: usize, | ||
|
||
/// If enabled, the output will not be wrapped by verbatim environment, it will be only the "raw insides". | ||
#[arg(short, long)] | ||
pub raw: bool, | ||
|
Empty file.
Empty file.