zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
39.2k stars 2.03k forks source link

Automatically inserting `end` in Ruby #12383

Open janko opened 1 month ago

janko commented 1 month ago

Check for existing issues

Misc notes

From vim-ruby, I'm used to end being automatically inserted when I type def something<Enter> or foo do<Enter> or case<Enter>. Could this functionality be added to the Ruby extension?

zoedsoupe commented 4 weeks ago

that works too with Elixir (:

defmodule Foo do
  def bar do
    # body...
  end
end