GNU bug report logs -
#78503
30.0.92; tree-sitter elixir-ts-mode structural movement broken
Previous Next
Full log
View this message in rfc822 format
>>> 1.) `defmodule` is considered a function definition and so moving up from the first
>>> actual function definition `def my_fun do` causes the point to jump to
>>> 'defmodule my_mod do'. Invoking `end-of-defun` jumps to the end of the defmodule block.
>>
>> Also Elixir files usually have only one module, so the optimalization
>> to move to other modules might have more downsides than advantages.
Let's wait when Wilhelm will confirm this change.
>>>> 2.) When you use `down-list` while on a function definition line,
>>>> nothing happens. I tried to fix it, ony to find out that
>>>> `backward-up-list` will jump to `defmodule` when invoked while point is at a
>>>> function argument, instead of navigating out of the argument list only.
>
> Ok, I will create a new variable 'treesit-down-list-regexp' for 'down-list'.
A new variable is added now, so this part is fixed.
This bug report was last modified 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.