-
Should invalid strings not be highlighted? Should it be highlighted as a string still? In my case it might be possible to additionally highlight errors, but I am not sure if that works given that the dynamic part is at the end of the context. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I think this is the sort of thing where using an LSP makes the most sense. For anything using kdl-lsp, for example, users will get a squiggly diagnostic |
Beta Was this translation helpful? Give feedback.
-
Yeah, ideally have a regex that highlights correct strings one way, and a looser catch-all regex that highlights incorrect strings as an error. But just highlighting them all as loose strings is fine too. |
Beta Was this translation helpful? Give feedback.
I’d say that’s fine yes. Or possibly not bother highlighting at all if you plan on using an lsp