dmmulroy / ts-error-translator.nvim

MIT License
241 stars 5 forks source link

perf: remove markdown parsing #24

Closed mehalter closed 8 months ago

mehalter commented 8 months ago

Rather than parsing markdown on every request we can skip this altogether and just use Lua. This decreases the space where bugs can occur and also increases the lookup performance since we don't need to check the filesystem if the file exists and parse it. Plus lua module caching makes this fast.

Supersedes #23 because GitHub won't let me re-open it for whatever reason

mehalter commented 8 months ago

Oh wait, I see. You are pulling these from an external source and also have automated syncing of the error translations from upstream.... ignore this...