-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Conversation
There was a problem hiding this 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!
Pkg.Lang["typescript.glimmer"], | ||
Pkg.Lang["javascript.glimmer"], |
There was a problem hiding this comment.
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"?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
🤔
There was a problem hiding this comment.
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.
Co-authored-by: William Boman <william@redwill.se>
Co-authored-by: William Boman <william@redwill.se>
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
Leaving as a draft for nowwhile 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