Subject: CVS commit: pkgsrc/editors/helix
From: Nikita
Date: 2022-11-11 21:23:39
Message id: 20221111202340.1BF94FA90@cvs.NetBSD.org

Log Message:
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 (<space>h) (#2738)
    A picker for document and workspace LSP diagnostics \ 
(<space>g/<space>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 <language> 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)

Files:
RevisionActionfile
1.7modifypkgsrc/editors/helix/Makefile
1.2modifypkgsrc/editors/helix/PLIST
1.2modifypkgsrc/editors/helix/cargo-depends.mk
1.2modifypkgsrc/editors/helix/distinfo
1.2modifypkgsrc/editors/helix/patches/patch-helix-loader_src_grammar.rs
1.2modifypkgsrc/editors/helix/patches/patch-helix-loader_src_lib.rs
1.1addpkgsrc/editors/helix/filter.awk
1.1addpkgsrc/editors/helix/languages2mk.mk
1.1addpkgsrc/editors/helix/tree-sitter-depends.mk