michaelrommel / nvim-silicon

neovim plugin to create code images using the external silicon tool.
MIT License
110 stars 8 forks source link

Issue with gobble=true on v0.9.5 neovim #7

Closed noenthu closed 4 months ago

noenthu commented 4 months ago

When running the command Silicon on an open file, I encounter the following error.

nvim-silicon/lua/silicon.lua:86: attempt to call field 'gobble' (a nil value)

image

With gobble disabled, the screenshot functionality works as expected.

michaelrommel commented 4 months ago

Dear Vivek,

can you please update and try again. I have been moving the required utils package into a silicon namespace. This should avoid the clashes with another utils package, that you experienced. Please let me know if this works for you. Sorry!!

Michael.

noenthu commented 4 months ago

The namespace change seems to have resolved the issue. Thank you!