AutoYADM commit: 2024-12-13 14:15:02

This commit is contained in:
Daniel Fichtinger 2024-12-13 14:15:02 -05:00
parent 64686a9859
commit 7d6d79933f
5 changed files with 68 additions and 41 deletions

View file

@ -0,0 +1,59 @@
local follow_main = false
if follow_main then
vim.g.lazyvim_blink_main = true
end
return {
"saghen/blink.cmp",
---@module 'blink.cmp'
---@type blink.cmp.Config
opts = {
appearance = {
-- sets the fallback highlight groups to nvim-cmp's highlight groups
-- useful for when your theme doesn't support blink.cmp
-- will be removed in a future release, assuming themes add support
use_nvim_cmp_as_default = false,
-- set to 'mono' for 'Nerd Font Mono' or 'normal' for 'Nerd Font'
-- adjusts spacing to ensure icons are aligned
nerd_font_variant = "mono",
},
completion = {
accept = {
-- experimental auto-brackets support
auto_brackets = {
enabled = true,
},
},
menu = {
draw = {
treesitter = true,
},
},
documentation = {
auto_show = true,
auto_show_delay_ms = 200,
},
ghost_text = {
enabled = vim.g.ai_cmp,
},
},
-- experimental signature help support
-- signature = { enabled = true },
sources = {
-- adding any nvim-cmp sources here will enable them
-- with blink.compat
compat = {},
default = { "lsp", "path", "snippets", "buffer" },
cmdline = {},
},
keymap = {
preset = "default",
["<Tab>"] = {
LazyVim.cmp.map({ "snippet_forward", "ai_accept" }),
"fallback",
},
},
},
}

View file

@ -0,0 +1,9 @@
return {
"folke/snacks.nvim",
opts = {
indent = {
enabled = true,
only_current = true,
},
},
}

View file

@ -1,39 +0,0 @@
return {
-- "echasnovski/mini.indentscope",
-- version = false, -- wait till new 0.7.0 release to put it back on semver
-- event = "LazyFile",
-- opts = {
-- -- symbol = "▏",
-- symbol = "│",
-- options = {
-- try_as_border = true,
-- draw = {
-- animation = require("mini.indentscope").gen_animation.none(),
-- },
-- },
-- },
-- init = function()
-- vim.api.nvim_create_autocmd("FileType", {
-- pattern = {
-- "Trouble",
-- "alpha",
-- "dashboard",
-- "fzf",
-- "help",
-- "lazy",
-- "mason",
-- "neo-tree",
-- "notify",
-- "snacks_dashboard",
-- "snacks_notif",
-- "snacks_terminal",
-- "snacks_win",
-- "toggleterm",
-- "trouble",
-- },
-- callback = function()
-- vim.b.miniindentscope_disable = true
-- end,
-- })
-- end,
}