olrtg / emmet-language-server

A language server for emmet.io
https://www.npmjs.com/package/@olrtg/emmet-language-server
MIT License
268 stars 8 forks source link

css.intUnit Configuration does not take effect #18

Closed kola-web closed 11 months ago

olrtg commented 11 months ago

Well I've put this in my config and it seems that is working:

preferences = {
  ["css.intUnit"] = "rem",
},

image

kola-web commented 10 months ago

thank you

kola-web commented 10 months ago

@olrtg Ask a question Why must we set ["css.intUnit"] = "rem", Don’t you want to set css={intUnit="rem"} like this?

olrtg commented 10 months ago

Hey @kola-web! Hmm.. I guess that'll be nice but now I'm just passing the config to the emmet-helper as is so that's why it is the way it is right now. Will think about it more though! Great question.

kola-web commented 10 months ago

Thanks for your quick reply