Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatic insert end to close a function or type definition #198

Open
linwaytin opened this issue Jul 22, 2023 · 0 comments
Open

automatic insert end to close a function or type definition #198

linwaytin opened this issue Jul 22, 2023 · 0 comments

Comments

@linwaytin
Copy link

For lang like c/c++, the scope is enclosed by {...}, and since Emacs's electric-paren-mode can automatically insert } after we type {, we can then hit Enter and make the scope multi-line with the scope already been enclosed by the automatic inserted }.

For julia, scopes are enclosed by end. I found it is not convenient to enter end manually every time. It would be better to have similar behavior as c/c++. I think this might be possible by using tree-sitter, but I'm not familiar with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant