windwp / nvim-ts-autotag

Use treesitter to auto close and auto rename html tag
MIT License
1.62k stars 86 forks source link

autocompletion not enabled on new file type, gjs,gts #142

Closed NullVoxPopuli closed 8 months ago

NullVoxPopuli commented 10 months ago

reference: gjs in neovim has a filetype of javascript.glimmer gts in neovim has a filetype of typescript.glimmer

I have config to accomodate:

      require'nvim-treesitter.configs'.setup {
        autotag = {
          enable = true,
          filetypes = { 
            "html",  
            "javascript", "typescript",
            "typescript.glimmer", "javascript.glimmer",
            "javascriptreact", "typescriptreact",
            "markdown",
            "glimmer", "handlebars", "hbs", "svelte", "vue"
          }
        },

but it still doesn't work. idk if this'll be useful: image

stale[bot] commented 8 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.