head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2022.12.07.17.08.38; author jperkin; state dead; branches; next 1.1; commitid yMnCsgX6sYK7fE4E; 1.1 date 2022.11.11.20.23.39; author nikita; state Exp; branches; next ; commitid 5XBXuom9lJsW9k1E; desc @@ 1.2 log @helix: Update to 22.12. Rework the pkgsrc infrastructure to simplify tree-sitter-depends.mk, rewrite the awk script to simplify things and support regular awk, and put it in the usual place. Also add support for Darwin (where this was tested). # 22.12 (2022-12-06) This is a great big release filled with changes from a 99 contributors. A big _thank you_ to you all! As usual, the following is a summary of each of the changes since the last release. For the full log, check out the [git log](https://github.com/helix-editor/helix/compare/22.08.1..22.12). Breaking changes: - Remove readline-like navigation bindings from the default insert mode keymap ([e12690e](https://github.com/helix-editor/helix/commit/e12690e), [#3811](https://github.com/helix-editor/helix/pull/3811), [#3827](https://github.com/helix-editor/helix/pull/3827), [#3915](https://github.com/helix-editor/helix/pull/3915), [#4088](https://github.com/helix-editor/helix/pull/4088)) - Rename `append_to_line` as `insert_at_line_end` and `prepend_to_line` as `insert_at_line_start` ([#3753](https://github.com/helix-editor/helix/pull/3753)) - Swap diagnostic picker and debug mode bindings in the space keymap ([#4229](https://github.com/helix-editor/helix/pull/4229)) - Select newly inserted text on paste or from shell commands ([#4458](https://github.com/helix-editor/helix/pull/4458), [#4608](https://github.com/helix-editor/helix/pull/4608), [#4619](https://github.com/helix-editor/helix/pull/4619), [#4824](https://github.com/helix-editor/helix/pull/4824)) - Select newly inserted surrounding characters on `ms` ([#4752](https://github.com/helix-editor/helix/pull/4752)) - Exit select-mode after executing `replace_*` commands ([#4554](https://github.com/helix-editor/helix/pull/4554)) - Exit select-mode after executing surround commands ([#4858](https://github.com/helix-editor/helix/pull/4858)) - Change tree-sitter text-object keys ([#3782](https://github.com/helix-editor/helix/pull/3782)) - Rename `fleetish` theme to `fleet_dark` ([#4997](https://github.com/helix-editor/helix/pull/4997)) Features: - Bufferline ([#2759](https://github.com/helix-editor/helix/pull/2759)) - Support underline styles and colors ([#4061](https://github.com/helix-editor/helix/pull/4061), [98c121c](https://github.com/helix-editor/helix/commit/98c121c)) - Inheritance for themes ([#3067](https://github.com/helix-editor/helix/pull/3067), [#4096](https://github.com/helix-editor/helix/pull/4096)) - Cursorcolumn ([#4084](https://github.com/helix-editor/helix/pull/4084)) - Overhauled system for writing files and quiting ([#2267](https://github.com/helix-editor/helix/pull/2267), [#4397](https://github.com/helix-editor/helix/pull/4397)) - Autosave when terminal loses focus ([#3178](https://github.com/helix-editor/helix/pull/3178)) - Use OSC52 as a fallback for the system clipboard ([#3220](https://github.com/helix-editor/helix/pull/3220)) - Show git diffs in the gutter ([#3890](https://github.com/helix-editor/helix/pull/3890), [#5012](https://github.com/helix-editor/helix/pull/5012), [#4995](https://github.com/helix-editor/helix/pull/4995)) - Add a logo ([dc1ec56](https://github.com/helix-editor/helix/commit/dc1ec56)) - Multi-cursor completion ([#4496](https://github.com/helix-editor/helix/pull/4496)) Commands: - `file_picker_in_current_directory` (`F`) ([#3701](https://github.com/helix-editor/helix/pull/3701)) - `:lsp-restart` to restart the current document's language server ([#3435](https://github.com/helix-editor/helix/pull/3435), [#3972](https://github.com/helix-editor/helix/pull/3972)) - `join_selections_space` (`A-j`) which joins selections and selects the joining whitespace ([#3549](https://github.com/helix-editor/helix/pull/3549)) - `:update` to write the current file if it is modified ([#4426](https://github.com/helix-editor/helix/pull/4426)) - `:lsp-workspace-command` for picking LSP commands to execute ([#3140](https://github.com/helix-editor/helix/pull/3140)) - `extend_prev_word_end` - the extend variant for `move_prev_word_end` ([7468fa2](https://github.com/helix-editor/helix/commit/7468fa2)) - `make_search_word_bounded` which adds regex word boundaries to the current search register value ([#4322](https://github.com/helix-editor/helix/pull/4322)) - `:reload-all` - `:reload` for all open buffers ([#4663](https://github.com/helix-editor/helix/pull/4663), [#4901](https://github.com/helix-editor/helix/pull/4901)) - `goto_next_change` (`]g`), `goto_prev_change` (`[g`), `goto_first_change` (`[G`), `goto_last_change` (`]G`) textobjects for jumping between VCS changes ([#4650](https://github.com/helix-editor/helix/pull/4650)) Usability improvements and fixes: - Don't log 'LSP not defined' errors in the logfile ([1caba2d](https://github.com/helix-editor/helix/commit/1caba2d)) - Look for the external formatter program before invoking it ([#3670](https://github.com/helix-editor/helix/pull/3670)) - Don't send LSP didOpen events for documents without URLs ([44b4479](https://github.com/helix-editor/helix/commit/44b4479)) - Fix off-by-one in `extend_line_above` command ([#3689](https://github.com/helix-editor/helix/pull/3689)) - Use the original scroll offset when opening a split ([1acdfaa](https://github.com/helix-editor/helix/commit/1acdfaa)) - Handle auto-formatting failures and save the file anyway ([#3684](https://github.com/helix-editor/helix/pull/3684)) - Ensure the cursor is in view after `:reflow` ([#3733](https://github.com/helix-editor/helix/pull/3733)) - Add default rulers and reflow config for git commit messages ([#3738](https://github.com/helix-editor/helix/pull/3738)) - Improve grammar fetching and building output ([#3773](https://github.com/helix-editor/helix/pull/3773)) - Add a `text` language to language completion ([cc47d3f](https://github.com/helix-editor/helix/commit/cc47d3f)) - Improve error handling for `:set-language` ([e8add6f](https://github.com/helix-editor/helix/commit/e8add6f)) - Improve error handling for `:config-reload` ([#3668](https://github.com/helix-editor/helix/pull/3668)) - Improve error handling when passing improper ranges to syntax highlighting ([#3826](https://github.com/helix-editor/helix/pull/3826)) - Render `` tags as raw markup in markdown ([#3425](https://github.com/helix-editor/helix/pull/3425)) - Remove border around the LSP code-actions popup ([#3444](https://github.com/helix-editor/helix/pull/3444)) - Canonicalize the path to the runtime directory ([#3794](https://github.com/helix-editor/helix/pull/3794)) - Add a `themelint` xtask for linting themes ([#3234](https://github.com/helix-editor/helix/pull/3234)) - Re-sort LSP diagnostics after applying transactions ([#3895](https://github.com/helix-editor/helix/pull/3895), [#4319](https://github.com/helix-editor/helix/pull/4319)) - Add a command-line flag to specify the log file ([#3807](https://github.com/helix-editor/helix/pull/3807)) - Track source and tag information in LSP diagnostics ([#3898](https://github.com/helix-editor/helix/pull/3898), [1df32c9](https://github.com/helix-editor/helix/commit/1df32c9)) - Fix theme returning to normal when exiting the `:theme` completion ([#3644](https://github.com/helix-editor/helix/pull/3644)) - Improve error messages for invalid commands in the keymap ([#3931](https://github.com/helix-editor/helix/pull/3931)) - Deduplicate regexs in `search_selection` command ([#3941](https://github.com/helix-editor/helix/pull/3941)) - Split the finding of LSP root and config roots ([#3929](https://github.com/helix-editor/helix/pull/3929)) - Ensure that the cursor is within view after auto-formatting ([#4047](https://github.com/helix-editor/helix/pull/4047)) - Add pseudo-pending to commands with on-next-key callbacks ([#4062](https://github.com/helix-editor/helix/pull/4062), [#4077](https://github.com/helix-editor/helix/pull/4077)) - Add live preview to `:goto` ([#2982](https://github.com/helix-editor/helix/pull/2982)) - Show regex compilation failure in a popup ([#3049](https://github.com/helix-editor/helix/pull/3049)) - Add 'cycled to end' and 'no more matches' for search ([#3176](https://github.com/helix-editor/helix/pull/3176), [#4101](https://github.com/helix-editor/helix/pull/4101)) - Add extending behavior to tree-sitter textobjects ([#3266](https://github.com/helix-editor/helix/pull/3266)) - Add `ui.gutter.selected` option for themes ([#3303](https://github.com/helix-editor/helix/pull/3303)) - Make statusline mode names configurable ([#3311](https://github.com/helix-editor/helix/pull/3311)) - Add a statusline element for total line count ([#3960](https://github.com/helix-editor/helix/pull/3960)) - Add extending behavior to `goto_window_*` commands ([#3985](https://github.com/helix-editor/helix/pull/3985)) - Fix a panic in signature help when the preview is too large ([#4030](https://github.com/helix-editor/helix/pull/4030)) - Add command names to the command palette ([#4071](https://github.com/helix-editor/helix/pull/4071), [#4223](https://github.com/helix-editor/helix/pull/4223), [#4495](https://github.com/helix-editor/helix/pull/4495)) - Find the LSP workspace root from the current document's path ([#3553](https://github.com/helix-editor/helix/pull/3553)) - Add an option to skip indent-guide levels ([#3819](https://github.com/helix-editor/helix/pull/3819), [2c36e33](https://github.com/helix-editor/helix/commit/2c36e33)) - Change focus to modified docs on quit ([#3872](https://github.com/helix-editor/helix/pull/3872)) - Respond to `USR1` signal by reloading config ([#3952](https://github.com/helix-editor/helix/pull/3952)) - Exit gracefully when the close operation fails ([#4081](https://github.com/helix-editor/helix/pull/4081)) - Fix goto/view center mismatch ([#4135](https://github.com/helix-editor/helix/pull/4135)) - Highlight the current file picker document on idle-timeout ([#3172](https://github.com/helix-editor/helix/pull/3172), [a85e386](https://github.com/helix-editor/helix/commit/a85e386)) - Apply transactions to jumplist selections ([#4186](https://github.com/helix-editor/helix/pull/4186), [#4227](https://github.com/helix-editor/helix/pull/4227), [#4733](https://github.com/helix-editor/helix/pull/4733), [#4865](https://github.com/helix-editor/helix/pull/4865), [#4912](https://github.com/helix-editor/helix/pull/4912), [#4965](https://github.com/helix-editor/helix/pull/4965), [#4981](https://github.com/helix-editor/helix/pull/4981)) - Use space as a separator for fuzzy matcher ([#3969](https://github.com/helix-editor/helix/pull/3969)) - Overlay all diagnostics with highest severity on top ([#4113](https://github.com/helix-editor/helix/pull/4113)) - Avoid re-parsing unmodified tree-sitter injections ([#4146](https://github.com/helix-editor/helix/pull/4146)) - Add extending captures for indentation, re-enable python indentation ([#3382](https://github.com/helix-editor/helix/pull/3382), [3e84434](https://github.com/helix-editor/helix/commit/3e84434)) - Only allow either `--vsplit` or `--hsplit` CLI flags at once ([#4202](https://github.com/helix-editor/helix/pull/4202)) - Fix append cursor location when selection anchor is at the end of the document ([#4147](https://github.com/helix-editor/helix/pull/4147)) - Improve selection yanking message ([#4275](https://github.com/helix-editor/helix/pull/4275)) - Log failures to load tree-sitter grammars as errors ([#4315](https://github.com/helix-editor/helix/pull/4315)) - Fix rendering of lines longer than 65,536 columns ([#4172](https://github.com/helix-editor/helix/pull/4172)) - Skip searching `.git` in `global_search` ([#4334](https://github.com/helix-editor/helix/pull/4334)) - Display tree-sitter scopes in a popup ([#4337](https://github.com/helix-editor/helix/pull/4337)) - Fix deleting a word from the end of the buffer ([#4328](https://github.com/helix-editor/helix/pull/4328)) - Pretty print the syntax tree in `:tree-sitter-subtree` ([#4295](https://github.com/helix-editor/helix/pull/4295), [#4606](https://github.com/helix-editor/helix/pull/4606)) - Allow specifying suffixes for file-type detection ([#2455](https://github.com/helix-editor/helix/pull/2455), [#4414](https://github.com/helix-editor/helix/pull/4414)) - Fix multi-byte auto-pairs ([#4024](https://github.com/helix-editor/helix/pull/4024)) - Improve sort scoring for LSP code-actions and completions ([#4134](https://github.com/helix-editor/helix/pull/4134)) - Fix the handling of quotes within shellwords ([#4098](https://github.com/helix-editor/helix/pull/4098)) - Fix `delete_word_backward` and `delete_word_forward` on newlines ([#4392](https://github.com/helix-editor/helix/pull/4392)) - Fix 'no entry found for key' crash on `:write-all` ([#4384](https://github.com/helix-editor/helix/pull/4384)) - Remove lowercase requirement for tree-sitter grammars ([#4346](https://github.com/helix-editor/helix/pull/4346)) - Resolve LSP completion items on idle-timeout ([#4406](https://github.com/helix-editor/helix/pull/4406), [#4797](https://github.com/helix-editor/helix/pull/4797)) - Render diagnostics in the file picker preview ([#4324](https://github.com/helix-editor/helix/pull/4324)) - Fix terminal freezing on `shell_insert_output` ([#4156](https://github.com/helix-editor/helix/pull/4156)) - Allow use of the count in the repeat operator (`.`) ([#4450](https://github.com/helix-editor/helix/pull/4450)) - Show the current theme name on `:theme` with no arguments ([#3740](https://github.com/helix-editor/helix/pull/3740)) - Fix rendering in very large terminals ([#4318](https://github.com/helix-editor/helix/pull/4318)) - Sort LSP preselected items to the top of the completion menu ([#4480](https://github.com/helix-editor/helix/pull/4480)) - Trim braces and quotes from paths in goto-file ([#4370](https://github.com/helix-editor/helix/pull/4370)) - Prevent automatic signature help outside of insert mode ([#4456](https://github.com/helix-editor/helix/pull/4456)) - Fix freezes with external programs that process stdin and stdout concurrently ([#4180](https://github.com/helix-editor/helix/pull/4180)) - Make `scroll` aware of tabs and wide characters ([#4519](https://github.com/helix-editor/helix/pull/4519)) - Correctly handle escaping in `command_mode` completion ([#4316](https://github.com/helix-editor/helix/pull/4316), [#4587](https://github.com/helix-editor/helix/pull/4587), [#4632](https://github.com/helix-editor/helix/pull/4632)) - Fix `delete_char_backward` for paired characters ([#4558](https://github.com/helix-editor/helix/pull/4558)) - Fix crash from two windows editing the same document ([#4570](https://github.com/helix-editor/helix/pull/4570)) - Fix pasting from the blackhole register ([#4497](https://github.com/helix-editor/helix/pull/4497)) - Support LSP insertReplace completion items ([1312682](https://github.com/helix-editor/helix/commit/1312682)) - Dynamically resize the line number gutter width ([#3469](https://github.com/helix-editor/helix/pull/3469)) - Fix crash for unknown completion item kinds ([#4658](https://github.com/helix-editor/helix/pull/4658)) - Re-enable `format_selections` for single selection ranges ([d4f5cab](https://github.com/helix-editor/helix/commit/d4f5cab)) - Limit the number of in-progress tree-sitter query matches ([#4707](https://github.com/helix-editor/helix/pull/4707), [#4830](https://github.com/helix-editor/helix/pull/4830)) - Use the special `#` register with `increment`/`decrement` to change by range number ([#4418](https://github.com/helix-editor/helix/pull/4418)) - Add a statusline element to show number of selected chars ([#4682](https://github.com/helix-editor/helix/pull/4682)) - Add a statusline element showing global LSP diagnostic warning and error counts ([#4569](https://github.com/helix-editor/helix/pull/4569)) - Add a scrollbar to popups ([#4449](https://github.com/helix-editor/helix/pull/4449)) - Prefer shorter matches in fuzzy matcher scoring ([#4698](https://github.com/helix-editor/helix/pull/4698)) - Use key-sequence format for command palette keybinds ([#4712](https://github.com/helix-editor/helix/pull/4712)) - Remove prefix filtering from autocompletion menu ([#4578](https://github.com/helix-editor/helix/pull/4578)) - Focus on the parent buffer when closing a split ([#4766](https://github.com/helix-editor/helix/pull/4766)) - Handle language server termination ([#4797](https://github.com/helix-editor/helix/pull/4797), [#4852](https://github.com/helix-editor/helix/pull/4852)) - Allow `r`/`t`/`f` to work on tab characters ([#4817](https://github.com/helix-editor/helix/pull/4817)) - Show a preview for scratch buffers in the buffer picker ([#3454](https://github.com/helix-editor/helix/pull/3454)) - Set a limit of entries in the jumplist ([#4750](https://github.com/helix-editor/helix/pull/4750)) - Re-use shell outputs when inserting or appending shell output ([#3465](https://github.com/helix-editor/helix/pull/3465)) - Check LSP server provider capabilities ([#3554](https://github.com/helix-editor/helix/pull/3554)) - Improve tree-sitter parsing performance on files with many language layers ([#4716](https://github.com/helix-editor/helix/pull/4716)) - Move indentation to the next line when using `` on a line with only whitespace ([#4854](https://github.com/helix-editor/helix/pull/4854)) - Remove selections for closed views from all documents ([#4888](https://github.com/helix-editor/helix/pull/4888)) - Improve performance of the `:reload` command ([#4457](https://github.com/helix-editor/helix/pull/4457)) - Properly handle media keys ([#4887](https://github.com/helix-editor/helix/pull/4887)) - Support LSP diagnostic data field ([#4935](https://github.com/helix-editor/helix/pull/4935)) - Handle C-i keycode as tab ([#4961](https://github.com/helix-editor/helix/pull/4961)) - Fix view alignment for jumplist picker jumps ([#3743](https://github.com/helix-editor/helix/pull/3743)) - Use OSC52 for tmux clipboard provider ([#5027](https://github.com/helix-editor/helix/pull/5027)) Themes: - Add `varua` ([#3610](https://github.com/helix-editor/helix/pull/3610), [#4964](https://github.com/helix-editor/helix/pull/4964)) - Update `boo_berry` ([#3653](https://github.com/helix-editor/helix/pull/3653)) - Add `rasmus` ([#3728](https://github.com/helix-editor/helix/pull/3728)) - Add `papercolor_dark` ([#3742](https://github.com/helix-editor/helix/pull/3742)) - Update `monokai_pro_spectrum` ([#3814](https://github.com/helix-editor/helix/pull/3814)) - Update `nord` ([#3792](https://github.com/helix-editor/helix/pull/3792)) - Update `fleetish` ([#3844](https://github.com/helix-editor/helix/pull/3844), [#4487](https://github.com/helix-editor/helix/pull/4487), [#4813](https://github.com/helix-editor/helix/pull/4813)) - Update `flatwhite` ([#3843](https://github.com/helix-editor/helix/pull/3843)) - Add `darcula` ([#3739](https://github.com/helix-editor/helix/pull/3739)) - Update `papercolor` ([#3938](https://github.com/helix-editor/helix/pull/3938), [#4317](https://github.com/helix-editor/helix/pull/4317)) - Add bufferline colors to multiple themes ([#3881](https://github.com/helix-editor/helix/pull/3881)) - Add `gruvbox_dark_hard` ([#3948](https://github.com/helix-editor/helix/pull/3948)) - Add `onedarker` ([#3980](https://github.com/helix-editor/helix/pull/3980), [#4060](https://github.com/helix-editor/helix/pull/4060)) - Add `dark_high_contrast` ([#3312](https://github.com/helix-editor/helix/pull/3312)) - Update `bogster` ([#4121](https://github.com/helix-editor/helix/pull/4121), [#4264](https://github.com/helix-editor/helix/pull/4264)) - Update `sonokai` ([#4089](https://github.com/helix-editor/helix/pull/4089)) - Update `ayu_*` themes ([#4140](https://github.com/helix-editor/helix/pull/4140), [#4109](https://github.com/helix-editor/helix/pull/4109), [#4662](https://github.com/helix-editor/helix/pull/4662), [#4764](https://github.com/helix-editor/helix/pull/4764)) - Update `everforest` ([#3998](https://github.com/helix-editor/helix/pull/3998)) - Update `monokai_pro_octagon` ([#4247](https://github.com/helix-editor/helix/pull/4247)) - Add `heisenberg` ([#4209](https://github.com/helix-editor/helix/pull/4209)) - Add `bogster_light` ([#4265](https://github.com/helix-editor/helix/pull/4265)) - Update `pop-dark` ([#4323](https://github.com/helix-editor/helix/pull/4323)) - Update `rose_pine` ([#4221](https://github.com/helix-editor/helix/pull/4221)) - Add `kanagawa` ([#4300](https://github.com/helix-editor/helix/pull/4300)) - Add `hex_steel`, `hex_toxic` and `hex_lavendar` ([#4367](https://github.com/helix-editor/helix/pull/4367), [#4990](https://github.com/helix-editor/helix/pull/4990)) - Update `tokyonight` and `tokyonight_storm` ([#4415](https://github.com/helix-editor/helix/pull/4415)) - Update `gruvbox` ([#4626](https://github.com/helix-editor/helix/pull/4626)) - Update `dark_plus` ([#4661](https://github.com/helix-editor/helix/pull/4661), [#4678](https://github.com/helix-editor/helix/pull/4678)) - Add `zenburn` ([#4613](https://github.com/helix-editor/helix/pull/4613), [#4977](https://github.com/helix-editor/helix/pull/4977)) - Update `monokai_pro` ([#4789](https://github.com/helix-editor/helix/pull/4789)) - Add `mellow` ([#4770](https://github.com/helix-editor/helix/pull/4770)) - Add `nightfox` ([#4769](https://github.com/helix-editor/helix/pull/4769), [#4966](https://github.com/helix-editor/helix/pull/4966)) - Update `doom_acario_dark` ([#4979](https://github.com/helix-editor/helix/pull/4979)) - Update `autumn` ([#4996](https://github.com/helix-editor/helix/pull/4996)) - Update `acme` ([#4999](https://github.com/helix-editor/helix/pull/4999)) - Update `nord_light` ([#4999](https://github.com/helix-editor/helix/pull/4999)) - Update `serika_*` ([#5015](https://github.com/helix-editor/helix/pull/5015)) LSP configurations: - Switch to `openscad-lsp` for OpenScad ([#3750](https://github.com/helix-editor/helix/pull/3750)) - Support Jsonnet ([#3748](https://github.com/helix-editor/helix/pull/3748)) - Support Markdown ([#3499](https://github.com/helix-editor/helix/pull/3499)) - Support Bass ([#3771](https://github.com/helix-editor/helix/pull/3771)) - Set roots configuration for Elixir and HEEx ([#3917](https://github.com/helix-editor/helix/pull/3917), [#3959](https://github.com/helix-editor/helix/pull/3959)) - Support Purescript ([#4242](https://github.com/helix-editor/helix/pull/4242)) - Set roots configuration for Julia ([#4361](https://github.com/helix-editor/helix/pull/4361)) - Support D ([#4372](https://github.com/helix-editor/helix/pull/4372)) - Increase default language server timeout for Julia ([#4575](https://github.com/helix-editor/helix/pull/4575)) - Use ElixirLS for HEEx ([#4679](https://github.com/helix-editor/helix/pull/4679)) - Support Bicep ([#4403](https://github.com/helix-editor/helix/pull/4403)) - Switch to `nil` for Nix ([433ccef](https://github.com/helix-editor/helix/commit/433ccef)) - Support QML ([#4842](https://github.com/helix-editor/helix/pull/4842)) - Enable auto-format for CSS ([#4987](https://github.com/helix-editor/helix/pull/4987)) - Support CommonLisp ([4176769](https://github.com/helix-editor/helix/commit/4176769)) New languages: - SML ([#3692](https://github.com/helix-editor/helix/pull/3692)) - Jsonnet ([#3714](https://github.com/helix-editor/helix/pull/3714)) - Godot resource ([#3759](https://github.com/helix-editor/helix/pull/3759)) - Astro ([#3829](https://github.com/helix-editor/helix/pull/3829)) - SSH config ([#2455](https://github.com/helix-editor/helix/pull/2455), [#4538](https://github.com/helix-editor/helix/pull/4538)) - Bass ([#3771](https://github.com/helix-editor/helix/pull/3771)) - WAT (WebAssembly text format) ([#4040](https://github.com/helix-editor/helix/pull/4040), [#4542](https://github.com/helix-editor/helix/pull/4542)) - Purescript ([#4242](https://github.com/helix-editor/helix/pull/4242)) - D ([#4372](https://github.com/helix-editor/helix/pull/4372), [#4562](https://github.com/helix-editor/helix/pull/4562)) - VHS ([#4486](https://github.com/helix-editor/helix/pull/4486)) - KDL ([#4481](https://github.com/helix-editor/helix/pull/4481)) - XML ([#4518](https://github.com/helix-editor/helix/pull/4518)) - WIT ([#4525](https://github.com/helix-editor/helix/pull/4525)) - ENV ([#4536](https://github.com/helix-editor/helix/pull/4536)) - INI ([#4538](https://github.com/helix-editor/helix/pull/4538)) - Bicep ([#4403](https://github.com/helix-editor/helix/pull/4403), [#4751](https://github.com/helix-editor/helix/pull/4751)) - QML ([#4842](https://github.com/helix-editor/helix/pull/4842)) - CommonLisp ([4176769](https://github.com/helix-editor/helix/commit/4176769)) Updated languages and queries: - Zig ([#3621](https://github.com/helix-editor/helix/pull/3621), [#4745](https://github.com/helix-editor/helix/pull/4745)) - Rust ([#3647](https://github.com/helix-editor/helix/pull/3647), [#3729](https://github.com/helix-editor/helix/pull/3729), [#3927](https://github.com/helix-editor/helix/pull/3927), [#4073](https://github.com/helix-editor/helix/pull/4073), [#4510](https://github.com/helix-editor/helix/pull/4510), [#4659](https://github.com/helix-editor/helix/pull/4659), [#4717](https://github.com/helix-editor/helix/pull/4717)) - Solidity ([20ed8c2](https://github.com/helix-editor/helix/commit/20ed8c2)) - Fish ([#3704](https://github.com/helix-editor/helix/pull/3704)) - Elixir ([#3645](https://github.com/helix-editor/helix/pull/3645), [#4333](https://github.com/helix-editor/helix/pull/4333), [#4821](https://github.com/helix-editor/helix/pull/4821)) - Diff ([#3708](https://github.com/helix-editor/helix/pull/3708)) - Nix ([665e27f](https://github.com/helix-editor/helix/commit/665e27f), [1fe3273](https://github.com/helix-editor/helix/commit/1fe3273)) - Markdown ([#3749](https://github.com/helix-editor/helix/pull/3749), [#4078](https://github.com/helix-editor/helix/pull/4078), [#4483](https://github.com/helix-editor/helix/pull/4483), [#4478](https://github.com/helix-editor/helix/pull/4478)) - GDScript ([#3760](https://github.com/helix-editor/helix/pull/3760)) - JSX and TSX ([#3853](https://github.com/helix-editor/helix/pull/3853), [#3973](https://github.com/helix-editor/helix/pull/3973)) - Ruby ([#3976](https://github.com/helix-editor/helix/pull/3976), [#4601](https://github.com/helix-editor/helix/pull/4601)) - R ([#4031](https://github.com/helix-editor/helix/pull/4031)) - WGSL ([#3996](https://github.com/helix-editor/helix/pull/3996), [#4079](https://github.com/helix-editor/helix/pull/4079)) - C# ([#4118](https://github.com/helix-editor/helix/pull/4118), [#4281](https://github.com/helix-editor/helix/pull/4281), [#4213](https://github.com/helix-editor/helix/pull/4213)) - Twig ([#4176](https://github.com/helix-editor/helix/pull/4176)) - Lua ([#3552](https://github.com/helix-editor/helix/pull/3552)) - C/C++ ([#4079](https://github.com/helix-editor/helix/pull/4079), [#4278](https://github.com/helix-editor/helix/pull/4278), [#4282](https://github.com/helix-editor/helix/pull/4282)) - Cairo ([17488f1](https://github.com/helix-editor/helix/commit/17488f1), [431f9c1](https://github.com/helix-editor/helix/commit/431f9c1), [09a6df1](https://github.com/helix-editor/helix/commit/09a6df1)) - Rescript ([#4356](https://github.com/helix-editor/helix/pull/4356)) - Zig ([#4409](https://github.com/helix-editor/helix/pull/4409)) - Scala ([#4353](https://github.com/helix-editor/helix/pull/4353), [#4697](https://github.com/helix-editor/helix/pull/4697), [#4701](https://github.com/helix-editor/helix/pull/4701)) - LaTeX ([#4528](https://github.com/helix-editor/helix/pull/4528), [#4922](https://github.com/helix-editor/helix/pull/4922)) - SQL ([#4529](https://github.com/helix-editor/helix/pull/4529)) - Python ([#4560](https://github.com/helix-editor/helix/pull/4560)) - Bash/Zsh ([#4582](https://github.com/helix-editor/helix/pull/4582)) - Nu ([#4583](https://github.com/helix-editor/helix/pull/4583)) - Julia ([#4588](https://github.com/helix-editor/helix/pull/4588)) - Typescript ([#4703](https://github.com/helix-editor/helix/pull/4703)) - Meson ([#4572](https://github.com/helix-editor/helix/pull/4572)) - Haskell ([#4800](https://github.com/helix-editor/helix/pull/4800)) - CMake ([#4809](https://github.com/helix-editor/helix/pull/4809)) - HTML ([#4829](https://github.com/helix-editor/helix/pull/4829), [#4881](https://github.com/helix-editor/helix/pull/4881)) - Java ([#4886](https://github.com/helix-editor/helix/pull/4886)) - Go ([#4906](https://github.com/helix-editor/helix/pull/4906), [#4969](https://github.com/helix-editor/helix/pull/4969), [#5010](https://github.com/helix-editor/helix/pull/5010)) - CSS ([#4882](https://github.com/helix-editor/helix/pull/4882)) - Racket ([#4915](https://github.com/helix-editor/helix/pull/4915)) - SCSS ([#5003](https://github.com/helix-editor/helix/pull/5003)) Packaging: - Filter relevant source files in the Nix flake ([#3657](https://github.com/helix-editor/helix/pull/3657)) - Build a binary for `aarch64-linux` in the release CI ([038a91d](https://github.com/helix-editor/helix/commit/038a91d)) - Build an AppImage for `aarch64-linux` in the release CI ([b738031](https://github.com/helix-editor/helix/commit/b738031)) - Enable CI builds for `riscv64-linux` ([#3685](https://github.com/helix-editor/helix/pull/3685)) - Support preview releases in CI ([0090a2d](https://github.com/helix-editor/helix/commit/0090a2d)) - Strip binaries built in CI ([#3780](https://github.com/helix-editor/helix/pull/3780)) - Fix the development shell for the Nix Flake on `aarch64-darwin` ([#3810](https://github.com/helix-editor/helix/pull/3810)) - Raise the MSRV and create an MSRV policy ([#3896](https://github.com/helix-editor/helix/pull/3896), [#3913](https://github.com/helix-editor/helix/pull/3913), [#3961](https://github.com/helix-editor/helix/pull/3961)) - Fix Fish completions for `--config` and `--log` flags ([#3912](https://github.com/helix-editor/helix/pull/3912)) - Use builtin filenames option in Bash completion ([#4648](https://github.com/helix-editor/helix/pull/4648)) @ text @BEGIN { print "# $Net" "BSD$"; } /(^|\n)source =/ { for (i = 1; i <= NF; i++) { sub("\"","") sub(",","") sub("}","") sub("{","") if ($i ~ /^https/) { name = gensub(".*/", "", "g", $i); if (name == "tree-sitter-git-diff") name = "tree-sitter-diff" url = $i } if ($i ~ /[a-f0-9]{40}/) vers=$i } print "TREESITTER_DISTFILES+=\t\t" name "-" vers ".tar.gz" print "SITES." name "-" vers ".tar.gz= \\\n" "\t\t-" url "/archive/" vers ".tar.gz\n" } @ 1.1 log @editors/helix: update to 22.08.1 Changelog (taken from https://github.com/helix-editor/helix/blob/master/CHANGELOG.md): 22.08.1 (2022-09-01) This is a patch release that fixes a panic caused by closing splits or buffers. (#3633) 22.08 (2022-08-31) A big thank you to our contributors! This release had 87 contributors. As usual, the following is a summary of each of the changes since the last release. For the full log, check out the git log. Breaking changes: Special keymap names for +, ; and % have been replaced with those literal characters (#2677, #3556) A-Left and A-Right have become C-Left and C-Right for word-wise motion (#2500) The catppuccin theme's name has been corrected from catpuccin (#2713) catppuccin has been replaced by its variants, catppuccin_frappe, catppuccin_latte, catppuccin_macchiato, catppuccin_mocha (#3281) C-n and C-p have been removed from the default insert mode keymap (#3340) The extend_line command has been replaced with extend_line_below and a new extend_line command now exists (#3046) Features: Add an integration testing harness (#2359) Indent guides (#1796, 906259c) Cursorline (#2170, fde9e03) Select all instances of the symbol under the cursor (h) (#2738) A picker for document and workspace LSP diagnostics (g/G) (#2013, #2984) Allow styling the mode indicator per-mode (#2676) Live preview for the theme picker (#1798) Configurable statusline (#2434) LSP SignatureHelp (#1755, a8b123f) A picker for the jumplist (#3033) Configurable external formatter binaries (#2942) Bracketed paste support (#3233, 12ddd03) Commands: :insert-output and :append-output which insert/append output from a shell command (#2589) The t textobject (]t/[t/mit/mat) for navigating tests (#2807) C-Backspace and C-Delete for word-wise deletion in prompts and pickers (#2500) A-Delete for forward word-wise deletion in insert mode (#2500) C-t for toggling the preview pane in pickers (#3021) extend_line now extends in the direction of the cursor (#3046) Usability improvements and fixes: Fix tree-sitter parser builds on illumos (#2602) Remove empty stratch buffer from jumplists when removing (5ed6223) Fix panic on undo after shell_append_output (#2625) Sort LSP edits by start range (3d91c99) Be more defensive about LSP URI conversions (6de6a3e, 378f438) Ignore SendErrors when grammar builds fail (#2641) Append set_line_ending to document history (#2649) Use last prompt entry when empty (b14c258, #2870) Do not add extra line breaks in markdown lists (#2689) Disable dialyzer by default for ElixirLS (#2710) Refactor textobject node capture (#2741) Prevent re-selecting the same range with expand_selection (#2760) Introduce keyword.storage highlight scope (#2731) Handle symlinks more consistently (#2718) Improve markdown list rendering (#2687) Update auto-pairs and idle-timout settings when the config is reloaded (#2736) Fix panic on closing last buffer (#2658) Prevent modifying jumplist until jumping to a reference (#2670) Ensure :quit and :quit! take no arguments (#2654) Fix crash due to cycles when replaying macros (#2647) Pass LSP FormattingOptions (#2635) Prevent showing colors when the health-check is piped (#2836) Use character indexing for mouse selection (#2839) Display the highest severity diagnostic for a line in the gutter (#2835) Default the ruler color to red background (#2669) Make move_vertically aware of tabs and wide characters (#2620) Enable shellwords for Windows (#2767) Add history suggestions to global search (#2717) Fix the scrollbar's length proportional to total menu items (#2860) Reset terminal modifiers for diagnostic text (#2861, #2900) Redetect indents and line-endings after a Language Server replaces the document (#2778) Check selection's visible width when copying on mouse click (#2711) Fix edge-case in tree-sitter expand_selection command (#2877) Add a single-width left margin for the completion popup (#2728) Right-align the scrollbar in the completion popup (#2754) Fix recursive macro crash and empty macro lockout (#2902) Fix backwards character deletion on other whitespaces (#2855) Add search and space/backspace bindings to view modes (#2803) Add --vsplit and --hsplit CLI arguments for opening in splits (#2773, #3073) Sort themes, languages and files inputs by score and name (#2675) Highlight entire rows in (#2939) Fix backwards selection duplication widening bug (#2945, #3024) Skip serializing Option type DAP fields (44f5963) Fix required cwd field in DAP RunTerminalArguments type (85411be, #3240) Add LSP workspace/applyEdit to client capabilities (#3012) Respect count for repeating motion (#3057) Respect count for selecting next/previous match (#3056) Respect count for tree-sitter motions (#3058) Make gutters padding optional (#2996) Support pre-filling prompts (#2459, #3259) Add statusline element to display file line-endings (#3113) Keep jump and file history when using :split (#3031, #3160) Make tree-sitter query ; inherits feature imperative (#2470) Indent with tabs by default (#3095) Fix non-msvc grammar compilation on Windows (#3190) Add spacer element to the statusline (#3165, 255c173) Make gutters padding automatic (#3163) Add code for LSP Diagnostic type (#3096) Add position percentage to the statusline (#3168) Add a configurable and themable statusline separator string (#3175) Use OR of all selections when search_selection acts on multiple selections (#3138) Add clipboard information to logs and the healthcheck (#3271) Fix align selection behavior on tabs (#3276) Fix terminal cursor shape reset (#3289) Add an injection.include-unnamed-children predicate to injections queries (#3129) Add a -c/--config CLI flag for specifying config file location (#2666) Detect indent-style in :set-language command (#3330) Fix non-deterministic highlighting (#3275) Avoid setting the stdin handle when not necessary (#3248, #3379) Fix indent guide styling (#3324) Fix tab highlight when tab is partially visible (#3313) Add completion for nested settings (#3183) Advertise WorkspaceSymbolClientCapabilities LSP client capability (#3361) Remove duplicate entries from the theme picker (#3439) Shorted output for grammar fetching and building (#3396) Add a tabpad option for visible tab padding whitespace characters (#3458) Make DAP external terminal provider configurable (cb7615e) Use health checkmark character with shorter width (#3505) Reset document mode to normal on view focus loss (e4c9d40) Render indented code-blocks in markdown (#3503) Add WezTerm to DAP terminal provider defaults (#3588) Derive Document language name from languages.toml name key (#3338) Fix process spawning error handling (#3349) Don't resolve links for :o completion (8a4fbf6) Recalculate completion after pasting into prompt (e77b7d1) Fix extra selections with regex anchors (#3598) Move mode transition logic to handle_keymap_event (#2634) Add documents to view history when using the jumplist (#3593) Prevent panic when loading tree-sitter queries (fa1dc7e) Discard LSP publishDiagnostic when LS is not initialized (#3403) Refactor tree-sitter textobject motions as repeatable motions (#3264) Avoid command execution hooks on closed docs (#3613) Share restore_term code between panic and normal exits (#2612) Show clipboard info in --health output (#2947) Recalculate completion when going through prompt history (#3193) Themes: Update tokyonight and tokyonight_storm themes (#2606) Update solarized_light themes (#2626) Fix catpuccin ui.popup theme (#2644) Update selection style of night_owl (#2668) Fix spelling of catppuccin theme (#2713) Update base16_default's ui.menu (#2794) Add noctis_bordo (#2830) Add acme (#2876) Add meliora (#2884, #2890) Add cursorline scopes to various themes (33d287a, #2892, #2915, #2916, #2918, #2927, #2925, #2938, #2962, #3054) Add mode colors to various themes (#2926, #2933, #2929, #3098, #3104, #3128, #3135, #3200) Add nord_light (#2908) Update night_owl (#2929) Update autumn (2e70985, 936ed3a) Update one_dark (#3011) Add noctis (#3043, #3128) Update boo_berry (#3191) Update monokai (#3131) Add ayu_dark, ayu_light, ayu_mirage (#3184) Update onelight (#3226) Add base16_transparent (#3216, b565fff) Add flatwhite (#3236) Update dark_plus (#3302) Add doom_acario_dark (#3308, #3539) Add rose_pine_moon (#3229) Update spacebones_light (#3342) Fix typos in themes (8deaebd, #3412) Add emacs (#3410) Add papercolor-light (#3426, #3470, #3585) Add penumbra+ (#3398) Add fleetish (#3591, #3607) Add sonokai (#3595) Update all themes for theme lints (#3587) LSP: V (#2526) Prisma (#2703) Clojure (#2780) WGSL (#2872) Elvish (#2948) Idris (#2971) Fortran (#3025) Gleam (#3139) Odin (#3214) New languages: V (#2526) EDoc (#2640) JSDoc (#2650) OpenSCAD (#2680) Prisma (#2703) Clojure (#2780) Starlark (#2903) Elvish (#2948) Fortran (#3025) Ungrammar (#3048) SCSS (#3074) Go Template (#3091) Graphviz dot (#3241) Cue (#3262) Slint (#3355) Beancount (#3297) Taskwarrior (#3468) xit (#3521) ESDL (#3526) Awk (#3528, #3535) Pascal (#3542) Updated languages and queries: Nix (#2472) Elixir (#2619) CPON (#2643) Textobjects queries for Erlang, Elixir, Gleam (#2661) Capture rust closures as function textobjects (4a27e2d) Heex (#2800, #3170) Add <<= operator highlighting for Rust (#2805) Fix comment injection in JavaScript/TypeScript (#2763) Nickel (#2859) Add Rakefile and Gemfile to Ruby file-types (#2875) Erlang (#2910, ac669ad) Markdown (#2910, #3108, #3400) Bash (#2910) Rust (#2910, #3397) Edoc (#2910) HTML (#2910) Make (#2910) TSQ (#2910, #2960) git-commit (#2910) Use default fallback for Python indents (9ae70cc) Add Haskell LSP roots (#2954) Ledger (#2936, #2988) Nickel (#2987) JavaScript/TypeScript (#2961, #3219, #3213, #3280, #3301) GLSL (#3051) Fix locals tracking in Rust (#3027, #3212, #3345) Verilog (#3158) Ruby (#3173, #3527) Svelte (#3147) Add Elixir and HEEx comment textobjects (#3179) Python (#3103, #3201, #3284) PHP (#3317) Latex (#3370) Clojure (#3387) Swift (#3461) C# (#3480, #3494) Org (#3489) Elm (#3497) Dart (#3419) Julia (#3507) Fix Rust textobjects (#3590) C (00d88e5) Update Rust (0ef0ef9) Packaging: Add rust-analyzer to Nix flake devShell (#2739) Add cachix information to the Nix flake (#2999) Pass makeWrapperArgs to wrapProgram in the Nix flake (#3003) Add a way to override which grammars are built by Nix (#3141) Add a GitHub actions release for aarch64-macos (#3137) Add shell auto-completions for Elvish (#3331) 22.05 (2022-05-28) An even bigger shout out than usual to all the contributors - we had a whopping 110 contributors in this release! That's more than double the number of contributors as last release! Check out some of the highlights in the news section. As usual, the following is a summary of each of the changes since the last release. For the full log, check out the git log. Breaking Changes: Removed C-j, C-k bindings from file picker (#1792) Replaced C-f with C-d and C-b with C-u bindings in file picker (#1792) A-hjkl bindings have been moved to A-pion (#2205) A-Left/A-Right have been moved to C-Left/C-Right (#2193) Features: The indentation mechanism has been reworked (#1562, #1908) Configurable gutters (#1967) Support for local language configuration (#1249) Configurable themed rulers (#2060) Render visible whitespace (e6b865e, #2322, #2331) Commands: Paragraph motion and textobject (]p, [p) (#1627, #1956, #1969, #1992, #2226) :buffer-next, :buffer-previous (#1940) :set-language to set the buffers language (#1866, #1996) Command for picking files from the current working directory (Space-F) (#1600, #2308) :write! which creates non-existent subdirectories (#1839) Add m textobject that selects closest surrounding pair (de15d70, 76175db) :pipe typable command for piping selections (#1972) extend_line_above which extends to previous lines (#2117) set_line_ending which replaces line endings (#1871) :get-option for getting the current value of an option (:get) (#2231) :run-shell-command which does not interact with selections (#1682) :reflow which hard-wraps selected text (#2128) commit_undo_checkpoint which adds an undo checkpoint (#2115) :log-open which opens the log file (#2422) transpose_view which transposes window splits (#2461) View-swapping: swap_view_right, swap_view_left, swap_view_up, swap_view_down (#2445) shrink_to_line_bounds which shrinks selections to line-bounds (#2450) Usability improvements and fixes: Handle broken pipes when piping hx --health through head (#1876) Fix for copy_selection on newlines (ab7885e, 236c6b7) Use win32yank clipboard provider on WSL2 (#1912) Jump to the next number on the line before incrementing (#1778) Fix start position of next search (#1904) Use check and X marks for health check output (#1918) Clear terminal after switching to alternate screens (#1944) Fix toggle_comments command on multiple selections (#1882) Apply ui.gutter theming to empty gutter spans (#2032) Use checkboxes in hx --health output (#1947) Pass unmapped keys through prompt regardless of modifiers (764adbd) LSP: pull formatting options from config (c18de0e) LSP: provide rootPath (84e799f) LSP: implement workspace_folders (8adf0c1) LSP: fix auto-import (#2088) Send active diagnostic to LSP when requesting code actions (#2005) Prevent panic when parsing malformed LSP PublishDiagnostic (#2160) Restore document state on completion cancel (#2096) Only merge top-level array when merging languages.toml (#2145, #2215) Fix open on multiline selection (#2161) Allow re-binding 0 if it is not used in a count (#2174) Fix ctrl-u behavior in insert mode (#1957) Check LSP rename capabilities before sending rename action (#2203) Register the publish_diagnostics LSP capability (#2241) Fix paste direction for typed paste commands (#2288) Improve handling of buffer-close (#1397) Extend the tutor file (#2133) Treat slashes as word separators in prompts (#2315) Auto-complete directory members (#1682) Allow disabling format-on-save as a global editor setting (#2321) Wrap command palette in overlay (#2378) Prevent selections from collapsing when inserting newlines (#2414) Allow configuration of LSP request timeout (#2405) Use debug console on Windows for DAP terminal (#2294) Exclude cursor when deleting with C-w in insert mode (#2431) Prevent panics from LSP parsing errors (7ae6cad) Prevent panics from LSP responses without requests (#2475) Fix scroll rate for documentation popups (#2497) Support inserting into prompts from registers (#2458) Separate theme scopes for diagnostic types (#2437) Use ui.menu instead of ui.statusline for command completion menu theming (82fb217) Panic when reloading a shrunk file (#2506) Add theme key for picker separator (#2523) Themes: Remove ui.text background from dark_plus (#1950) Add boo_berry (#1962) Update dark_plus markup colors (#1989) Update dark_plus tag and ui.menu.selected colors (#2014) Add dracula_at_night (#2008) Improve dracula selection theming (#2077) Remove dim attribute on onedark line-number gutter (#2155) Add tokyonight (#2162) Use border colors from the original dark_plus theme (#2186) Add autumn (#2212, #2270, #2531) Add tokyonight_storm (#2240) Add pop-dark (#2189) Fix base16_terminal theme using incorrect ansi-color (#2279) Add onelight (#2287, #2323) Add ui.virtual scopes to onedark theme (3626e38) Add night_owl (#2330) Use yellow foreground and red background for monokai_pro_spectrum (#2433) Add snazzy (#2473) Update dark_plus constructor color (8e8d4ba) Add ui.menu to the default theme (e7e13dc) Add ui.menu to any themes missing the key (9be810f) Add catppuccin (#2546, 7160e74) LSP: Use texlab for latex (#1922) HTML (#2018) JSON (#2024) CSS (#2025) PHP (#2031) Swift (#2033) OCaml (#2035) Vue (#2043) Yaml (#2234) Vala (#2243) TOML (#2302) Java (#2511) Lua (#2560) Verilog (#2552) New Languages: JSX (#1906, a24fb17, 855e438, #1921) Rust Object Notation (RON) (#1925) R and R Markdown (#1998) Swift (#2033) EJS and ERB (#2055) EEx (9d095e0) HEEx (4836bb3, #2149) SQL (#2097) GDScript (#1985) Nickel (#2173, #2320) go.mod and go.work (#2197) Nushell (#2225) Vala (#2243) Hare (#2289, #2480) DeviceTree (#2329) Cairo (7387905) CPON (#2355, #2424) git-ignore (#2397) git-attributes (#2397) Odin (#2399, #2464) Meson (#2314) SSH Client Config (#2498) Scheme (d25bae8) Verilog (#2552) Updated Languages and Queries: Erlang (e2a5071, #2149, 82da9bd) Elixir (1819478, 8c3c901, 4ac94a5) Gleam (7cd6050, 45dd540) Bash (#1917) JavaScript (#2140) Ruby textobject queries (#2143) Fix Golang textobject queries (#2153) Add more bash and HCL file extensions (#2201) Divide HCL and tfvars into separate languages (#2244) Use JavaScript for cjs files (#2387) Use Perl for t files (#2395) Use markup.list scopes for lists (#2401) Use PHP for inc files (#2440) Improve Rust textobjects (#2494, 10463fe) Python (#2451) Packaging: Use builtins.fromTOML in Nix Flake on Nix 2.6+ (#1892) Shell auto-completion files are now available (#2022) Create an AppImage on release (#2089) @ text @@