You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
buffer-name does not always return the actual file-name. If you have multiple buffers with the same conflicting name it could be renamed, as well as personally I have custom code displaying different buffer-name based on project.
* use buffer-file-name instead of buffer-name
Use buffer-file-name which will return the full path file name which
should be compatible with --stdin-filename
Fixes#15
* update contributor header
buffer-name
does not always return the actual file-name. If you have multiple buffers with the same conflicting name it could be renamed, as well as personally I have custom code displaying different buffer-name based on project.E.g.
In those cases you will get, since the buffer-name is passed as
--stdin-filename
:One work-around is to instead use
buffer-file-name
which will give the absolute path to the file.The text was updated successfully, but these errors were encountered: