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 default language server for HTML #2018

Merged
merged 3 commits into from
Apr 8, 2022
Merged

Add default language server for HTML #2018

merged 3 commits into from
Apr 8, 2022

Conversation

David-Else
Copy link
Contributor

@David-Else David-Else commented Apr 8, 2022

Formatting now works after much experimentation.

Neovim provides these additional settings:

    init_options = {
      embeddedLanguages = { css = true, javascript = true },
      configurationSection = { 'html', 'css', 'javascript' },
    },

But I don't think they are doing anything extra in Helix. Without them it still seems to be accepting and formatting JS, I think it is best to leave them out for now unless someone else knows more about them.

I will add to the WIKI when this is merged.

Copy link
Member

@the-mikedavis the-mikedavis left a comment

Choose a reason for hiding this comment

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

looks good, thanks!

@the-mikedavis the-mikedavis merged commit b5efb9d into helix-editor:master Apr 8, 2022
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.

2 participants