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

Also activate in cjs and cts #1

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Also activate in cjs and cts #1

merged 1 commit into from
Apr 9, 2024

Conversation

kisaragi-hiu
Copy link
Contributor

Currently lsp-biome does not activate in, for example, .cjs or .mjs files. This PR fixes that, enabling lsp-biome in cjs, cts, mjs, and mts files.

This also rewrites the file type regexp to use rx, which makes the intent more readable and produces a more efficient regexp.

rx is already used extensively in lsp-mode.el, so it's not a new dependency.

This also rewrites the file type regexp to use `rx`, which makes the intent more
readable and produces a more efficient regexp.

rx is already used extensively in lsp-mode.el, so it's not a new dependency.
@cxa cxa merged commit 1e411e6 into cxa:main Apr 9, 2024
@cxa
Copy link
Owner

cxa commented Apr 9, 2024

Nice work, thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants