genericptr/pascal-language-server

Syntax styling in hover popup

Closed this issue · 1 comments

Screen Shot 2022-09-28 at 9 17 38 AM

Here are my notes from hover.pas.

    // https://facelessuser.github.io/sublime-markdown-popups/

    // todo: doesn't support pascal syntax!
    // note: other user says it works for him, pascal syntax is in app bundle
    // import mdpopups;mdpopups.show_popup(view, '```pascal\nvar x = 1\n```')

    //Hint := ReadFile('/Users/ryanjoseph/Developer/Projects/FPC/pascal-language-server/README.md');
    //Hint:='```json'+#10+'"initializationOptions": [1,2,3]'+#10+'```';
    //Hint:='```pascal'+#10+'type TDebug = record'+#10+'```';

Syntax styling works in VSCode so this must be a ST issue.

Screen Shot 2022-10-15 at 9 29 37 AM