pedro757 / emmet

Emmet language server for autocompletion in LSP compatible editors
93 stars 4 forks source link

Limit Markup for HTML #15

Open anoopd opened 2 years ago

anoopd commented 2 years ago

Hi Is it possible to limit the markup to HTML elements and attributes and avoiding the behaviour in the image below ( which is an expected behaviour for javascriptreact and jsx . ) 2

pedro757 commented 2 years ago

As a work around you could modify your sources priorities in nvim-cmp, I'm reading the LSP docs but it's a really bad documentation

anoopd commented 2 years ago

Ty , will try it and let you know how it worked .

anoopd commented 2 years ago

I tried bringing my snippet engine as first priority , but not working .

pedro757 commented 2 years ago

The thing is there are custom web components in html, so I can't think of a good way to handle this. Do you have any idea?

anoopd commented 2 years ago

I have found https://github.com/aca/emmet-ls . Not sure whether it is helpful or not .