-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Use do...end as code block delimiters #405
Comments
PS.: |
PS2.: I don't really know if this should be an Issue here or in smartparens, but I had to open it somewhere. |
Nevermind what I said, updated my packages and it's pretty much working now. 😬 I say "pretty much" because I'm still having problems with |
You could use evil-matchit, which is more general purpose and useful. It handles |
I'm still having issues on functions that don't use |
I am having the issue where end is not auto inserted for def, defp or defmodules, Also it is not matching the end, like it does with case and if blocks |
Hi! Here is another example where similar errors occur in Elixir: with the Note sure whether it is related to this smartparens issue? If someone is ready to provide some initial guidance, I'd be happy to help. |
…rs#405) The maintainer no longer needs to build the release manually. elixir-lsp/elixir-ls#384
The current behaviour is considering only some keywords as block delimiters, like
defmodule...end
ordef...end
. I'm guessing this according to this behaviour in my delimiters highlighting:Well, the behaviour I was expecting is hightlighting the
do
andend
keywords, and not the definition ones.My understanding goes this ways because in elixir, the block delimiters are actually
do...end
, which is actually just a syntax sugar fordo: (...)
.The text was updated successfully, but these errors were encountered: