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

Make Tagbar work for new buffers (no file name) #877

Open
terminatorul opened this issue May 13, 2024 · 1 comment
Open

Make Tagbar work for new buffers (no file name) #877

terminatorul opened this issue May 13, 2024 · 1 comment

Comments

@terminatorul
Copy link

terminatorul commented May 13, 2024

It helps to use Tagbar even without a file in the file system, for example I use to load a large diff in Vim from stdin, with a command like:

git diff -w | gvim -

But if there is no file in Vim, then Tagbar no longer works.

Can this be fixed please ? I know tagbar already writes the source file to a temporary location for passing it to ctags. This should help tagbar work with in-memory buffers as well

@raven42
Copy link
Collaborator

raven42 commented May 13, 2024

We would welcome a pull-request for this if you have the time to implement it. I currently don't have the cycles for something like this though.

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