You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Brian Hicks fbd274ed99 add README 6 months ago
nix bootstrap a cargo project with nix 6 months ago
src bootstrap a cargo project with nix 6 months ago
.envrc bootstrap a cargo project with nix 6 months ago
.gitignore bootstrap a cargo project with nix 6 months ago
Cargo.toml bootstrap a cargo project with nix 6 months ago
README.md add README 6 months ago
dev.sh bootstrap a cargo project with nix 6 months ago
shell.nix bootstrap a cargo project with nix 6 months ago

README.md

wrap-comment

wrap-comment is a little binary which will word-wrap comments in source code.

In:

-- this is a pretty long comment, right? I'd like it to be nicely formatted, mostly to please my sense of aesthetics, but also to fit nicely in blog posts and the like without adding line-wrapping properties that make my code look weird when printed or asking my reader having to scroll back and forth horizontally.

Out:

-- this is a pretty long comment, right? I'd like it to be nicely formatted,
-- mostly to please my sense of aesthetics, but also to fit nicely in blog
-- posts and the like without adding line-wrapping properties that make my
-- code look weird when printed or asking my reader having to scroll back and
-- forth horizontally.

Getting it

Once this software is done (it's not even close!) get it by cloning and running nix-env -if . in the root. Since I'm writing this mostly for me, I don't plan on compiling binaries, hosting them, signing them, etc.

License

wrap-comment is being developed in the open but is not open-source. To be honest, though, this is just because I don't want to pick a license right now. If you need this code for something, please let me know and we'll figure it out.