update
This commit is contained in:
+1
-21
@@ -7,25 +7,5 @@
|
||||
--
|
||||
|
||||
return {
|
||||
"zbirenbaum/copilot.lua",
|
||||
cmd = "Copilot",
|
||||
build = ":Copilot auth",
|
||||
event = "BufReadPost",
|
||||
opts = {
|
||||
suggestion = {
|
||||
enabled = not vim.g.ai_cmp,
|
||||
auto_trigger = true,
|
||||
hide_during_completion = vim.g.ai_cmp,
|
||||
keymap = {
|
||||
accept = false, -- handled by nvim-cmp / blink.cmp
|
||||
next = "<M-]>",
|
||||
prev = "<M-[>",
|
||||
},
|
||||
},
|
||||
panel = { enabled = false },
|
||||
filetypes = {
|
||||
markdown = true,
|
||||
help = true,
|
||||
},
|
||||
},
|
||||
{ "github/copilot.vim" },
|
||||
}
|
||||
|
||||
@@ -6,10 +6,9 @@
|
||||
-- Distributed under terms of the GPL license.
|
||||
--
|
||||
|
||||
|
||||
return {
|
||||
{
|
||||
"echasnovski/mini.diff",
|
||||
"nvim-mini/mini.diff",
|
||||
event = "VeryLazy",
|
||||
keys = {
|
||||
{
|
||||
@@ -30,5 +29,5 @@ return {
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
+12
-4
@@ -11,15 +11,12 @@ return {
|
||||
opts = { ensure_installed = { "vue", "css", "scss", "go", "gomod", "gowork", "gosum", "json5" } },
|
||||
},
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
"mason-org/mason.nvim",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"bash-language-server",
|
||||
"css-lsp",
|
||||
"html-lsp",
|
||||
"vue-language-server",
|
||||
"vtsls",
|
||||
"typescript-language-server",
|
||||
"gopls",
|
||||
"helm-ls",
|
||||
"json-lsp",
|
||||
@@ -48,6 +45,17 @@ return {
|
||||
ts_ls = {
|
||||
enabled = false,
|
||||
},
|
||||
gopls = {
|
||||
settings = {
|
||||
gopls = {
|
||||
hints = {
|
||||
parameterNames = false,
|
||||
assignVariableTypes = false,
|
||||
},
|
||||
usePlaceholders = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
vtsls = {
|
||||
enabled = false,
|
||||
filetypes = {
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
return {
|
||||
"folke/snacks.nvim",
|
||||
opts = {
|
||||
terminal = {
|
||||
win = {
|
||||
-- 可选: "float" (浮动), "bottom" (底部), "top" (顶部), "left" (左侧), "right" (右侧)
|
||||
-- position = "right",
|
||||
|
||||
-- 浮动窗口专用配置(当 position = "float" 时生效)
|
||||
-- border = "rounded", -- 边框样式: "single", "double", "rounded", "shadow"
|
||||
-- width = 0.3,
|
||||
-- height = 0.8, -- 高度占屏幕比例
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
+9
-10
@@ -1,21 +1,20 @@
|
||||
return {
|
||||
{
|
||||
'aperezdc/vim-template',
|
||||
config = function()
|
||||
end,
|
||||
"aperezdc/vim-template",
|
||||
config = function() end,
|
||||
},
|
||||
{
|
||||
"norcalli/nvim-colorizer.lua",
|
||||
config = function()
|
||||
require("colorizer").setup({ "css", "scss", "html", "javascript", "vue", "ts", "lua" }, {
|
||||
RGB = true, -- #RGB hex codes
|
||||
RRGGBB = true, -- #RRGGBB hex codes
|
||||
RGB = true, -- #RGB hex codes
|
||||
RRGGBB = true, -- #RRGGBB hex codes
|
||||
RRGGBBAA = true, -- #RRGGBBAA hex codes
|
||||
rgb_fn = true, -- CSS rgb() and rgba() functions
|
||||
hsl_fn = true, -- CSS hsl() and hsla() functions
|
||||
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||
rgb_fn = true, -- CSS rgb() and rgba() functions
|
||||
hsl_fn = true, -- CSS hsl() and hsla() functions
|
||||
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||
})
|
||||
end,
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user