diff options
author | Profpatsch <mail@profpatsch.de> | 2020-12-19T18·22+0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-01-01T19·03+0000 |
commit | 806c281b3491b165d01be561f005dada24107363 (patch) | |
tree | 3cea1ceae3892dfa648a16c108aac1cfafcf4a07 /users/Profpatsch/emacs-tree-sitter-move/default.nix | |
parent | c9b985e7bc20c7dc90f14f47f8709864b05c032f (diff) |
feat(users/Profpatsch): moving around via the tree-sitter parse tree r/2042
Has a little setup to get the cursor position and map it onto a tree sitter node. The current node is saved in a cursor variable, and a highlight overlay marks the range of the current node in the buffer. Change-Id: I0af56115f928732e993fbefe978a246ca7c757ee Reviewed-on: https://cl.tvl.fyi/c/depot/+/2258 Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/emacs-tree-sitter-move/default.nix')
-rw-r--r-- | users/Profpatsch/emacs-tree-sitter-move/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/users/Profpatsch/emacs-tree-sitter-move/default.nix b/users/Profpatsch/emacs-tree-sitter-move/default.nix new file mode 100644 index 000000000000..fdc059c089b6 --- /dev/null +++ b/users/Profpatsch/emacs-tree-sitter-move/default.nix @@ -0,0 +1,3 @@ +# nothing yet (TODO: expose shell & tool) +{...}: +{} |