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

Tagbar not working. Empty output. #718

Closed
AGou-ops opened this issue Dec 7, 2020 · 2 comments
Closed

Tagbar not working. Empty output. #718

AGou-ops opened this issue Dec 7, 2020 · 2 comments

Comments

@AGou-ops
Copy link

AGou-ops commented Dec 7, 2020

image-20201207115539021

My error :message is:

"item.sh" [dos] 234L, 6420C                                                                                                                     
`Entering(){'                                                                                                                                   
Tagbar: Could not execute ctags for /home/agou-ops/Documents/item.sh!                                                               
Executed command: "'ctags' '--extras=+F' '-f' '-' '--format=2' '--excmd=pattern' '--fields=nksSafet' '--sort=no' '--append=no' '--language-force
=sh' '--sh-kinds=fas' '/tmp/v5iGs0U/6.sh'"                                                                                                      
Command output:    ctags: Warning: cannot open input file "/tmp/v5iGs0U/6.sh" : No such file or directory                                                          
Exit code: 0  

And I install ctags form snapstore:

─$ snap list | grep ctags
universal-ctags          0.2020-10-07+06:17:47+e852ee0e  25     latest/stable    tartley         -

How should I solve this problem? Same vimrc, but my GVIM works.

@AGou-ops
Copy link
Author

AGou-ops commented Dec 7, 2020

Fixed.

I don't know why the program installed through snap store can't read the files in the /tmp directory.

And I solved this problem by compiling install ctags.

@AGou-ops AGou-ops closed this as completed Dec 7, 2020
@alerque
Copy link
Member

alerque commented Dec 7, 2020

This is a common problem. Frankly snaps are just not well suited to this purpose.

Duplicate of #714, also tracking documentation in #635.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants