docs: add comments to config

This commit is contained in:
Job
2024-11-01 20:37:32 +01:00
parent 5868d34775
commit b11b9fd153
3 changed files with 10 additions and 7 deletions

@@ -1,9 +1,10 @@
-- Disable autocomplete on enter.
return {
"hrsh7th/nvim-cmp",
opts = function(_, opts)
local cmp = require("cmp")
opts.mapping = vim.tbl_deep_extend("force", opts.mapping, {
["<CR>"] = cmp.config.disable,
})
end,
"hrsh7th/nvim-cmp",
opts = function(_, opts)
local cmp = require("cmp")
opts.mapping = vim.tbl_deep_extend("force", opts.mapping, {
["<CR>"] = cmp.config.disable,
})
end,
}

@@ -1,3 +1,4 @@
-- Disable some unneeded plugins by default.
return {
{
"nvimdev/dashboard-nvim",

@@ -1,3 +1,4 @@
-- Disable inline hints by default.
return {
"neovim/nvim-lspconfig",
opts = {