jeapostrophe / racket-langserver

Other
262 stars 24 forks source link

Shebang at the top of the file breaks syntax highlighting #123

Closed nishanthkarthik closed 1 year ago

nishanthkarthik commented 1 year ago

I use racket with racket-langserver using the LSP plugin in Kate editor. Shebang at the top of the file breaks syntax highlighting. The colored parentheses come from a different kate addon.

with shebang image

without shebang

image

6cdh commented 1 year ago

This lsp server doesn't support syntax highlight. It should be the issue of Kate.

The #!/ starts a line comment, but can be continued to the next line by ending with \. The bug could be from the incorrect regex.

nishanthkarthik commented 1 year ago

gotcha, I'll check ksyntaxhighlighting then :)