My autocomplete is not working. First, let me say that I'm a noob using lazyvim but I'm so enthusiastic about it and I'm trying to learn. Trying to code in any language I don't get any language recommendations from the autocomplete, or corrections. It's a fresh installation and I installed the language packages through Mason but when I type anything on a new file I don't get any suggestions or corrections. I'm trying to use to code HTML but can't get any corrections or suggestions from the program. I want, for example, to type "html5" and get the necessary lines of code, or to type head and get the opening and closing brackets but the program is not giving me any Any ideas? Thanks for your help and happy holidays enter image description here enter image description here

  • vi.stackexchange.com/questions/2003/… Perhaps? We can’t do anything without a minimal reproducible example. Please edit with more details
    – D. Ben Knoble
    Dec 20, 2023 at 15:31
  • The LSP configuration is language dependent. It would be good if you could tell us for which language(s) you seek cide completion. Dec 20, 2023 at 15:36
  • Could you precise what kind of support you would expect to write html? Maybe could you be interested by the emmet plugin. Dec 20, 2023 at 17:56

1 Answer 1


The emmmet-vim plugin provides support for html tag insertion:

html:5Ctrl y, expand into:

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">

div#page>div.logo+ul#navigation>li*5>aCtrl y, expand into:

    <div id="page">
        <div class="logo"></div>
        <ul id="navigation">
            <li><a href=""></a></li>
            <li><a href=""></a></li>
            <li><a href=""></a></li>
            <li><a href=""></a></li>
            <li><a href=""></a></li>
  • 1
    It was a silly fault. I just have to open a file as .html/css/jsx and I get the proper text recommendations. So I create a file>save as filename.html and it starts working. Thanks anyway. Happy Christmas guys Dec 21, 2023 at 12:04
  • Thanks for the feedback. Merry Christmas ans happy new year to you :-) Dec 21, 2023 at 12:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.