Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Refactor handling of mouse events (#2893) | Gokul Soumya | 2022-06-27 |
| | | | | | | - Simplified match statements by destructuring MouseEvent struct at the top and then matching on event.kind. - Extracted out closures for calculating (1) position and view of mouse click and (2) gutter coordinates and view of mouse click. | ||
* | Add cursorline scope for onedark theme (#2892) | Gokul Soumya | 2022-06-27 |
| | |||
* | update meliora theme (#2890) | ramojus | 2022-06-27 |
| | |||
* | feat: highlight / select symbol under cursor using LSP ↵ | lazytanuki | 2022-06-27 |
| | | | | | | | | | textDocument/documentHighlight (#2738) * feat: highlight symbol under cursor using LSP textDocument/documentHighlight * fix: please clippy * fix: shorter description and code style | ||
* | Only draw cursorline in the currently focused buffer | Blaž Hrastnik | 2022-06-27 |
| | |||
* | Fix tests again | Blaž Hrastnik | 2022-06-27 |
| | |||
* | Remove some more unwraps | Blaž Hrastnik | 2022-06-27 |
| | |||
* | Add a default cursorline style for the primary selection | Blaž Hrastnik | 2022-06-27 |
| | |||
* | Implement cursorline (#2170) | Tobias Menzi | 2022-06-27 |
| | | | | | * Implement cursorline * Binary search possible lines | ||
* | Right align scrollbar with track in completion popup (#2754) | Gokul Soumya | 2022-06-27 |
| | | | | | - Align the scollbar to the right edge of the popup rather than at a margin of one. - Add a scrollbar track and a new scope `ui.menu.scroll`. | ||
* | add meliora theme (#2884) | Ramojus | 2022-06-27 |
| | |||
* | languages: Fix ruby rakefile and gemfile file type (#2875) | Kihaya Sugiura | 2022-06-26 |
| | |||
* | Add single width left margin for completion popup (#2728) | Gokul Soumya | 2022-06-26 |
| | | | | | | | | | | | | | | * Add single width left margin for completion popup * Clear with ui.menu style before rendering menu When rendering a completion popup, the popup component will clear the area with ui.popup and then the menu component would draw over it using a table component. We remove the left edge of the area before passing it to the table component (so that it will be left as padding), and the table component uses ui.menu as the style. If ui.menu and ui.popup are different the left edge of the popup will look different from the rest of the popup. We avoid this by clearing the whole area with ui.menu in Menu::render | ||
* | book: fix the description of dot repeat (#2878) | Amit Beka | 2022-06-25 |
| | | | Co-authored-by: amitbeka <---> | ||
* | Fix edge-case in tree-sitter expand_selection selection command (#2877) | Triton171 | 2022-06-25 |
| | | | Co-authored-by: Triton171 <triton0171@gmail.com> | ||
* | [Theme] Acme (#2876) | two-six | 2022-06-25 |
| | |||
* | feat: add wgsl_analyzer as wgsl language server (#2872) | Hekno25 | 2022-06-24 |
| | |||
* | fixes showing the last prompt on empty input (#2870) | Saber Haj Rabiee | 2022-06-24 |
| | |||
* | check selection's visible width when copying on mouse click (#2711) | Michael Davis | 2022-06-24 |
| | | | | | | | | | | | | | | * check selection's visible width when copying on mouse click Mouse-click-up copies the selection produced by dragging. The event is ignored if the selection has a width of 1 though so you don't copy when clicking rather than dragging. The current check copies text when it has a visible width of 1 but is actually multiple characters in the rope like a CRLF line-ending. With this change we check the unicode width of the character(s) in the selection rather than the range length, so clicking on a CRLF line-ending does not copy. * use range.fragment to simplify getting the primary selection width | ||
* | Redetect indent and line endings after language server replaces documents ↵ | farwyler | 2022-06-24 |
| | | | | | | | | | | | (#2778) * redetect indent and line endings after language server replaces document * removes nested if * always redetect indent and line endings after format This reverts commit 764d14f55894dc7213e48022dfa0f91829b8ef59. | ||
* | fixes #2856 by resetting style on diagnostic (#2861) | Seth Bromberger | 2022-06-22 |
| | |||
* | Fix scrollbar length proportional to total menu items (#2860) | Gokul Soumya | 2022-06-22 |
| | | | | | | The scrollbar length used to increase with more entries in the menu, which was counter-intuitive to how scrollbars worked in most applications. Turns out there was a typo in the floor division implementation :) | ||
* | update tree-sitter-nickel to include ' in ident (#2859) | Erin van der Veen | 2022-06-22 |
| | | | | see https://github.com/nickel-lang/tree-sitter-nickel/pull/9 and https://github.com/tweag/nickel/pull/737 | ||
* | build(nix): update flake deps, add default.nix file | Yusuf Bera Ertan | 2022-06-21 |
| | |||
* | build(deps): bump regex from 1.5.4 to 1.5.5 (#2851) | dependabot[bot] | 2022-06-21 |
| | | | | | | | | | | | | | | | | Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.5. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | ||
* | Remove a couple more unwraps | Blaž Hrastnik | 2022-06-21 |
| | |||
* | Merge pull request #2359 from dead10ck/test-harness | Blaž Hrastnik | 2022-06-21 |
|\ | | | | | Integration testing harness | ||
| * | Merge branch 'master' into test-harness | Blaž Hrastnik | 2022-06-21 |
| |\ | |||
| * | | replace phrase in tests | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | factor new Application with file arg to function | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | update docs for integration tests | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | add integration-test cargo alias | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | fix(command): write-quit: do not quit if write fails | Skyler Hawthorne | 2022-06-19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | During write-quit, if the file fails to be written for any reason, helix will still quit without saving the changes. This fixes this behavior by introducing fallibility to the asynchronous job queues. This will also benefit all contexts which may depend on these job queues. Fixes #1575 | ||
| * | | add test for write-quit happy path | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | rename test helpers | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | consolidate idle timer logic, make conditional | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | ignore failing write path tests until fixes are merged | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | rename top level module to satisfy cargo fmt | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | use a read only file to ensure write failure | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | use system's appropriate line ending | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | need the full languages config for integration tests | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | don't read from stdin for integration tests | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | use env var for integration test log level | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | use test terminal backend for integration tests | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | Add more context; Editor::open doesn't need to own path | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | use Results in integration tests for more error context | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | add integration feature to github tests | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | use idle timer instead of fixed timeout | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | tests for buffer-close | Skyler Hawthorne | 2022-06-19 |
| | | | |||
| * | | tests for serialized writes | Skyler Hawthorne | 2022-06-19 |
| | | |