plugin cleanup

This commit is contained in:
2025-07-26 22:43:40 +02:00
parent 9082f3926a
commit 3abb3491a9
8 changed files with 72 additions and 111 deletions

View File

@@ -23,28 +23,28 @@ return {
-- │ Completion │
{
'saghen/blink.cmp',
dependencies = { 'rafamadriz/friendly-snippets' },
version = '1.*',
opts = {
-- C-e: Hide menu
-- C-k: Toggle signature help (if signature.enabled = true)
keymap = {
preset = 'default',
['<Enter>'] = { 'accept', 'fallback' },
['<Tab>'] = { 'select_next', 'fallback' },
['<S-Tab>'] = { 'select_prev', 'fallback' },
},
appearance = {
nerd_font_variant = 'mono'
},
completion = { documentation = { auto_show = false } },
sources = {
'saghen/blink.cmp',
dependencies = { 'rafamadriz/friendly-snippets' },
version = '1.*',
opts = {
-- C-e: Hide menu
-- C-k: Toggle signature help (if signature.enabled = true)
keymap = {
preset = 'default',
['<Enter>'] = { 'accept', 'fallback' },
['<Tab>'] = { 'select_next', 'fallback' },
['<S-Tab>'] = { 'select_prev', 'fallback' },
},
default = { 'lsp', 'path', 'snippets', 'buffer' },
fuzzy = { implementation = "prefer_rust_with_warning" }
},
opts_extend = { "sources.default" }
appearance = {
nerd_font_variant = 'mono'
},
completion = { documentation = { auto_show = false } },
sources = {
},
default = { 'lsp', 'path', 'snippets', 'buffer' },
fuzzy = { implementation = "prefer_rust_with_warning" }
},
opts_extend = { "sources.default" }
},
-- -- │ Auto close │
@@ -52,11 +52,11 @@ return {
"windwp/nvim-ts-autotag",
config = function(_, opts)
require('nvim-ts-autotag').setup({
opts = {
enable_close = true,
enable_rename = true,
enable_close_on_slash = false
},
opts = {
enable_close = true,
enable_rename = true,
enable_close_on_slash = false
},
})
end,
},
@@ -68,18 +68,18 @@ return {
},
-- │ Easy comments │
{
"numToStr/Comment.nvim",
keys = {
{ "gcc", mode = "n", desc = "Comment toggle current line" },
{ "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" },
{ "gc", mode = "x", desc = "Comment toggle linewise (visual)" },
{ "gbc", mode = "n", desc = "Comment toggle current block" },
{ "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" },
{ "gb", mode = "x", desc = "Comment toggle blockwise (visual)" },
},
config = function(_, opts)
require("Comment").setup(opts)
end,
},
-- {
-- "numToStr/Comment.nvim",
-- keys = {
-- { "gcc", mode = "n", desc = "Comment toggle current line" },
-- { "gc", mode = { "n", "o" }, desc = "Comment toggle linewise" },
-- { "gc", mode = "x", desc = "Comment toggle linewise (visual)" },
-- { "gbc", mode = "n", desc = "Comment toggle current block" },
-- { "gb", mode = { "n", "o" }, desc = "Comment toggle blockwise" },
-- { "gb", mode = "x", desc = "Comment toggle blockwise (visual)" },
-- },
-- config = function(_, opts)
-- require("Comment").setup(opts)
-- end,
-- },
}