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 occurs when open a scala file #45

Closed
leonmax opened this issue Dec 25, 2013 · 2 comments
Closed

Error occurs when open a scala file #45

leonmax opened this issue Dec 25, 2013 · 2 comments

Comments

@leonmax
Copy link

leonmax commented Dec 25, 2013

When open a scala file, I got the following:

Executed command: "'/usr/local/bin/ctags'  -f -  --format=2  --excmd=pattern  --fields=nksSa  --extra=  --sort=yes  --language-force=scala --scala-kinds=pVvTtoacrm  '/var/folders/sb/w1x7dlfx1059_ftd44q1k5x80000gn/T/vS1Wt9z/11.scala'"
Command output:
ctags: Unknown language "scala" in "language-force" option
Press ENTER or type command to continue

When enter, it works fine, syntax are highlighted correctly, but it's really annoying that I have to see this and press an extra enter key for every new opened file. Please help.

@derekwyatt
Copy link
Owner

Do you have tagbar (http://www.vim.org/scripts/script.php?script_id=3465) installed?

@jimenezrick
Copy link
Contributor

This is probably because of the old&good TagList plugin which uses ctags internally. Tagbar is much better ;-)

Although, to make ctags work with Scala you need to specify manually how to parse it. These explain how to set up your $HOME/.ctags file:

I think it is safe to close this issue, vim-scala isn't the culprit.

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