We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's the time of the year when we do refactoring
string.gsub
min_indent
U.unwrap_cstr
string
string|bool
U.comment_str
U.commenter
U.uncomment_str
Op.blockwise
Op.blockwise_x
padding
(I'll add more stuff if needed)
The text was updated successfully, but these errors were encountered:
This maybe a breaking change if you are depending on the internal functions. So I'll create a tagged release first.
Sorry, something went wrong.
chore!: refactoring (#179)
761f63f
### Added - `utils.commenter()` - `utils.uncommenter()` ### Changed - `utils.{unwrap_cstr,parse_cstr}()` now returns `string, string` instead of `string|bool, string|bool` - Merged `Op.blockwise_x()` with `Op.blockwise()` - Removed `utils.get_padding()`, `utils.move_n_insert()` and `utils.grab_indent()` - Removed `utils.comment_str()` (Use `utils.commenter()`) - Removed `utils.uncomment_str()` (Use `utils.uncommenter()`) - Changed `utils.is_commented()` function signature. Resolve #177
Successfully merging a pull request may close this issue.
It's the time of the year when we do refactoring
string.gsub
string.gsub
is nice #176 (used wherever necessary)min_indent
arg intergerU.unwrap_cstr
to returnstring
instead ofstring|bool
U.comment_str
return closure | Renamed toU.commenter
U.uncomment_str
return closure (or return iterator)Op.blockwise
andOp.blockwise_x
makegain < effortpadding
arg interger(I'll add more stuff if needed)
The text was updated successfully, but these errors were encountered: