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

Add support for the glint-language-server #593

Merged
merged 8 commits into from
Oct 23, 2022

Conversation

NullVoxPopuli
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli commented Oct 23, 2022

Leaving as a draft for now while I work on resolving: #583 (reply in thread)

Accompanying PR: williamboman/mason-lspconfig.nvim#89

Need to get all the changes in the corresponding repos in place, test locally, and then I'll move these PRs out of draft

@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review October 23, 2022 15:59
Copy link
Owner

@williamboman williamboman left a comment

Choose a reason for hiding this comment

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

Cool! Some suggestion re package renaming and scope!

Comment on lines 12 to 13
Pkg.Lang["typescript.glimmer"],
Pkg.Lang["javascript.glimmer"],
Copy link
Owner

Choose a reason for hiding this comment

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

These language entries are meant for discovery purposes only, so these compound-like filetype names are not used elsewhere. I wonder if it'd be enough with "Handlebars" and "Glimmer"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, ok, probably -- I thought they needed to somehow map to a file's filetype

Copy link
Owner

Choose a reason for hiding this comment

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

The "programmatic" filetype mapping is governed by nvim-lspconfig for LSP servers! These language entries are really just arbitrary strings only used for presentational purposes, for now.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My latest commit (on both repos) brought back

[mason-lspconfig.nvim] Server "glint" is not a valid entry in ensure_installed. Make sure to only provide lspconfig server names.

🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, latest latest commit re-fixed this.

lua/mason-registry/glint-language-server/init.lua Outdated Show resolved Hide resolved
lua/mason-registry/glint-language-server/init.lua Outdated Show resolved Hide resolved
@williamboman

This comment has been minimized.

Copy link
Owner

@williamboman williamboman left a comment

Choose a reason for hiding this comment

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

Great!

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

Successfully merging this pull request may close these issues.

3 participants