mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
增加类型
This commit is contained in:
parent
feea487f27
commit
163a9bec0c
1 changed files with 52 additions and 0 deletions
|
|
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue