feat: disable some features of snacks

This commit is contained in:
2026-05-10 14:50:09 +08:00
parent fd0d59a7df
commit c2439bfe72
5 changed files with 7 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@
"conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" },
"dashboard-nvim": { "branch": "master", "commit": "0775e567b6c0be96d01a61795f7b64c1758262f6" },
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
"dressing.nvim": { "branch": "master", "commit": "2d7c2db2507fa3c4956142ee607431ddb2828639" },
"flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" },
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
"fzf-lua": { "branch": "main", "commit": "c9e7b7bfbd01f949164988ee1684035468e1995c" },
+1 -1
View File
@@ -1,6 +1,6 @@
{
"extras": [
"lazyvim.plugins.extras.editor.snacks_picker",
"lazyvim.plugins.extras.editor.telescope",
"lazyvim.plugins.extras.test.core",
"lazyvim.plugins.extras.lang.go",
"lazyvim.plugins.extras.lang.typescript",
+1 -1
View File
@@ -5,7 +5,7 @@ return {
cli = {
mux = {
backend = vim.env.ZELLIJ and "zellij" or "tmux",
enabled = vim.fn.executable("zellij") == 1 or vim.fn.executable("tmux") == 1,
enabled = false,
},
},
},
+2
View File
@@ -2,6 +2,8 @@ return {
{
"folke/snacks.nvim",
opts = {
-- LazyVim 仍依赖 snacks 核心(通知、dashboard 等);关闭 picker,统一用 Telescope。
picker = { enabled = false },
image = {
-- tmux / 部分终端不报 kitty graphics;避免 :checkhealth 里出现 ERROR(仍会 WARN)
force = true,
+2
View File
@@ -1,6 +1,8 @@
return {
{
"telescope.nvim",
-- 未启用 `editor.telescope` extra 时 Lazy 不会注册 `:Telescope`,自定义 `<cmd>Telescope …` 键会失效。
cmd = { "Telescope" },
dependencies = {
{
"nvim-telescope/telescope-fzf-native.nvim",