I often reach for the `dbg!` macro before realizing it does not work,
and there is no good alternative. The best that currently exists is
`log::error!` which always prints, but it lacks many features of `dbg!`
This `dbg!` macro is the same as `std`'s `dbg!`, the only difference
being the fact that it uses `log::error!` instead of `eprintln!` under
the hood
I've also added instructions to `CONTRIBUTING.md` to use it - as I
believe it is really useful
Git can be configured to push tags with `push.followTags` but this is
not the default. Pushing the tag explicitly with `git push <remote>
<tag>` is generally considered safer anyways since it only attempts to
push the desired tag.
These haven't been updated in a little while. The original plan was to
update the version (in `Cargo.toml`) after a release to the next
planned release date but the way we release now is to update the version
as a part of the release process (just before tagging). Typically this
is all taken care of in the CHANGELOG-updating branch along with the
other documentation changes like the appdata file. The workflow now is
basically just to merge the changelog/release branch, pull, tag and push.
This is a rather large refactor that moves most of the code for
loading, fetching, and building grammars into a new helix-loader
module. This works well with the [[grammars]] syntax for
languages.toml defined earlier: we only have to depend on the types
for GrammarConfiguration in helix-loader and can leave all the
[[language]] entries for helix-core.
helix-syntax mostly existed for the sake of the build task which
checks and compiles the submodules. Since we won't be relying on
that process anymore, it doesn't end up making much sense to have
a very thin crate just for some functions that we could port to
helix-core.
The remaining build-related code is moved to helix-term which will
be able to provide grammar builds through the --build-grammars CLI
flag.
* Add a "vision" document, to help give people a sense of Helix's direction.
* Fix typo in vision document.
* Fix spelling errors in vision document.
Caught in PR review. Thanks!