summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Re-sort diagnostics after transaction transform (#3895)Michael Davis2022-09-20
| | | | | | | | Applying document-change transactions to diagnostic ranges is not stable with respect to the ordering of diagnostics. This can cause diagnostics to become temporarily unordered with some edits to a document, which can eventually break some invariants/assumptions in syntax::merge. With this change, Document::diagnostics are always sorted.
* build(deps): bump textwrap from 0.15.0 to 0.15.1 (#3906)dependabot[bot]2022-09-19
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump unicode-segmentation from 1.9.0 to 1.10.0 (#3903)dependabot[bot]2022-09-19
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump unicode-width from 0.1.9 to 0.1.10 (#3902)dependabot[bot]2022-09-19
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump tokio from 1.21.0 to 1.21.1 (#3904)dependabot[bot]2022-09-19
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump thiserror from 1.0.34 to 1.0.35 (#3905)dependabot[bot]2022-09-19
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump anyhow from 1.0.64 to 1.0.65 (#3907)dependabot[bot]2022-09-19
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: xtask themelint (#3234)Alexander Brevig2022-09-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat: cargo xtask themelint <theme> * fix: add docs and print json error status * fix: refactor paths -> path * fix: remove unused function * fix: only report one err per scope (ui.statusline is reported if none of ui.statusline.* is recognized) * fix: save work for later * fix: finally decided on a design * fix: ready for discussion * fix: better rules * fix: lint precision * fix: String -> &'static str * fix: allowlist not denylist for file type * fix: add missing and indication of what's needed * fix: copy pasteable errors * fix: use Loader:read_names * Update xtask/src/helpers.rs Co-authored-by: Ivan Tham <pickfire@riseup.net> * fix: remove into and clone for str * Update book/src/themes.md Co-authored-by: Ivan Tham <pickfire@riseup.net> * fix: better lint output * fix: cleaner logic for lint reporting * style: use explicit imports * Pascal support (#3542) * fix: add difference check for statusline normal,insert,select * fix: fg for whitespace and early exit if and one is ok * chore: cleaning up, no idea how these got here or how this will look * chore: revert from older commit? * refactor: use static fn to equalize api between difference and existance * refactor: querycheck and clippy * refactor: clippy fixes * fix: query-check behaves as before * fix: error with x of y message, not total count * fix: consistent reporting and less mutable state * fix: selection difference ref #3942 ref #1833 Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: ath3 <45574139+ath3@users.noreply.github.com>
* raise msrv to 1.59 (#3896)Pascal Kuthe2022-09-19
|
* add `bass` language + highlighting (#3771)Alex Suraci2022-09-18
|
* Add Markdown LSP via MarksmanArtem Pyanykh2022-09-17
| | | | | | Marksman is an LSP server for Markdown: https://github.com/artempyanykh/marksman It supports a bunch of LSP features: symbols, references, rename, diag, etc. and already has integrations with emacs, neovim, and vscode.
* Fix typos (#3858)taupiqueur2022-09-17
|
* Add darcula theme based upon Intelij Darcula (#3739)Nick Ogden2022-09-16
|
* fix: Improving JSX and TSX indents (#3853)Benjamin Streit2022-09-16
|
* Improve flatwhite theme (#3843)Kristoffer Flottorp2022-09-16
| | | Co-authored-by: krfl <kr.fl@outlook.com>
* improve fleetish theme (#3844)Kristoffer Flottorp2022-09-16
| | | Co-authored-by: krfl <kr.fl@outlook.com>
* Canonicalize executable pathBen Noordhuis2022-09-13
| | | | | | | When looking up the runtime/ directory relative to the executable path, canonicalize the path first in case the executable is a symbolic link. Fixes #3768
* flake: Fix devShell on aarch64-darwin (#3810)Michael Davis2022-09-13
| | | | LLDB is marked broken on all arches except for x86_64-linux. With this change, I can use `nix develop` on aarch64-darwin.
* Remove border from code actions popup (#3444)A-Walrus2022-09-13
|
* Render html <code> tags as code in markdown (#3425)A-Walrus2022-09-13
|
* feat: Syntax highlighting for Astro files (#3829)Benjamin Streit2022-09-13
|
* add example config for all removed insert mode bindings (#3827)Skyler Hawthorne2022-09-13
|
* fix: map_err()? instead of unwrap (#3826)Alexander Brevig2022-09-13
|
* build(deps): bump url from 2.2.2 to 2.3.1 (#3828)dependabot[bot]2022-09-13
| | | | | | | | | | | | | | | | | Bumps [url](https://github.com/servo/rust-url) from 2.2.2 to 2.3.1. - [Release notes](https://github.com/servo/rust-url/releases) - [Commits](https://github.com/servo/rust-url/compare/v2.2.2...v2.3.1) --- updated-dependencies: - dependency-name: url dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Clean Up Nord Theme (#3792)Alex Mayer2022-09-12
| | | | | - Add markup styles - Replace custom colors with Nord colors - Clean up code spacing
* Remove arrow key recommendation from tutor (#3811)Michael Davis2022-09-12
|
* Make whitespace in monokai-pro-spectrum theme one step dimmer to avoid (#3814)Fanda Vacek2022-09-12
| | | | | the white space confusion with hyphen Co-authored-by: Fanda Vacek <fvacek@elektroline.cz>
* Update usage.md with paragraph textobject(#3797)Pablo Ovelleiro Corral2022-09-11
|
* Strip release binary by setting `profile.release.strip` in a pre-build step ↵yvt2022-09-11
| | | | | | | (#3780) * chore(ci): remove the strip step from the release CI workflow * chore(ci): set `profile.release.strip = true` in the release CI workflow
* Remove the .txt suffix from tutorBlaž Hrastnik2022-09-11
| | | | | | | | | | | | The tutor file is loaded as .txt which can potentially spawn a language server. Then the path is unset, but the LS remains active. This can cause panics since updates are now submitted for a doc with no path. As a quick workaround we remove the extension which should avoid detection. Fixes #3730
* Add textobject for gdscript (#3760)Erasin2022-09-10
|
* Add godot resource support (#3759)Erasin2022-09-10
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* chore: rename `.cargo/{config -> config.toml}`yvt2022-09-10
|
* chore(ci): upgrade `actions/upload-artifact` to v3yvt2022-09-10
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* chore(ci): support "preview" release CI runsyvt2022-09-10
| | | | | | | | | | | | | | Expands the trigger sources of the release CI workflow (`release.yml`), allowing the developers to test changes to `.github/workflows/release.yml` easily. The new trigger sources start the workflow in a "preview" mode, in which it publishes build outputs as a CI artifact instead of creating a new release so that they can be manually inspected. The following events trigger the preview mode: - Pushing to any branch matching the glob pattern `patch/ci-release-*`. - Opening a pull request that modifies `.github/workflows/release.yml`. - Pushing versioning tags to a forked repository.
* Enable CI builds for `riscv64-linux` (#3685)yvt2022-09-10
|
* Improve error handling for config-reload (#3668)A-Walrus2022-09-10
| | | | | | | * Don't change config to default when refreshing invalid config * Propely handle theme errors with config-reload * Extract refresh theme into seperate function
* Switch to Result for invalid languageA-Walrus2022-09-10
|
* Add error handling to set language commandA-Walrus2022-09-10
| | | | | If you type a nonexistant language an appropriate message will show, and the language won't be changed.
* Add `text` to language completerA-Walrus2022-09-10
|
* ordinals instead of indexes when listing grammar fetch errors (#3773)Evan Richter2022-09-10
|
* Add papercolor dark variant (#3742)Soc Virnyl S. Estela2022-09-09
|
* enable lint optionMatouš Dzivjak2022-09-08
| | | | | Enable lint option to highlight unused vars, etc. and take full advantage of the running language server.
* feat(lsp): jsonnet-language-serverMatouš Dzivjak2022-09-08
| | | | | Add jsonnet-language-server for jsonnet language. See: https://github.com/grafana/jsonnet-language-server
* change to openscad-lsp (#3750)ChemicalXandco2022-09-08
|
* Add "markdown" as a possible filetype (#3749)Akseli2022-09-08
|
* Remove default insert mode movement bindingsSkyler Hawthorne2022-09-08
| | | | | | | | | | Helix is first and foremost a modal editor. Willingness to support non-modal editing is there, but it is not one that should be encouraged with the default settings. There are an increasing number of users who are stumbling because they are trying to use Helix as a non-modal editor, so this is an effort to encourage new users to stop and take notice that Helix has a different paradigm than VSCode, Sublime, etc. Users can still add these bindings back to their own configs if they wish.
* feat(languages): jsonnet (#3714)Matouš Dzivjak2022-09-08
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add good default rulers when editing git messages (#3738)Benoît Cortier2022-09-07
| | | | | | | | | | | | | | | | | | | | | | | | Around 50 columns for the summary is good because it is often used as heading or as subject in emails. 72 columns for the body is generally good because some tools do not wrap long lines (`git log` with pager `less` is a good example). Helix's `:reflow` command is really good to help with the second point. Linux kernel documentation says: > For these reasons, the ``summary`` must be no more than 70-75 > characters, and it must describe both what the patch changes, as well > as why the patch might be necessary. It is challenging to be both > succinct and descriptive, but that is what a well-written summary > should do. Source: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst#n627 tpope: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html Commit message style guide for Git: https://commit.style/
* Add syntax highlighting for SML (#3692)Giorbo2022-09-07
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>