plantuml-syntax icon indicating copy to clipboard operation
plantuml-syntax copied to clipboard

comments and multi-line comments

Open kiteloopdesign opened this issue 2 years ago • 2 comments

First of all thanks for the plugin!

Line comments use a single apostrophe

' This is a comment

Block comments use C-style comments except that instead of * you use an apostrophe

/'

many lines

here

'/

I think this line should be changed to have correct single-line comments

setlocal comments=s1:/',mb:',ex:'/,:' commentstring=/'%s'/ formatoptions-=t formatoptions+=croql

kiteloopdesign avatar Mar 26 '23 07:03 kiteloopdesign

This does the trick indeed

setlocal comments=s1:/',mb:',ex:'/,:' commentstring='\ %s formatoptions-=t formatoptions+=croql

kiteloopdesign avatar Mar 26 '23 07:03 kiteloopdesign

Great, thank you for the fix!

If you make a pull request, I will merge it as soon as I can :-)

aklt avatar Apr 08 '23 18:04 aklt