tomtom/quickfixsigns_vim

Why this plugin is creating a temparay directory under /tmp?

weynhamz opened this issue · 3 comments

I noticed that this plugin creates a temparay directory under /tmp each time vim starts, but I can't locate the exact code which does this, so why it is necessary to create such directory and where is the code that does this? Can it be configured to other place, e.g. I personally setup /tmp/vim-$(id -u) for vim temporay files, it would be great if it could be used.

I noticed that this plugin creates a temparay directory under /tmp
each time vim starts, but I can't locate the exact code which does
this, so why it is necessary to create such directory and where is the
code that does this?

What's the contents of that file? Could it be from using vcsdiff (signs
for changes in code under a VCS)? If so, it's done by vim while
redirecting the output of a system command.

The directory seems always empty, at least every time I look at it. It's is just a usual mktemp directory, creates when vim starts with this plugin enable and gets deleted when vim quits. So, I have no clue where it comes from, but it does not created if this plugin was disabled.

As I said before. The directory is created by vim, seemingly when running an external command. If you don't like that directory, disable vcsdiff signs either by setting g:quickfixsigns#vcsdiff#loaded = 1 or by removing "vcsdiff" from g:quickfixsigns_classes.