You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make it so that the [editor.statusline] section of config.toml could have something like center = ["file-name", "syntax-tree-path"] where the presence of "syntax-tree-path" would tell helix to display something like crate::mymod::MyStruct::my_method if my cursor is inside the function signature or body of my_method. This would have a similar effect to VS Code's sticky scroll. Another option would be to just implement VSCode's sticky scroll because it seems doable in Helix.
The text was updated successfully, but these errors were encountered:
calbaker
changed the title
add option to display syntax tree path in status line
add option to display syntax tree path in status line or enably sticky scroll
May 3, 2024
Note that maybe syntax-tree-path is not the semantically correct name, and it's ok to change that to something more appropriate. I'm a mechanical engineer pretending to be a computer scientist.
Make it so that the
[editor.statusline]
section of config.toml could have something likecenter = ["file-name", "syntax-tree-path"]
where the presence of"syntax-tree-path"
would tell helix to display something likecrate::mymod::MyStruct::my_method
if my cursor is inside the function signature or body ofmy_method
. This would have a similar effect to VS Code's sticky scroll. Another option would be to just implement VSCode's sticky scroll because it seems doable in Helix.The text was updated successfully, but these errors were encountered: