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

coc-emmet doesn't work on html.erb files (Ruby on Rails) #48

Open
Usielrivas opened this issue Apr 16, 2022 · 3 comments
Open

coc-emmet doesn't work on html.erb files (Ruby on Rails) #48

Usielrivas opened this issue Apr 16, 2022 · 3 comments
Labels
question Further information is requested

Comments

@Usielrivas
Copy link

"emmet.includeLanguages ": {
    "vue-html": "html",
    "javascript": "javascriptreact",
    "javascript": "javascript",
    "erb": "html",
    "html.erb": "html",
    "ruby": "html"
  }

I have tried the following settings in the coc-settings.json, but none of them make the language server work on these types of files.

@glemmal
Copy link

glemmal commented Dec 13, 2022

Hi there 👋

Mapping eruby to html worked for me:

  "emmet.includeLanguages": {
    "eruby": "html"
  }

@Usielrivas
Copy link
Author

Usielrivas commented Jan 7, 2023

Hi, thanks for answering. I tried your suggestion and emmet didn't work in erb.
More information about my environment

Nvim 8.0.1
OS: Lubuntu 22.04.1 LTS
init.lua: https://github.com/Usielrivas/neovim-lua-settings

Thank you

@chemzqm
Copy link
Member

chemzqm commented Jan 22, 2023

Make sure coc-emmet is activated by :CocList extensions

@chemzqm chemzqm added the question Further information is requested label Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants