honza/vim-snippets

Elixir `defmo` no longer converts file name into PascalCase module name

schnittchen opened this issue · 3 comments

I have a file named setup_support.ex and the defmo expands to

defmodule setup_support do
··
end

which should and used to be

defmodule SetupSupport do
··
end

I can't tell exactly when this broke...

apayu commented

Same as ruby file

when I have user_profile.rb file named, the cla is not work

expect

class UserProfile
end

result

class user_profile
end

This is pretty annoying. What can I do to move this on, as somebody who's not into VimL?

This seems to work for me with UltiSnips -- can this be closed? Or maybe it's an issue with a specific engine?