aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* build(deps): bump which from 4.2.2 to 4.2.4 (#1577)dependabot[bot]2022-01-25
| | | | | | | | | | | | | | | | Bumps [which](https://github.com/harryfei/which-rs) from 4.2.2 to 4.2.4. - [Release notes](https://github.com/harryfei/which-rs/releases) - [Commits](https://github.com/harryfei/which-rs/compare/4.2.2...4.2.4) --- updated-dependencies: - dependency-name: which 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 clipboard-win from 4.3.0 to 4.4.1 (#1578)dependabot[bot]2022-01-25
| | | | | | | | | | | | | | | | Bumps [clipboard-win](https://github.com/DoumanAsh/clipboard-win) from 4.3.0 to 4.4.1. - [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>
* Enable tree-sitter for .zshenv and zsh files (#1574)Eric Crosson2022-01-24
| | | | | This commit builds on #1460, #1571, and others, adding the .zshenv file and all files with the zsh extension to the file-types using bash syntax-highlighting.
* [theme] Serika light and dark (#1566)VuiMuich2022-01-24
| | | | | * add theme `serika` in light and dark variant * add `markup.*`s
* Enable tree-sitter for .bash_profile (#1571)chunghha2022-01-24
|
* Use markup scopes for the Markdown component (#1363)CossonLeo2022-01-24
|
* Fix picker won't scroll down when it hits the bottom #1544 (#1567)Benjamin2022-01-23
|
* Allow specifying file start position (#445)Ivan Tham2022-01-23
| | | Like helix-term/src/commands.rs:3426:15
* Enable tree-sitter for .zshrc and .bashrcBlaž Hrastnik2022-01-23
| | | | Closes #1460
* Fix Clippy lints in tests (#1563)Omnikar2022-01-23
| | | Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
* Merge pull request #1154 from sudormrfbin/cursor-shape-newBlaž Hrastnik2022-01-23
|\ | | | | Change cursor shape on mode change
| * Merge branch 'master' into cursor-shape-newGokul Soumya2022-01-09
| |\
| * \ Merge branch 'master' into cursor-shape-newGokul Soumya2022-01-06
| |\ \
| * | | Manually draw all block cursorsGokul Soumya2021-12-23
| | | |
| * | | Merge branch 'master' into cursor-shape-newGokul Soumya2021-12-18
| |\ \ \
| * | | | Remove ui.cursor.primary and hashmap lookupsGokul Soumya2021-12-18
| | | | |
| * | | | Change default cursors to block for all modesGokul Soumya2021-11-29
| | | | |
| * | | | Use serde attribute to rename to lowercaseGokul Soumya2021-11-25
| | | | |
| * | | | Change cursor shape on mode changeGokul Soumya2021-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes #323. Due to terminal limitations we can only change the shape of the primary cursor.
* | | | | Add haskell-language-server-wrapper --lsp to default `languages.toml` (#1556)Kyra2022-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | After the changes to upgrade and reenable tree-sitter-haskell #1417 for the purpose of enabling Haskell syntax highlighting #1384, we might as well take the final step.
* | | | | cargo fmt + clippy lintBlaž Hrastnik2022-01-23
| | | | |
* | | | | Remove some TODOsBlaž Hrastnik2022-01-23
| | | | |
* | | | | Update dependencies (includes tree-sitter 0.20.3)Blaž Hrastnik2022-01-23
| | | | |
* | | | | Don't calculate symbol width twiceBlaž Hrastnik2022-01-23
| | | | | | | | | | | | | | | | | | | | This is potentially costly so we should avoid calling width()
* | | | | cleanupBlaž Hrastnik2022-01-23
| | | | |
* | | | | fix: ensure_grapheme_boundary_next_byte needs to index at valid charBlaž Hrastnik2022-01-23
| | | | |
* | | | | Slicing micro-optimizationBlaž Hrastnik2022-01-23
| | | | |
* | | | | Set flags necessary for cargo-flamegraphBlaž Hrastnik2022-01-23
| | | | |
* | | | | Speed up ensure_next_boundary during renderBlaž Hrastnik2022-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code: let start = ensure_grapheme_boundary_next(text, text.byte_to_char(start)); let end = ensure_grapheme_boundary_next(text, text.byte_to_char(end)); Would convert byte to char index, but then internally immediately convert back to byte index, operate on it, then convert it to char index. This change reduces the amount of time spent in ensure_grapheme_boundary from 29% to 2%.
* | | | | Make Layer::parse take &mut tree_sitter::ParserBlaž Hrastnik2022-01-23
| | | | |
* | | | | Use filter_map rather than flat_mapBlaž Hrastnik2022-01-23
| | | | |
* | | | | Set byte range on cursor againBlaž Hrastnik2022-01-23
| | | | |
* | | | | Only call scopes.load() onceBlaž Hrastnik2022-01-23
| | | | |
* | | | | Resolve some outdated commentsBlaž Hrastnik2022-01-23
| | | | |
* | | | | fix: Skip modifying the root layer range, it always covers 0..maxBlaž Hrastnik2022-01-23
| | | | |
* | | | | Update range markers so we can determine which layers can be reusedBlaž Hrastnik2022-01-23
| | | | |
* | | | | Try to reuse an existing layer based on layer.rangesBlaž Hrastnik2022-01-23
| | | | |
* | | | | Ignore layers without highlight captures, avoid cloning rangesBlaž Hrastnik2022-01-23
| | | | |
* | | | | Reuse the source slice between layersBlaž Hrastnik2022-01-23
| | | | |
* | | | | Store theme scopes on the loader, this way theme isn't passed aroundBlaž Hrastnik2022-01-23
| | | | |
* | | | | syntax: Split parsing and highlightingBlaž Hrastnik2022-01-23
| | | | |
* | | | | Add markup support (#1525)NNB2022-01-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add markup support for all Base16 themes * Fix rose_pine `markup.link.text` attribute misname * Add basic default markup support for all themes * Fix cursor change color on Base16 terminal and default * Remove old markup monokai_pro support and fix Onedark `markup.link.text` attribute misname * Remove old markup dracula support
* | | | | docs: Fix typo in book (#1537)Daniel Flanagan2022-01-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * docs: Fix typo in book * Update book/src/usage.md Co-authored-by: Eric Crosson <EricCrosson@users.noreply.github.com> Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Eric Crosson <EricCrosson@users.noreply.github.com>
* | | | | Add `tag` to gruvbox theme (#1555)Rohan Jain2022-01-22
| | | | | | | | | | | | | | | Missed in the commit 943fca332e.
* | | | | dracula theme: add markup support (#1554)Sebastian Zivota2022-01-22
| | | | |
* | | | | 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>