aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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>
* Fix :reflow panic by enusring cursor in view (#3733)A-Walrus2022-09-07
|
* Remove LspNotDefined, instead return an Option<>Blaž Hrastnik2022-09-07
|
* Handle formatter errors, and save anyway (#3684)A-Walrus2022-09-07
| | | If formatting fails, report error to log and save without formatting.
* Fix Rust attribute highlights (#3729)Michael Davis2022-09-07
|
* nix: fix highlighting rulesTimothy DeHerrera2022-09-07
| | | | | | | | * avoid coloring `identifier`s globally * fix function application when not part of `select_expression` * add `has_attribute_expression` highlighting * fix precendence for interpolation, which should be after select * highlight `@` as delimiter
* chore(ci): build AppImage for aarch64-linuxyvt2022-09-06
|
* chore(ci): build binary for aarch64-linuxyvt2022-09-06
|
* chore(ci): install a pre-release version of Crossyvt2022-09-06
|
* Theme: Rasmus (#3728)Rohit K Viswanath2022-09-06
|
* remove `^$` from injection regexsTimothy DeHerrera2022-09-06
|
* nix: add language injectionsTimothy DeHerrera2022-09-06
| | | | | | | | By simply placing a comment with the name of the desired language just before a multi-line string, that language will be injected. Also, common functions and attributes which are expected to be shell code are automatically injected.
* Update tree-sitter-diff (#3708)Michael Davis2022-09-06
| | | | | This change also renames the grammar from `git-diff` to `diff`. The grammar covers regular diff syntax so I renamed the repository a while ago.
* build(deps): bump tokio from 1.20.1 to 1.21.0 (#3716)dependabot[bot]2022-09-06
| | | | | | | | | | | | | | | | | Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.1 to 1.21.0. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.1...tokio-1.21.0) --- updated-dependencies: - dependency-name: tokio 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>
* build(deps): bump tree-sitter from 0.20.8 to 0.20.9 (#3719)dependabot[bot]2022-09-05
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump anyhow from 1.0.63 to 1.0.64 (#3718)dependabot[bot]2022-09-05
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump thiserror from 1.0.33 to 1.0.34 (#3717)dependabot[bot]2022-09-05
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump once_cell from 1.13.1 to 1.14.0 (#3715)dependabot[bot]2022-09-05
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Delete hooks.md (#3711)Kirawi2022-09-05
|
* Elixir: update tree-sitter queries (#3645)Clay2022-09-05
|
* xcopy - assume destination is a directory (#3686)NotAgentBilly2022-09-05
|
* Update tree-sitter-fish to latest commit (#3704)Lennard Hofmann2022-09-05
|
* Add file_picker_in_current_directory to keymap.md (#3701)Michael Kohl2022-09-05
|
* fix: View needs to retain the original scroll offset on splitBlaž Hrastnik2022-09-05
|
* Fix off-by-one in extend_line_above (#3689)Michael Davis2022-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | `extend_line_above` (and `extend_line` when facing backwards) skip a line when the current range does not fully cover a line. Before this change: foo b#[|a]#r baz With `extend_line_above` or `extend_line` selected the line above. #[|foo bar]# baz Which is inconsistent with `extend_line_below`. This commit changes the behavior to select the current line when it is not already selected. foo #[|bar]# baz Then further calls of `extend_line_above` extend the selection up line-wise.
* tree-sitter-solidity: Use upstream, update queriesBlaž Hrastnik2022-09-05
|
* fix: lsp: Don't send didOpen events for documents with no URLBlaž Hrastnik2022-09-04
| | | | Fixes #3683
* minor: Simplify another document_mut statementBlaž Hrastnik2022-09-04
|
* Look for the external formatter before invoking it (#3670)Michael Davis2022-09-04
| | | | | | | | Currently it is not possible to save a file with a language that has an external formatter configuration unless the external formatter is installed, even if the language has a Language Server configuration capable of auto-format. This change checks that the external formatter exists before using it to create a formatting callback.
* Fix typos in tutor (#3664)Fangrui Song2022-09-03
|
* Fix cargo doc warnings, and add GitHub action to ensure it (#3650)A-Walrus2022-09-03
|
* build(nix): update flake deps (#3663)Yusuf Bera Ertan2022-09-03
|
* Expand doc/view macros to allow fetching specific idBlaž Hrastnik2022-09-03
| | | | This simplifies the code and hides away unwraps
* lsp: Don't log "LSP not defined" errors in the logfileBlaž Hrastnik2022-09-03
|
* build(nix): update nci, refactor flake, seperate wrapping, add source ↵Yusuf Bera Ertan2022-09-02
| | | | filtering (#3657)
* update boo_berry theme for statusline and indent-guide (#3653)bootra2022-09-02
|
* Highlight SQL in `sqlx::{query,query_as}!()` in Rust (#3647)Charles Hall2022-09-02
|