From 163a9bec0c09d3cf5db2f40b298e007a27dc0421 Mon Sep 17 00:00:00 2001 From: chuyanlong Date: Wed, 8 Oct 2025 10:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/lazyvim/plugins/extras/lang/html-css.lua | 52 ++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/lua/lazyvim/plugins/extras/lang/html-css.lua b/lua/lazyvim/plugins/extras/lang/html-css.lua index 07d0a4bb..48d24582 100644 --- a/lua/lazyvim/plugins/extras/lang/html-css.lua +++ b/lua/lazyvim/plugins/extras/lang/html-css.lua @@ -104,4 +104,56 @@ return { }, }, }, + { + "Jezda1337/nvim-html-css", + lazy = true, + event = "VeryLazy", + dependencies = { "saghen/blink.cmp", "nvim-treesitter/nvim-treesitter" }, -- Use this if you're using blink.cmp + opts = { + enable_on = { + "html", + "htmldjango", + "tsx", + "jsx", + "erb", + "svelte", + "vue", + "blade", + "php", + "templ", + "astro", + }, + handlers = { + definition = { + bind = "gd", + }, + hover = { + bind = "K", + wrap = true, + border = "none", + position = "cursor", + }, + }, + documentation = { + auto_show = true, + }, + style_sheets = {}, + }, + }, + { + "saghen/blink.cmp", + optional = true, + dependencies = { "Kaiser-Yang/blink-cmp-avante", "saghen/blink.compat" }, + opts = { + sources = { + default = { "html-css" }, + providers = { + ["html-css"] = { + name = "html-css", + module = "blink.compat.source", + }, + }, + }, + }, + }, }