Error when opening scala files
I've just installed the latest version of spf13 on my ubuntu 14.04 box. The installation completed successfully... but as soon as I try to open a scala file, I always get the following errors:
"MyClass.scala" [New File] Error detected while processing /home/j3d/.spf13-vim-3/.vim/bundle/vim-scala/ftplugin/scala/scala.xpt. vim: line 2: E492: Not an editor command: XPTemplate priority=lang line 4: E492: Not an editor command: XPTvar $BRif ' ' line 5: E492: Not an editor command: XPTvar $BRel \n line 6: E492: Not an editor command: XPTvar $BRloop ' ' line 7: E492: Not an editor command: XPTvar $BRfun ' ' line 11: E492: Not an editor command: XPTinclude _common/personal java/java line 13: E492: Not an editor command: XPT cake hint=Cake\ Pattern line 14: E492: Not an editor command: XSET trait|def=Some line 15: E492: Not an editor command: XSET derived|def=Real line 16: E492: Not an editor command: trait `trait^Component {
Any help would be appreciated ;-)
I ran into this problem and solved it by installing 'Bundle xptemplate'
Can you send a pull request for this fix?
Best, Steve
-- Steve Francia http://stevefrancia.com http://spf13.com http://twitter.com/spf13
On November 28, 2013 at 7:39:31 PM, emptyskull ([email protected]) wrote:
I ran into this problem and solved it by installing 'Bundle xptemplate'
— Reply to this email directly or view it on GitHub.
Installing xptemplate from https://github.com/vim-scripts/xptemplate solved this for me.