docs: add comments to config

This commit is contained in:
Job 2024-11-01 20:37:32 +01:00
parent 5868d34775
commit b11b9fd153
Signed by: Job79
SSH Key Fingerprint: SHA256:BezbKv3jZaqu7SdNrZM0e42b8nlNwh63zaVj/pUxc7U
3 changed files with 10 additions and 7 deletions

View File

@ -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,
}

View File

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

View File

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