TobinPalmer / pastify.nvim

Paste images into markdown from neovim
The Unlicense
64 stars 12 forks source link

2 buffers open (one html one markdown) results in wrong formatting #8

Closed superzanti closed 5 months ago

superzanti commented 5 months ago

If I have 2 different buffers open with the same nvim instance, since the filetype is only evaluated when the plugin is lazy-loaded, it only takes the syntax of the first file. So if I'm editing both a html and a markdown at the same time I can't go between them and expect Pastify to paste the correct option.

superzanti commented 5 months ago

Note: I fixed this in my pull request

TobinPalmer commented 5 months ago

This issue was solved by @geeker-one amazing PR.