aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fix(write): do not set new path on document until write succeedsSkyler Hawthorne2022-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 writesSkyler Hawthorne2022-10-19
| | | | Make sure buffer-close waits for the document to finish its writes.
* chore(write): serialize write operations within a DocumentSkyler Hawthorne2022-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.
* Fix link to textobjects usage from keymap documentation (#4357)Peter Phillips2022-10-19
|
* Fix deleting word from end of buffer (#4328)Jonathan LEI2022-10-19
|
* Add a first version of kanagawa theme (#4300)zetashift2022-10-19
|
* display tree sitter scopes in a popup (#4337)Roberto Vidal2022-10-18
|
* Use the same `WalkBuilder` configuration for the global search file picker ↵Philipp Mildenberger2022-10-18
| | | | | as the default file picker (#4334) Skip searching .git in global search, similar to how file picker skips listing files in .git.
* build(deps): bump cachix/install-nix-action from 17 to 18 (#4340)dependabot[bot]2022-10-18
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump tokio-stream from 0.1.10 to 0.1.11 (#4341)dependabot[bot]2022-10-18
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump cachix/cachix-action from 10 to 11 (#4339)dependabot[bot]2022-10-18
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump tree-sitter-elixir (#4333)Clay2022-10-17
|
* Replace `in_bounds` with calculation of end_indentA-Walrus2022-10-17
| | | | | | Instead of repeatedly checking if it is in_bounds, calculate the max_indent beforehand and just loop. I added a debug_assert to "prove" that it never tries drawing out of bounds.
* Only draw indent guides within boundsA-Walrus2022-10-17
| | | | | | Better performance, and otherwise very long lines with lots of tabs will wrap around the u16 and come back on the other side, messing up the beginning skip_levels.
* Make skip_levels a u8A-Walrus2022-10-17
|
* Fix rendering of lines longer than 2^16A-Walrus2022-10-17
| | | | | Before things would be cast to u16 earlier than needed, which would cause problems for insanely long lines (longer than 2^16 ~ 65 thousand)
* Change diagnostic picker keybind to <space>d (#4229)Gokul Soumya2022-10-17
| | | | | | | Also changes workspace diagnostic picker bindings to <space>D and changes the debug menu keybind to <space>g, the previous diagnostic picker keybind. This brings the diagnostic picker bindings more in line with the jump to next/previous diagnostic bindings which are currently on ]d and [d.
* Support Cairo 0.10 syntaxBlaž Hrastnik2022-10-17
|
* Support Cairo 0.10 syntaxBlaž Hrastnik2022-10-17
|
* Fix Cairo comment tokenJonathan LEI2022-10-17
|
* Fix readability of highlighted text on the rose_pine themes using official ↵echoriiku2022-10-17
| | | | palettes (#4221)
* Fix selecting pop dark theme (#4323)Brandon Dong2022-10-17
|
* Log failures to load tree-sitter parsers as error (#4315)Michael Davis2022-10-16
| | | | | | | Info logs don't show up in the log file by default, but this line should: failures to load tree-sitter parser objects are useful errors. A parser might fail to load it is misconfigured (https://github.com/helix-editor/helix/pull/4303#discussion_r996448543) or if the file does not exist.
* Fix debug assertion for diagnostic sort order (#4319)Michael Davis2022-10-16
| | | | | | | The debug assertion that document diagnostics are sorted incorrectly panics for cases like `[161..164, 162..162]`. The merging behavior in the following lines that relies on the assertion only needs the input ranges to be sorted by `range.start`, so this change simplifies the assertion to only catch violations of that assumption.
* Show keys required to enter each minor mode (#4302)Ben White-Horne2022-10-16
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* feat(csharp,debug): add C# debugger support (#4213)Filip Dutescu2022-10-15
|
* themes: Add `bogster_light` theme (#4265)Wojciech Kępka2022-10-15
| | | Co-authored-by: Wojciech Kępka <wojciech.kepka@softax.pl>
* themes: Update bogster theme (#4264)Wojciech Kępka2022-10-15
| | | Co-authored-by: Wojciech Kępka <wojciech.kepka@softax.pl>
* C# syntax highlight tweaks (#4285)Chickenkeeper2022-10-15
|
* Fixup Zig Indent Queries (#4281)Sora2022-10-15
|
* fix `:insert-output` doc: inserting output **before** each selection (#4286)ZJPzjp2022-10-15
|
* c/c++ highlighting: various tweaksSam McCall2022-10-15
| | | | | | | | | | - treat `restrict`/`_Atomic` like `const`/`volatile` => @keyword.storage.modifier - highlight `unsigned int` as builtin => @type.builtin - recognize `static_cast` and friends => @keyword - `template` is a kind of entity like `typename` => @keyword.storage.type - many declaration modifiers have nothing to do with storage/types (explicit, friend, access specifiers, inline in C++) => @keyword - fix floats highlighted as integer => @constant.numeric
* c/c++ highlights: *& are @type or @operator based on context (#4278)Sam McCall2022-10-15
|
* nit: remove a String allocation that is immediately used as an &str (#4277)Poliorcetics2022-10-14
|
* Changed Selection Yank Message (#4275)Nathaniel Graham2022-10-14
| | | Co-authored-by: Nathaniel Graham <ngraham@protonmail.com>
* Add support for Purescript language (#4242)Dario Oddenino2022-10-14
|
* Created heisenberg theme for helix editor (#4209)IrishMaestro2022-10-14
|
* Fix C++ syntax highlighting, and improve C & WGSL highlighting (#4079)Chickenkeeper2022-10-14
|
* Monokai Pro Octagon statusline modes (#4247)Ben Lee-Cohen2022-10-14
|
* tutor: Normalize key names, capitalization, etc.Tim Siegel2022-10-12
|
* book: Refer to keys by key names, not representationsTim Siegel2022-10-12
| | | | | | | | | | | | | | | | | | This is an attempt to clean up the inconsistent way that keys are written in various places. These rules require the fewest changes to the existing text. Use the "Key name", as defined in remapping.md, which uses "Some-Modifiers-PascalCaseKey". The "Representation", which uses "S-M-lowercasekey", is only used for configuration entries. For key combinations which do not present a popup, just present the keys one after the other, with no intervening space, like `]p`. For key combinations which present a popup, separate them with ` + `, like `Space + f`. The Ctrl modifier is called Ctrl, not Control.
* tutor: Minor grammar fixTim Siegel2022-10-12
| | | | No need to say additionally, as well, also, etc. One is enough.
* tutor: Clarify forward reference to "primary selection"Tim Siegel2022-10-12
|
* tutor: Clarify first multi-cursor exampleTim Siegel2022-10-12
| | | | | If the reader is unfortunate enough to place the cursor at the beginning of the line on step #1, subsequent steps will fail.
* tutor: Clarify forward reference to "select command"Tim Siegel2022-10-12
| | | | | | The phrase "Like the select command" suggests that the reader has been introduced to select already. That doesn't happen until the next chapter.
* Apply transactions to the jumplist for undo/redo (#4227)Michael Davis2022-10-12
| | | | | Undo/redo/earlier/later call `Document::apply_impl` which applies transactions to the document. These transactions also need to be applied to the view as in 0aedef0.
* Fix some commands not showing names in palette (#4223)Armin Ronacher2022-10-12
|
* Update tree-sitter-lua and add textobjects for Lua (#3552)Lennard Hofmann2022-10-12
|
* Fix append cursor location when selection anchor is at end of document (#4147)Graic2022-10-12
|
* Rearrange README.md slightly (#4206)Jacob Kiesel2022-10-11
|