rainbow-delimiters.nvim icon indicating copy to clipboard operation
rainbow-delimiters.nvim copied to clipboard

[Bug]: astro not working

Open beaumccartney opened this issue 7 months ago • 0 comments

Neovim version

NVIM v0.10.0 Build type: Release LuaJIT 2.1.1716656478 Run "nvim -V1 -v" for more info

Language affected

Astro

Query

No response

Strategy

No response

Description

no rainbow tags like html

minimal repro below, issue reproduces on the astro test file in the repo

local path_package = vim.fn.stdpath('data') .. '/site/'
local mini_path = path_package .. 'pack/deps/start/mini.nvim'
if not vim.loop.fs_stat(mini_path) then
    vim.cmd('echo "Installing `mini.nvim`" | redraw')
    local clone_cmd = {
        'git', 'clone', '--filter=blob:none',
        'https://github.com/echasnovski/mini.nvim', mini_path
    }
    vim.fn.system(clone_cmd)
    vim.cmd('packadd mini.nvim | helptags ALL')
    vim.cmd('echo "Installed `mini.nvim`" | redraw')
end

-- Set up 'mini.deps' (customize to your liking)
require'mini.deps'.setup { path = { package = path_package } }

local add, now, later = MiniDeps.add, MiniDeps.now, MiniDeps.later

add('HiPhish/rainbow-delimiters.nvim')
add({
    source = 'nvim-treesitter/nvim-treesitter',
    checkout = 'master',
    hooks = { post_checkout = function() vim.cmd('TSUpdate') end },
})
require'nvim-treesitter.configs'.setup {
    ensure_installed = {
        'astro',
    },
}
vim.api.nvim_create_autocmd("Filetype", {
    callback = function(ev)
        vim.treesitter.start()
    end,
})

beaumccartney avatar Jul 03 '24 21:07 beaumccartney