Skip to content

Add default language server for HTML - #2018

Merged
the-mikedavis merged 3 commits into
helix-editor:masterfrom
David-Else:master
Apr 8, 2022
Merged

Add default language server for HTML#2018
the-mikedavis merged 3 commits into
helix-editor:masterfrom
David-Else:master

Conversation

@David-Else

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

Copy link
Copy Markdown
Contributor

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.

@the-mikedavis the-mikedavis left a comment

Copy link
Copy Markdown
Member

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