matchtags Svelte Themes

Matchtags

Highlights matching html/xml tags in Neovim, Written in Native Vimscript

Matchtags

Highlights matching html/xml tags in Neovim:

image

can easily handle large files

Installation Using lazy.nvim:

return {
  "tribhuwan-kumar/matchtags",
  init = function()
    vim.g.load_matchtags = 1
    vim.g.matchtags_filetypes = {
      html = 1,
      xhtml = 1,
      xml = 1,
      jinja = 1,
      php = 1,
      vue = 1,
      svelte = 1,
      javascriptreact = 1,
      typescriptreact = 1,
      eruby = 1,
    }
  end,
}

Installation using vimplug:

Plug 'tribhuwan-kumar/matchtags'

Enable or disable:

let g:load_matchtags = 1

Define filetypes of highlights:

  let g:matchtags_filetypes = {
        \ 'html' : 1,
        \ 'xhtml' : 1,
        \ 'xml' : 1,
        \ 'jinja' : 1,
        \ 'php' : 1,
        \ 'vue' : 1,
        \ 'svelte' : 1,
        \ 'javascriptreact' : 1,
        \ 'typescriptreact' : 1,
        \ 'eruby': 1,
        \ }

Top categories

Loading Svelte Themes