Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use helix_view::apply_transaction in integration-tests | Michael Davis | 2022-10-20 |
| | | | | | | | `helix_view::apply_transaction` closes over `Document::apply` and `View::apply` to ensure that jumplist entries are updated when a document changes from a transaction. `Document::apply` shouldn't be called directly - this helper function should be used instead. | ||
* | chore(view): remove indent_unit helper fn (#4389) | Matouš Dzivjak | 2022-10-20 |
| | |||
* | Add support for D (#4372) | Garrett D'Amore | 2022-10-20 |
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com> | ||
* | Upgrade rescript tree sitter & highlights (#4356) | Jared Ramirez | 2022-10-20 |
| | | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com> | ||
* | fix(commands): no last picker error (#4387) | Matouš Dzivjak | 2022-10-20 |
| | |||
* | Allow using path suffixes to associate language file-types (#2455) | midnightexigent | 2022-10-20 |
| | | | | | | | | | | | | | | | | | | | | | | | | * feat(syntax): add strategy to associate file to language through pattern File path will match if it ends with any of the file types provided in the config. Also used this feature to add support for the .git/config and .ssh/config files * Add /etc/ssh/ssh_config to languages.toml * cargo xtask docgen * Update languages.md * Update languages.md * Update book/src/languages.md Co-authored-by: Ivan Tham <pickfire@riseup.net> * Update book/src/languages.md Co-authored-by: Ivan Tham <pickfire@riseup.net> Co-authored-by: Ivan Tham <pickfire@riseup.net> | ||
* | Merge pull request #2267 from dead10ck/fix-write-fail | Blaž Hrastnik | 2022-10-20 |
|\ | | | | | Write path fixes | ||
| * | fix tree_sitter_scopes | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | reduce LSP timeout to 3s | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fail if doc save sender is closed | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | Editor::flush_writes returns an error | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | Use flush_writes in application.close() | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | doc.close() now unused | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | Wire up save_queue as a part of new_document rather than open | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | Seems like this flush is unnecessary | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | Use a write_count to determine how many writes left to flush | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | Deduplicate flush_writes | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | Use a single save_queue on the editor | Blaž Hrastnik | 2022-10-19 |
| | | |||
| * | improve app close failure display | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix tests | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | review comments | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | remove Document::format_and_save | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | document should save even if formatter fails | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | remove Callback::Compositor variant | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | To reduce likelihood of accidental discarding of important callbacks | ||
| * | move language server refresh to document saved event handler | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix write scratch buffer to file | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | Save text in document saved events, use in status message | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | Rename doc save event names to past tense | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | Add note about log level for integration tests | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | various fixes in write-all path | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix erroneous write sender close | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | | | | | This was not distinguishing the error types when trying a receive on an empty receiver, which was erroneously causing the sender to be closed when trying to flush the writes when there were none | ||
| * | reset idle timer for all events | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix panic when view of pending write is closed | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | increase LSP shutdown timeout | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | The Clang LAP takes a long time to shut down on Windows | ||
| * | factor editor event handling into function | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix write-quit with auto format | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | | | write-quit will now save all files successfully even when there is auto formatting | ||
| * | fix modified status with auto format | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | improve reliability of shutdown | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | add conditional noop render back | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | It makes it much slower without stubbing this out | ||
| * | update write-quit to wait for saves | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix buffer-close | Skyler Hawthorne | 2022-10-19 |
| | | |||
| * | fix(write): do not set new path on document until write succeeds | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | | | | | If a document is written with a new path, currently, in the event that the write fails, the document still gets its path changed. This fixes it so that the path is not updated unless the write succeeds. | ||
| * | fix: buffer-close ensuring writes | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | Make sure buffer-close waits for the document to finish its writes. | ||
| * | chore(write): serialize write operations within a Document | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The way that document writes are handled are by submitting them to the async job pool, which are all executed opportunistically out of order. It was discovered that this can lead to write inconsistencies when there are multiple writes to the same file in quick succession. This seeks to fix this problem by removing document writes from the general pool of jobs and into its own specialized event. Now when a user submits a write with one of the write commands, a request is simply queued up in a new mpsc channel that each Document makes to handle its own writes. This way, if multiple writes are submitted on the same document, they are executed in order, while still allowing concurrent writes for different documents. | ||
* | | Update windows install instructions (#4351) | Alex | 2022-10-19 |
| | | |||
* | | Pretty print `tree-sitter-subtree` expression (#4295) | Fisher Darling | 2022-10-19 |
| | | |||
* | | Add `roots` for julia to languages.toml (#4361) | Sukera | 2022-10-19 |
| | | |||
* | | Merge pull request #4061 from pascalkuthe/undercurl-modifier | Blaž Hrastnik | 2022-10-19 |
|\ \ | |/ |/| | Support different kinds of underline rendering (updated) | ||
| * | merge underline-style and underline-color into a single table | Pascal Kuthe | 2022-10-13 |
| | | |||
| * | fix terminfo detection | Pascal Kuthe | 2022-10-12 |
| | |