https://bugs.kde.org/show_bug.cgi?id=514536

            Bug ID: 514536
           Summary: Lua Code highlighting within TeX Files  is broken
    Classification: Frameworks and Libraries
           Product: frameworks-syntax-highlighting
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 188478
  --> https://bugs.kde.org/attachment.cgi?id=188478&action=edit
MWE TeX Code showing the change in syntax highlighting behaviour

SUMMARY
Lua Code highlighting is broken

STEPS TO REPRODUCE
1. Use a luacode environment within (La)TeX-Code, e.g. \begin{luacode*} ...
\end{luacode*}
2. Write in some code 
3. Use a  lua table within that  luacode somewhere in between, e.g t={}

OBSERVED RESULT
lua code is highlighted as string until the lua tables,
after that  (with the curly braces) it changes to the lua code beeing
highlighted (it seems as lua code)

EXPECTED RESULT
Lua Code is highlithed as lua code

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.6-1-vanilla (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
see attached example mwe.tex

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to