CONSULT icon indicating copy to clipboard operation
CONSULT copied to clipboard

Multiline comments are highlighting wrong

Open Commandcracker opened this issue 2 years ago • 4 comments

Describe the bug Multiline comments are ignored

To Reproduce Steps to reproduce the behavior:

  1. Write a multiline comment
  2. See the wrong syntax highlighting

Expected behavior Multiline comments being gray

Screenshots grafik

Environment (please complete the following information):

  • Version: v1.4.3
  • Terminal: cc-tweaked
  • Terminal's version: 1.19.2-1.101.2

Additional context Add any other context about the problem here.

Commandcracker avatar Apr 01 '23 13:04 Commandcracker

Oh uh, haha good 1. April joke haha, you really got me there.

Jk, thanks for the issue, I will eventually fix it, if I find a way.

SammyForReal avatar Apr 01 '23 13:04 SammyForReal

IDK, but this might be helpful: https://github.com/lunarmodules/luacheck/blob/master/src/luacheck/lexer.lua Btw: When luacheck integration :P

Commandcracker avatar May 27 '23 19:05 Commandcracker

and this too https://github.com/MCJack123/Luz/blob/master/lex.lua

Commandcracker avatar May 27 '23 19:05 Commandcracker

And this :P https://github.com/benanders/LuaIDE but it has no Multiline comment support

Commandcracker avatar May 27 '23 20:05 Commandcracker