tpope / vim-endwise

endwise.vim: Wisely add

Home Page:https://www.vim.org/scripts/script.php?script_id=2386

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[elixir] fn doesn't add end with named anonymous function

longthanhtran opened this issue · comments

When I use

fn
  "this works"
end

then endwise create the end keyword

but

fun4 = fn
  "this doesn't work"

Can you please guide me if I do something not right? Thanks

Please ignore this case, I realized Vundle uses master branch on my vim so I don't have the correct version. (v1.2). By the way, I tried to update the endwise_pattern for elixir to handle defmodule and def with do keyword so please see if you need to merge back to v1.2. Thanks