2024-12-12 19:42:39 +00:00
|
|
|
-- Disable unused plugins and functionality.
|
2024-09-24 17:24:17 +00:00
|
|
|
return {
|
|
|
|
{
|
2024-12-12 19:42:39 +00:00
|
|
|
-- Disable the dashboard.
|
2024-11-24 09:34:24 +00:00
|
|
|
"folke/snacks.nvim",
|
|
|
|
opts = function(_, opts)
|
|
|
|
opts.dashboard = { enabled = false }
|
|
|
|
end,
|
2024-09-24 17:24:17 +00:00
|
|
|
},
|
|
|
|
{
|
2024-12-12 19:42:39 +00:00
|
|
|
-- Disable the bufferline.
|
2024-09-24 17:24:17 +00:00
|
|
|
"bufferline.nvim",
|
|
|
|
enabled = false,
|
|
|
|
},
|
2024-12-12 19:42:39 +00:00
|
|
|
{
|
|
|
|
-- Disable inline hints by default.
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
opts = {
|
|
|
|
inlay_hints = { enabled = false },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"hrsh7th/nvim-cmp",
|
|
|
|
opts = function(_, opts)
|
|
|
|
-- Disable autocomplete on enter.
|
|
|
|
local cmp = require("cmp")
|
|
|
|
opts.mapping = vim.tbl_deep_extend("force", opts.mapping, {
|
|
|
|
["<CR>"] = cmp.config.disable,
|
|
|
|
})
|
|
|
|
end,
|
|
|
|
},
|
2024-09-24 17:24:17 +00:00
|
|
|
}
|