ecosse3 / nvim

A non-minimal Neovim config built to work most efficiently with Frontend Development
GNU General Public License v3.0
1.21k stars 109 forks source link

Emmet #96

Closed hitfm00 closed 1 year ago

hitfm00 commented 1 year ago

I think will be cool if you will add Emmet, because it's hard to write tags for example <div></div> I just want to write div and use tab and it will be convert to <div></div> :) It's just proposition

ecosse3 commented 1 year ago

Hi. Feel free to add it to the config for yourself, it's just one line in setup.lua.

I am using it for couple of weeks now but one thing which is very annoying to me is that I cannot sort Emmet Snippets based on priority, because LSP priority in Ecovim config is on the top and Emmet Snippets counts as LSP...

Because of that behavior Emmet Snippets are always on the top which is something I really don't like:

image

If I will figure out or someone can help me how to change this behavior and make Emmet LS less important than other LSPs I will add it to the config as default.

akiletour commented 1 year ago

Hi @ecosse3 ,

I found something on Reddit : https://www.reddit.com/r/neovim/comments/woih9n/comment/ikbd6iy/?utm_source=share&utm_medium=web2x&context=3

What did you think about his solution ?

ecosse3 commented 1 year ago

Thank you @Akiletour. That works great, it's always on the bottom so it's easy to reach it with or Up Arrow. Merged to dev and it will be merged to master within the next release (a week probably).