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

Malformed ctags file causes plugin to fail and resulting error message is misleading #173

Open
shalomb opened this issue Jan 24, 2020 · 0 comments

Comments

@shalomb
Copy link

shalomb commented Jan 24, 2020

A malformed ~/.ctags file causes easytags not to load and the warning is then misleading.

I had made a mistake in generating my ~/.ctags file

$ head -n 1 ~/.ctags
- q-links=yes

Which sure is an error to ctags

$ ctags -f - --sort=no --excmd=number >/dev/null
ctags: Unknown option: -

However, easyplugin's error message suggests ctags is not installed/available - leading the user down a wild goose chase.

easytags.vim 3.11: Plug-in not loaded because Exuberant Ctags isn't installed! On Ubuntu & Debian you can install Exuberant Ctags by installing the package named `exuberant-ctags': sudo apt-get install exuberant-ctags
Press ENTER or type command to continue
@shalomb shalomb changed the title Malformed ctags file causes plugin to fail and error message is misleading Malformed ctags file causes plugin to fail and resulting error message is misleading Jan 24, 2020
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

1 participant