kkoomen / vim-doge

(Do)cumentation (Ge)nerator for nearly 20 languages 📚 Generate proper code documentation with a single keypress. ⚡️🔥
GNU General Public License v3.0
1.01k stars 51 forks source link

[Feature] add support for Svelte #629

Closed kkoomen closed 1 year ago

kkoomen commented 1 year ago

See #628 for the related request.

The idea is that *.svelte files, containing the svelte filetype, will call a custom SvelteParser which will parse top-level script element contents and use the TypescriptParser to parse the inner contents. Svelte therefore automatically extends the same documentation standards (jsdoc for now) as implemented for all the JS/TS filetypes.