aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* feat(languages): GraphQL (#1515)Jared Ramirez2022-01-21
| | | | | | | | | | | * Add Graphql language support * Fix docs gen * Add JS Graphql injection query * Updates based on PR feedback Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* change show_subtree command into ':tree-sitter-subtree' typable command (#1524)Michael Davis2022-01-21
| | | | | | | | | | | | | * add default keymap for show_subtree command * remove space+t keymap * add a typable command ':show-subtree' * generate documentation for ':show-subtree' * remove non-typable show_subtree command * ':show-subtree'->':tree-sitter-subtree'
* add markup support for monokai pro themes (#1553)WindSoilder2022-01-21
|
* add select_next_sibling and select_prev_sibling commands (#1495)Michael Davis2022-01-20
| | | | | | | | | | | | | | | | | | | * add select_next_sibling and select_prev_sibling commands * refactor objects to use higher order functions * address clippy feedback * move selection cloning into commands * add default keybindings under left/right brackets * use [+t,]+t for selecting sibling syntax nodes * setup Alt-{j,k,h,l} default keymaps for syntax selection commands * reduce boilerplate of select_next/prev_sibling in commands * import tree-sitter Node type in commands
* tree sitter comments injections (#1527)Mathis Brossier2022-01-20
| | | | | | | | | | | * tree sitter comments injections * trailing newlines & julia fix * Update runtime/queries/julia/injections.scm Co-authored-by: Michael Davis <michael.davis@nfiindustries.com> Co-authored-by: Michael Davis <michael.davis@nfiindustries.com>
* feat(languages): Elm (#1514)Jared Ramirez2022-01-20
| | | | | | | * Add Elm language support * Fix docs gen * Updates based on PR feedback
* Add terminal emulator to bug report (#1535)Ivan Tham2022-01-18
|
* build(deps): bump libloading from 0.7.2 to 0.7.3 (#1530)dependabot[bot]2022-01-18
| | | | | | | | | | | | | | | | Bumps [libloading](https://github.com/nagisa/rust_libloading) from 0.7.2 to 0.7.3. - [Release notes](https://github.com/nagisa/rust_libloading/releases) - [Commits](https://github.com/nagisa/rust_libloading/commits/0.7.3) --- updated-dependencies: - dependency-name: libloading dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump serde_json from 1.0.74 to 1.0.75 (#1531)dependabot[bot]2022-01-18
| | | | | | | | | | | | | | | | Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.74 to 1.0.75. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.74...v1.0.75) --- updated-dependencies: - dependency-name: serde_json dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump smallvec from 1.7.0 to 1.8.0 (#1532)dependabot[bot]2022-01-18
| | | | | | | | | | | | | | | | Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.7.0 to 1.8.0. - [Release notes](https://github.com/servo/rust-smallvec/releases) - [Commits](https://github.com/servo/rust-smallvec/compare/v1.7.0...v1.8.0) --- updated-dependencies: - dependency-name: smallvec dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Dependabot/cargo/pulldown cmark 0.9.1 (#1533)Skyler Hawthorne2022-01-18
| | | | | | | | | | | | | | | | | | | | * build(deps): bump pulldown-cmark from 0.8.0 to 0.9.1 Bumps [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark) from 0.8.0 to 0.9.1. - [Release notes](https://github.com/raphlinus/pulldown-cmark/releases) - [Commits](https://github.com/raphlinus/pulldown-cmark/compare/v0.8.0...v0.9.1) --- updated-dependencies: - dependency-name: pulldown-cmark dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * cmark 0.9 fixes Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(auto_pairs): fix auto pairs with crlf (#1470)Skyler Hawthorne2022-01-17
| | | | | | | | | | | Auto pairs were resulting in incorrect ranges in the resulting when the line terminators are CRLF (i.e. Windows). It turns out this is because when we were checking if the selection was a single-width cursor, it incorrectly assumed that this would be a single char. This is not the case, as a cursor can cover a multi-code point grapheme. Therefore, we must instead explicitly work with and check graphemes to determine if the cursor should move or extend the selection. Fixes #1436
* feat(languages): Lean experimental tree-sitter-lean (#1422)Anders Christiansen Sørby2022-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add experimental tree-sitter-lean * Run docgen * Copy over the queries from lean.nvim * Update .gitmodules Co-authored-by: Ivan Tham <pickfire@riseup.net> * Update lean highlights and run docgen * Update runtime/queries/lean/injections.scm Co-authored-by: Michael Davis <michael.davis@nfiindustries.com> * Lean: Move variable matcher to bottom * Update runtime/queries/lean/locals.scm Co-authored-by: Michael Davis <michael.davis@nfiindustries.com> Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: Michael Davis <michael.davis@nfiindustries.com>
* Update to rust 1.58, fix a bunch of optional lintsBlaž Hrastnik2022-01-16
|
* Fix panics when resizing (#1408)Mathis Brossier2022-01-16
| | | | | | | | | | | * Change buffer.get & buffer.get_mut to return Option, Implement Trait Index & IndexMut to panic * Prevent FilePicker from drawing outside buffer (rust panics) * apply suggestion * add function in_bounds to avoid useless calculations Co-authored-by: mathis <mathis.brossier@universite-paris-saclay.fr>
* Add modified background to dracula popup (#1434)Stuart Hinson2022-01-16
|
* Add alt-backspace, alt-<, alt->, ctrl-j to insert mode (#1441)WindSoilder2022-01-16
| | | | | | | | | * add alt-backspace keymap to delete word backward * add more useful keymap * map to correct command * add C-j to insert_newline
* fix(commands): run fmt for all documents being closed (#1444)Matouš Dzivjak2022-01-16
| | | | | | | When writing all documents, fmt wouldn't be run. Run fmt in close all implementation so that all documents are formatted if necessary. Fixes: https://github.com/helix-editor/helix/issues/1442
* Add `markup.` scopes in `gruvbox` themes (#1518)Rohan Jain2022-01-16
| | | As recommended by @archseer in https://github.com/helix-editor/helix/pull/1509#issuecomment-1013583069
* add show_subtree command for viewing tree-sitter subtree in Popup (#1453)Michael Davis2022-01-16
| | | | | | | * add show_subtree command for viewing tree-sitter subtree in Popup * remove '.slice(..)' from show_subtree command * name docs and subtree Popups 'hover'
* Update tree-sitter-php to latest upstream (#1521)Daniel S Poulin2022-01-16
| | | Brings in PHP 8.1 features, like enums, union types and the like.
* Re-enable haskell in languages.toml (#1520)Kirawi2022-01-16
|
* Use the correct language ID for JavaScript & TypeScript (#1466)Kevin Sjöberg2022-01-15
| | | | | | | * Use correct language ID for JavaScript/TypeScript * Add missing slash * Only calculate fallback when needed
* Add gruvbox-light theme (#1509)Rohan Jain2022-01-14
| | | Similar to `gruvbox`, add the light version as well.
* Update zig tree-sitter (#1501)voroskoi2022-01-14
| | | | | | use latest upstream version move comptime from @keyword.function to @keyword.directive use AssignOp enhance indents
* feat(languages): enable css tree-sitter for scss files (#1507)Matouš Dzivjak2022-01-14
| | | The grammer works fine for scss files to and it is better than no hihglighting at all
* Add pom.xml as maven root directory marker (#1496)Alexis Mousset2022-01-14
|
* buffer picker allow hsplit / vsplit (#1502)Mathis Brossier2022-01-14
|
* Fix Nix flake (#1455)Jared Ramirez2022-01-13
|
* Minor(book): Add `G` in normal mode (#1482)NexiNov2022-01-12
|
* remove outdated note (#1485)Kirawi2022-01-12
|
* Update tree-sitter-go with generics supportBlaž Hrastnik2022-01-11
|
* build(deps): bump clipboard-win from 4.2.2 to 4.3.0 (#1476)dependabot[bot]2022-01-10
| | | | | | | | | | | | | | | | Bumps [clipboard-win](https://github.com/DoumanAsh/clipboard-win) from 4.2.2 to 4.3.0. - [Release notes](https://github.com/DoumanAsh/clipboard-win/releases) - [Commits](https://github.com/DoumanAsh/clipboard-win/commits) --- updated-dependencies: - dependency-name: clipboard-win dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump signal-hook-tokio from 0.3.0 to 0.3.1 (#1477)dependabot[bot]2022-01-10
| | | | | | | | | | | | | | | | | Bumps [signal-hook-tokio](https://github.com/vorner/signal-hook) from 0.3.0 to 0.3.1. - [Release notes](https://github.com/vorner/signal-hook/releases) - [Changelog](https://github.com/vorner/signal-hook/blob/master/CHANGELOG.md) - [Commits](https://github.com/vorner/signal-hook/compare/v0.3.0...v0.3.1) --- updated-dependencies: - dependency-name: signal-hook-tokio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add tree-sitter-git-config (#1426)Michael Davis2022-01-09
| | | | | * add tree-sitter-git-config * add todo comment for improving filetype check
* docs: editor.filepicker -> editor.file-picker (#1465)Cottser2022-01-09
|
* Put some tests behind #[cfg(test)] (#1459)Benoît Cortier2022-01-08
| | | It was missing in a few places.
* expand_selection to current node with no children (#1454)Michael Davis2022-01-08
|
* docs: document @keyword.control.exception scopeEric Crosson2022-01-08
| | | | As identified in [this GitHub comment](https://github.com/helix-editor/helix/pull/1433#discussion_r777786140)
* feat: add tree-sitter-makeEric Crosson2022-01-08
| | | | | | | | This commit adds syntax highlighting for GNU Make[^1] makefiles via tree-sitter-make[^2]. [^1]: https://www.gnu.org/software/make/ [^2]: https://github.com/alemuller/tree-sitter-make
* Add fixity keywords to haskell's highlights.scmOwen Shepherd2022-01-08
|
* Upgrade haskell queriesOwen Shepherd2022-01-08
|
* Upgrade and reenable tree-sitter-haskellOwen Shepherd2022-01-08
|
* capture markdown link text as markup.link.text (#1456)Michael Davis2022-01-08
|
* Add default language server for JavaScript (#1457)Kevin Sjöberg2022-01-08
| | | | | * Add default language server for JavaScript * Update lang support documentation
* Rework beginning of themes chapterCJ van den Berg2022-01-07
| | | | The specifics of configuring themes has caused some confusion. Hopefully this will clarify things a little.
* add tree-sitter-regex (#1362)Michael Davis2022-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | * add tree-sitter-regex * adapt regex highlights from upstream * inject regex into elixir sigil_r/2 and sigil_R/2 * generate lang-support docs * capture interesting nodes in character-ranges * make $.character_class captures more consistent * fix fallthrough behavior for character classes * capture pattern characters as 'string' * use latest tree-sitter-regex * set elixir regex injections as combined * add link to upstream queries * inject regex in rust into 'Regex::new' raw string literals
* feat(commands): shrink_selection (#1340)Matouš Dzivjak2022-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * feat(commands): shrink_selection Add `shrink_selection` command that can be used to shrink previously expanded selection. To make `shrink_selection` work it was necessary to add selection history to the Document since we want to shrink the selection towards the syntax tree node that was initially selected. Selection history is cleared any time the user changes selection other way than by `expand_selection`. This ensures that we don't get some funky edge cases when user calls `shrink_selection`. Related: https://github.com/helix-editor/helix/discussions/1328 * Refactor shrink_selection, move history to view * Remove useless comment * Add default key mapping for extend&shrink selection * Rework contains_selection method * Shrink selection without expand selects first child
* Fix null and boolean constants in tree-sitter-nix highlights queries (#1428)Philipp Mildenberger2022-01-06
|
* fix: Use std::path::MAIN_SEPARATOR to determine completionBlaž Hrastnik2022-01-06
| | | | Refs #1439