VHDL-LS / rust_hdl_vscode

VHDL Language Support for VSCode
MIT License
53 stars 17 forks source link

Adding updated VHDL-2019 grammar. #66

Closed bpadalino closed 1 year ago

bpadalino commented 1 year ago

Note that this grammar should be used for syntax highlighting only. It doesn't know anything about the context of the code.

guilbaudl commented 1 year ago

Hello, it seems that it does not work but I don't know the reason. What I do is copy/pasting the content of the file to replace the existing content. Doing so, the syntax is not highlighted. If I switch back on the existing revision, no problem. Do you have a clue @bpadalino ?

bpadalino commented 1 year ago

There was an error in the scoping for the grammar so it wasn't being registered as a valid scope for highlighting. I have changed it. Please give it a shot now and see if it fixes things for you.

guilbaudl commented 1 year ago

Can confirm that the testing is for now ok. I will comment if I notice any missing highlighting