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

Arkdark breaks syntax highlighting when jsx/tsx templates contain functions ending with type #1085

Open
Huliiiiii opened this issue Aug 11, 2024 · 0 comments
Assignees
Labels
bug Something isn't working confirmed The maintainers of the repo would like to address this

Comments

@Huliiiiii
Copy link
Contributor

Report a bug

πŸ”Ž Search Terms

arkdark, highlighting

🧩 Context

arkdark version: latest
vscode version: latest

πŸ§‘β€πŸ’» Repro

code

export default function Counter() {
	const [count, setCount] = createSignal(0);
  function fn_name_ends_with_type() {
    return "type"
  }
   return (
    <button class="increment" onClick={() => setCount(count() + 1)} type="button">
      Clicks: {count()}
      <span>{fn_name_ends_with_type()}</span>
    </button>
  );
}
@Huliiiiii Huliiiiii added the bug Something isn't working label Aug 11, 2024
@ssalbdivad ssalbdivad added the confirmed The maintainers of the repo would like to address this label Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed The maintainers of the repo would like to address this
Projects
Status: Backlog
Development

No branches or pull requests

2 participants