-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code highlighting issue in vhdl single quote (') #106
Comments
can you provide a screenshot/link please ? which version do you mean (old/new one) ? |
btw. as i know, single quotes are only valid for |
new version. |
ah i see, they're used for predefined attributes |
absolutely, so what can I do? it wasn't the issue in previous version. |
give me a few seconds to fix it... |
Great. thanks for your instant help, but how can update my plugin? do I need to modify it manually? or some thing else? |
replace the enlighterjs.min.js file with the one from the master branch (dist dir) |
Thank you AndiDittrich, I did it successfully. |
hello
I'm using the plugin with VHDL language, in new version there is some problem with single quote attribute syntax
there is no need to apply highlighting to this kind of syntax, for example error occur in line 2 (Input'length)
plugin look for ending quote pair, but there is no ending pair --> (Input'length') is incorrect
function LeadOneDetector(Input : std_logic_vector) return integer is constant LEN : integer := Input'length; variable Idx : integer range 0 to LEN-1; begin Idx := 0; looop: for i in 0 to LEN-1 loop if Input(i) = '1' then Idx := i; end if; end loop; return Idx; end function LeadOneDetector;
The text was updated successfully, but these errors were encountered: