tomtom / tlib_vim

Some utility functions for VIM
http://www.vim.org/scripts/script.php?script_id=1863
GNU General Public License v3.0
173 stars 43 forks source link

Error when expanding File in .pm file #15

Closed aghast closed 11 years ago

aghast commented 11 years ago

If I create a new .pm buffer:

:e new.pm

and then insert "File" (or "Author") into the buffer and C-\, I get this error:

Error detected while processing function XPTemplateStart..<SNR>66_Popup..<SNR>66_DoStart..<SNR>66_RenderSnippet..<SNR>66_NewRenderContext..XPT#classNew..<SNR>56_New:
line   39:
E713: Cannot use empty key for Dictionary
Press ENTER or type command to continue

The template IS expanded, though - so I am not sure what problem the error is reporting.

If I use a C template, with a new 'xpt.c' file, then I do not see the errors.

aghast commented 11 years ago

Nevermind - wrong repo.