This step was necessary to move logic from CLI to lib. Indeed, the
trait returned by get_mboxes needed to implement Table, which is
related to the CLI module only.
* modified gitignore
* fixing gitignore
* reomving the himalaya.iml file
* applied cargo fmt
* adding rust-toolchain
* restoring the .gitignore file
* make nix use rust-toolchain.toml
* add back rustfmt and rust-analyzer to buildInputs
I opened an issue to see if its the correct behaviour from the
overlay: https://github.com/oxalica/rust-overlay/issues/88.
* adding clippy to rust-toolchain.toml
Co-authored-by: Clément DOUIN <clement.douin@posteo.net>
* doc: fix blur in list msg screenshots (#181)
* fix a typo in mbox arg (#245)
`targetted` to `targeted` 👌🏻
* make inbox, sent and drafts folder customizable (#246)
* mbox: make inbox, sent and drafts folder customizable
* msg: update send handler parameters order
* vim: fix extracting message ids from list (#247)
The current method doesn't work because the list uses a fancy line
character (`│`) as the separator, not a regular pipe character (`|`).
Matching for the first number in the line instead solves the problem and
will continue to work regardless of what separator is used.
* add new line after printing strings (#251)
* init cargo workspace (#252)
* init cargo workspaces
* nix: fix assets path
* doc: update rtp vim plugin
* vim: add error message if loading vim plugin from vim/
* init sub crates (#253)
* init sub crates
* doc: update readme
* doc: improve main readme
* doc: add links, add missing crate task
* doc: update emojis
* update cargo lock
* implement contact completion with completefunc (#250)
This allows users to define a command for contact completion with
`g:himalaya_complete_contact_cmd` and trigger it with `<C-x><C-u>` when
writing an email.
* fix clippy lints (#255)
* revert cargo workspace feature
* fix nix run (#274)
* replace cargo2nix by naersk
* add rust-analyzer and rustfmt to nix build inputs
* remove wiki from git submodules, update changelog
* fix missing range when fetch fails, add more logs (#276)
* add missing fix in changelog
* remove blank lines and spaces from plain parts (#280)
* fix watch command (#271)
* remove also tabs from text parts (#280)
* pin native-tls minor version (#278)
* improve msg sanitization (#280)
* fix mbox vim plugin telescope preview (#249)
* bump version v0.5.2
* update changelog
Co-authored-by: Austin Traver <austintraver@gmail.com>
Co-authored-by: Jason Cox <dev@jasoncarloscox.com>
Co-authored-by: Gökmen Görgen <gkmngrgn@gmail.com>
Co-authored-by: Ethiraric <ethiraric@gmail.com>
* init table trait
* add shrink_col_index and max_width method to Table trait
* make unicodes work when shrinking
* improve readability of the table
* replace old table system with new one
* update changelog
* Add default.nix for nix support
* Convert to flake
* gitignore before building the source
* Add default.nix and shell.nix for legacy workflows
* Use https://github.com/oxalica/rust-overlay
This one works for development workflow, with a functional rust-analyzer for using with language server support in IDEs.
Also add .vscode/ for pre-configured settings.
* Add documentation
* Restore old TOC and apply TOC patch manually
* Clarify that these two commands are either-or
* Add installing from local checkout (nix-env)
* Add note about version update
* Improve Nix workflow, for zero maintenance
Use https://github.com/nmattia/naersk
This avoids having to set a sha and version in Nix scripts.
* Simplify using crate2nix
Ref: https://www.reddit.com/r/rust/comments/mmbfnj/nixifying_a_rust_project/
* Use rootCrate
* Propagate openssl deps to non-shell build
* Try the oxalica overlay
* Get rid of gitignore crate
cf. https://www.reddit.com/r/rust/comments/mmbfnj/nixifying_a_rust_project/gtsgxal/?context=3
* Configure himalaya crate under defaultCrateOverrides
* Specify openssl in buildInputs
* Make a note about a potential error when using Nix 2.4pre
* Remove PKG_CONFIG_PATH (unnecessary)
* Add cargo-watch
Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>
Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>