garbas/vim-snipmate

Not detecting `.eex` files in order to associate with `eelixir` snippets

arcseldon opened this issue · 1 comments

Writing Phoenix applications using Elixir, the templates are .eex.

The required snippets file is eelixir.snippets. However, it cannot detect it.

Running :SnipMateLoadScope! eelixir does work.

For instance, now = expands correctly to <%= %>

Please can you offer best way to achieve the above filetype (.eex) association automatically, or with entries in .vimrc

@arcseldon As stated in the FAQ and README, SnipMate uses the current filetype to determine what snippets are loaded. The name of the .snippets file should match the output of the :se filetype? command. Renaming your file would be easiest