PHP-Twig.tmbundle
PHP-Twig.tmbundle copied to clipboard
Failed to load snippets
Hi,
When open atom with PHP-Twig appear this alert message:
Failed to load snippets from '/Users/polalegria/.atom/packages/language-twig/snippets/PHP-twig.cson'
/Users/polalegria/.atom/packages/language-twig/snippets/PHP-twig.cson: Duplicate key 'include'
Any suggestions? Thanks in advance.
Did you figure anything out? Have the same issue, and tried to delete and reinstall the plugin.
I went to:
/Users/myname/.atom/packages/language-twig/snippets/PHP-twig.cson
and found that there were two sections called 'include'
I removed the following lines:
'include':
'prefix': 'include'
'body': '{% include \'${1:template}\' ${2:with ${3:vars}${4: only}} %}$0'
and I stopped getting the error on opening a new project.
Hope this helps!