nvim-telescope / telescope-smart-history.nvim

A history implementation that memorizes prompt input for a specific context
MIT License
141 stars 5 forks source link

Escape content when saving to SQLite #7

Closed steliyan closed 1 year ago

steliyan commented 2 years ago

Fixes #6

Probably this needs to get fixed in sqlite.lua, but this is a hacky workaround that shouldn't affect anyone if this gets merged.*

* Unless they've searched for __ESCAPE__'something' which I would say is highly unlikely.

kkharji commented 1 year ago

Interesting workaround @steliyan, I just tested and indeed no issues.

cc @Conni2461 I'm having issues with write access again. Could you please merge.