-
Notifications
You must be signed in to change notification settings - Fork 54
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
[FEATURE] Change filetype for image previewed buffers and export callback function #61
Comments
Both ideas are great, will get them in! |
Done, let me know if you find any issues! |
Thank you very much for your quick response.
This is amazing!
Ah, now I know why it takes a bit longer to load |
Hi, sorry for spamming you with feature requests lol.
While doing the integration to neo-tree I needed to detect the buffers that the images where loaded in.
And I would like to propose two feature requests regarding this issue.
1. Set
vim.bo[buf].filetype
to something plugin specific.If you can set a filetype to the buffer on
BufRead
, it would be much easier to render the preview.2. Export hijack buffer function to be called from outside.
It would be nice if I can call the hijack buffer code (basically the callback of the current autocmd) from outside as an API.
Thanks in advance.
The text was updated successfully, but these errors were encountered: