fix(vue): ensure css treesitter installed (#4308)

## Description

If css treesitter is not installed(the current), <style> in vue file
will use wrong commentstring, ts-comments.nvim or
nvim-ts-context-commentstring both. so ensure it's installed.

## Related Issue(s)

explained: [in
https://github.com/JoosepAlviste/nvim-ts-context-commentstring/issues/117](https://github.com/JoosepAlviste/nvim-ts-context-commentstring/issues/117#issuecomment-2287909324)
close https://github.com/LazyVim/LazyVim/issues/4292
This commit is contained in:
bilabila
2024-09-18 14:22:05 +08:00
committed by GitHub
parent 6dcd9794b1
commit 627215a72b
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ return {
{
"nvim-treesitter/nvim-treesitter",
opts = { ensure_installed = { "vue" } },
opts = { ensure_installed = { "vue", "css" } },
},
-- Add LSP servers