runceel / plantumlpreview

MIT License
15 stars 6 forks source link

Support "plantuml" languageid for preview #24

Open xachin opened 7 years ago

xachin commented 7 years ago

If the extension of a file is .plantuml then preview shows "no plaintext". Please support languageid === 'plantuml'.

The following change fixes the problem:

if (!(editor.document.languageId === 'plaintext' || editor.document.languageId === 'restructuredtext' ||
    editor.document.languageId === 'plantuml')) {
runceel commented 7 years ago

Thank you for your feedback.

I released v0.2.2. Please check.