summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix(command): write-quit: do not quit if write failsSkyler Hawthorne2022-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 pathSkyler Hawthorne2022-06-19
|
* rename test helpersSkyler Hawthorne2022-06-19
|
* consolidate idle timer logic, make conditionalSkyler Hawthorne2022-06-19
|
* ignore failing write path tests until fixes are mergedSkyler Hawthorne2022-06-19
|
* rename top level module to satisfy cargo fmtSkyler Hawthorne2022-06-19
|
* use a read only file to ensure write failureSkyler Hawthorne2022-06-19
|
* use system's appropriate line endingSkyler Hawthorne2022-06-19
|
* need the full languages config for integration testsSkyler Hawthorne2022-06-19
|
* don't read from stdin for integration testsSkyler Hawthorne2022-06-19
|
* use env var for integration test log levelSkyler Hawthorne2022-06-19
|
* use test terminal backend for integration testsSkyler Hawthorne2022-06-19
|
* Add more context; Editor::open doesn't need to own pathSkyler Hawthorne2022-06-19
|
* use Results in integration tests for more error contextSkyler Hawthorne2022-06-19
|
* add integration feature to github testsSkyler Hawthorne2022-06-19
|
* use idle timer instead of fixed timeoutSkyler Hawthorne2022-06-19
|
* tests for buffer-closeSkyler Hawthorne2022-06-19
|
* tests for serialized writesSkyler Hawthorne2022-06-19
|
* use main application event loopSkyler Hawthorne2022-06-19
| | | | Use the Application's main event loop to allow LSP, file writes, etc
* add test for ensuring the initial cursor on a newly opened fileSkyler Hawthorne2022-06-19
|
* reorganize tests into groupsSkyler Hawthorne2022-06-19
|
* refactor helpers, use new test helpersSkyler Hawthorne2022-06-19
|
* Fix initial selection of Document in new viewSkyler Hawthorne2022-06-19
| | | | | | | | | | | When a new View of a Document is created, a default cursor of 0, 0 is created, and it does not get normalized to a single width cursor until at least one movement of the cursor happens. This appears to have no practical negative effect that I could find, but it makes tests difficult to work with, since the initial selection is not what you expect it to be. This changes the initial selection of a new View to be the width of the first grapheme in the text.
* improve test harnessSkyler Hawthorne2022-06-19
| | | | | | | * Use new macro syntax for encoding sequences of keys * Make convenience helpers for common test pattern * Use indoc for inline indented raw strings * Add feature flag for integration testing to disable rendering
* Integration testing harnessBlaž Hrastnik2022-06-19
|
* Simplify handle_terminal_events signatureBlaž Hrastnik2022-06-19
|
* move config parsing back into mainSkyler Hawthorne2022-06-19
|
* Add "<<=" operator to Rust syntax highlighting (#2805)A-Walrus2022-06-18
|
* embed jsonrpc types from jsonrpc-core crate (#2801)Michael Davis2022-06-18
| | | | | | | | | | | | | | We should not depend on jsonrpc-core anymore: * The project just announced it's no longer actively maintained[^1], preferring their new implementation in `jsonrpsee`. * The types are too strict: we would benefit from removing some `#[serde(deny_unknown_fields)]` annotations to allow language servers that disrespect the spec[^2]. * We don't use much of the project. Just the types out of core. These are easy to embed directly into the `helix-lsp` crate. [^1]: https://github.com/paritytech/jsonrpc/pull/674 [^2]: https://github.com/helix-editor/helix/issues/2786
* HEEx: upgrade version and support new special_attribute node (#2800)Clay2022-06-17
|
* simplify some keymap key names follow up tests (#2694)Henry2022-06-17
|
* Update theme base16_default (`ui.menu`) (#2794)Grenier Célestin2022-06-17
|
* Restore section spacing in tutor. (#2791)nosa2022-06-16
|
* views -> buffers in write-all (#2788)Gygaxis Vainhardt2022-06-16
|
* Add clojure language support (#2780)Axot2022-06-16
| | | Co-authored-by: Mateusz Ledwoń <mateusz.ledwon@iteo.com>
* update tutor (#2716)nosa2022-06-15
| | | | | | | | | | | | | * update tutor * Capitalize "command mode ". * Update runtime/tutor.txt Editing mistake. Co-authored-by: Michael Davis <mcarsondavis@gmail.com> Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Update auto-pairs and idle-timeout when the config is reloaded (#2736)Bjorn Ove Hay Andersen2022-06-15
|
* Add migrate from Vim wiki link (#2781)Tennix2022-06-15
|
* Improve markdown list rendering (#2687)Frojdholm2022-06-15
| | | | | | | * Cleanup old commented code * Implement line breaks in markdown rendering * Implement markdown nested, numbered and multiparagraph lists
* Better handling of symlinks (#2718)Roland Kovacs2022-06-15
| | | | | | | | | | - Add file-picker.follow-symlinks configuration option (default is true), this also controls if filename and directory completers follow symlinks. - Update FilePicker to set editor error if opening a file fails, instead of panicing. Fix #1548 Fix #2246
* Introduce storage_class highlight scope (#2731)Anton Romanov2022-06-14
|
* simplify fallback for selected line-number theming (#2768)Michael Davis2022-06-14
|
* Add a check to prevent re-selecting same range (#2760)Ryang Sohn2022-06-14
|
* Cleanup for runtime/tutor.txt (#2590)Kappa2022-06-13
|
* Clarified the text in chapter 3 of the tutor (#2735)Bjorn Ove Hay Andersen2022-06-13
| | | | | * Clarified the text in chapter 3 of the tutor (#2725) * Adjusted section 3.1 to better show how C works
* Expand chapter one recap of tutorJonas Tepe2022-06-12
| | | | | This add the missing variant of entering insert mode to the chapter 1 recap section.
* add prisma tree-sitter and lsp support (#2703)Ivan2022-06-12
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Add docstring for language_server!() macro (#2750)Gokul Soumya2022-06-12
|
* Refactor textobject node capture (#2741)Gokul Soumya2022-06-11
|
* add rust-analyzer to shell environment (#2739)Daniel Hines2022-06-11
|