How to set file type for lsp.hover

I use nvim-colorizer to see some color codes.

With the hover info, I can see some themes’ color codes in the floating window.

But unfortunately, nvim-colorizer will only render colors for buf with filetype attribute.

My question is, how do I set a filetype for lsp.hover ? Can I set it via vim.lsp.with ? If so, how can I do it?

Something like this, but it doesn’t work:

["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = "rounded", filetype = "lsp-hover"}),