spf13-vim icon indicating copy to clipboard operation
spf13-vim copied to clipboard

Error when opening scala files

Open ghost opened this issue 13 years ago • 3 comments

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 ;-)

ghost avatar Nov 26 '13 19:11 ghost

I ran into this problem and solved it by installing 'Bundle xptemplate'

emptyskull avatar Nov 29 '13 00:11 emptyskull

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.

spf13 avatar Nov 29 '13 12:11 spf13

Installing xptemplate from https://github.com/vim-scripts/xptemplate solved this for me.

lsvx avatar Dec 01 '13 00:12 lsvx