diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-04-11 08:22:13 +0200 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2025-04-11 08:22:13 +0200 |
| commit | 99b4308554b994a557f4cc18120bd1709bb7a8e3 (patch) | |
| tree | ccb84662e8ae8e48533aeccfb052ce8c3c1f20a0 /reviews/emacs | |
| parent | 13cd0444bf6211d0ad6c330a864b71d8f307c80d (diff) | |
| download | memory-leaks-99b4308554b994a557f4cc18120bd1709bb7a8e3.tar.xz | |
Note further refinement in tree-sitter movement commands
Diffstat (limited to 'reviews/emacs')
| -rw-r--r-- | reviews/emacs/hype.org | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/reviews/emacs/hype.org b/reviews/emacs/hype.org index 930d5b8..380def2 100644 --- a/reviews/emacs/hype.org +++ b/reviews/emacs/hype.org @@ -35,7 +35,7 @@ that we can always use ~define-key~ and forget about hazards… ** Programming *** tree-sitter -**** Finer sexp movement (bug#73404) +**** Finer sexp movement (bug#73404, bug#76676) Sexp commands no longer "overshoot" in tree-sitter modes. For example, in previous releases, invoking =C-M-f= in c-ts-mode with point… @@ -45,10 +45,14 @@ point… - at the start of a statement: point would jump to the end of the statement (redundant with =M-e=). -Now tree-sitter modes can opt into the more familiar "atom"-based -movement - in c-ts-mode, stopping over each identifier or keyword, -still leaping over delimiter pairs (=([{}])=), by defining a =list= -element in =treesit-thing-settings=. +Now: + +- tree-sitter modes can opt into the more familiar "atom"-based + movement - in c-ts-mode, stopping over each identifier or keyword, + still leaping over delimiter pairs (=([{}])=), by defining a =list= + element in =treesit-thing-settings=. +- users can invoke ~treesit-toggle-sexp-type~ to make =C-M= commands + choose between "treesit nodes" vs "syntax symbols". ** UI *** Completion **** ~completion-eager-display~ |
