Job79
e180de3a7b
All checks were successful
Container build / container-build (push) Successful in 4m52s
33 lines
624 B
Lua
33 lines
624 B
Lua
-- Disable unused plugins and functionality.
|
|
return {
|
|
{
|
|
-- Disable the dashboard.
|
|
"folke/snacks.nvim",
|
|
opts = function(_, opts)
|
|
opts.dashboard = { enabled = false }
|
|
end,
|
|
},
|
|
{
|
|
-- Disable the bufferline.
|
|
"bufferline.nvim",
|
|
enabled = false,
|
|
},
|
|
{
|
|
-- 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,
|
|
},
|
|
}
|