Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when opening scala files #500

Open
agamura opened this issue Nov 26, 2013 · 3 comments
Open

Error when opening scala files #500

agamura opened this issue Nov 26, 2013 · 3 comments

Comments

@agamura
Copy link

agamura commented Nov 26, 2013

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

@emptyskull
Copy link

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

@spf13
Copy link
Owner

spf13 commented Nov 29, 2013

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 (notifications@github.com) wrote:

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


Reply to this email directly or view it on GitHub.

@lsvx
Copy link

lsvx commented Dec 1, 2013

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

smt added a commit to smt/spf13-vim that referenced this issue Aug 20, 2014
* upstream/3.0: (22 commits)
  Bugfix spf13#320. vimdiff "]c" jump to next diff doesn\'t work spf13#320. Thanks the help from @keelerm84 and @pwolfram
  Improve the readme to show an option to configure the environment variables because they are not set by default with gVim.
  improve rust and puppet support
  Removing csapprox ... and there was rejoicing in the terminals
  Adding tpope/commentary
  Adding Toml support
  Improve the readme showing an option to configure the enviroment variables because they are not set by default by gVim.
  Remove twig from default bundles.
  Move beyondwords/vim-twig into PHP bundle.
  Don't conceal JSON syntax
  Don't remap <CR> for omnicomplete it causes issues
  Closing spf13#500. xptemplate support for scala.
  fixed spf13#547. Better end of word handling.
  Better handling of neocomplete closing.
  Some improvements to clipboard support
  Adding wildfire support.. Hit return to use it.
  Add tpope/vim-repeat to default install
  Fixed spf13#617. period is now an end of word designator
  fixed spf13#474 . Smaller default font on gvim
  remove spf13-vim 3.0 note
  ...
smt added a commit to smt/spf13-vim that referenced this issue Aug 20, 2014
* spf13-merge: (23 commits)
  Merge with latest spf13
  Bugfix spf13#320. vimdiff "]c" jump to next diff doesn\'t work spf13#320. Thanks the help from @keelerm84 and @pwolfram
  Improve the readme to show an option to configure the environment variables because they are not set by default with gVim.
  improve rust and puppet support
  Removing csapprox ... and there was rejoicing in the terminals
  Adding tpope/commentary
  Adding Toml support
  Improve the readme showing an option to configure the enviroment variables because they are not set by default by gVim.
  Remove twig from default bundles.
  Move beyondwords/vim-twig into PHP bundle.
  Don't conceal JSON syntax
  Don't remap <CR> for omnicomplete it causes issues
  Closing spf13#500. xptemplate support for scala.
  fixed spf13#547. Better end of word handling.
  Better handling of neocomplete closing.
  Some improvements to clipboard support
  Adding wildfire support.. Hit return to use it.
  Add tpope/vim-repeat to default install
  Fixed spf13#617. period is now an end of word designator
  fixed spf13#474 . Smaller default font on gvim
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants