Skip to content
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

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

Closed
nishanthkarthik opened this issue Sep 4, 2023 · 2 comments
Closed

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

nishanthkarthik opened this issue Sep 4, 2023 · 2 comments

Comments

@nishanthkarthik
Copy link

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
Copy link
Contributor

6cdh commented Sep 5, 2023

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
Copy link
Author

gotcha, I'll check ksyntaxhighlighting then :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants