Skip to content

Change tracking of file types to language kinds#4621

Merged
fendor merged 1 commit into
haskell:masterfrom
VeryMilkyJoe:track-language-id
Feb 25, 2026
Merged

Change tracking of file types to language kinds#4621
fendor merged 1 commit into
haskell:masterfrom
VeryMilkyJoe:track-language-id

Conversation

@VeryMilkyJoe

@VeryMilkyJoe VeryMilkyJoe commented Jun 8, 2025

Copy link
Copy Markdown
Collaborator

The plugin descriptor now tracks the language kinds it is responsible for instead of the file endings.
This will allow files without ".hs" or other relevant file endings to still be handled by HLS if their language kind is set properly.

We get the language kinds of any file from the VFS.

Currently we are using a source repository to be able to use the lsp changes needed, but once lsp is released this can be removed.

Closes #3567

image

@fendor fendor left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@fendor fendor enabled auto-merge (squash) February 25, 2026 10:11
The plugin descriptor now tracks the language kinds it is responsible
for instead of the file endings.

We get the language kinds of any file from the VFS.

Currently we are using a source repository to be able to use the lsp
changes needed, but once lsp is released this can be removed.
@fendor fendor merged commit 66f5526 into haskell:master Feb 25, 2026
40 checks passed
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.

HLS not working for file without .hs extension

2 participants