Compare commits

...

2 Commits

Author SHA1 Message Date
702687276a
feat: only show important notifications
All checks were successful
Container build / container-build (push) Successful in 3m26s
2024-11-01 20:37:52 +01:00
b11b9fd153
docs: add comments to config 2024-11-01 20:37:32 +01:00
4 changed files with 20 additions and 7 deletions

View File

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

View File

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

View File

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

View File

@ -0,0 +1,10 @@
-- Only show important notifications.
return {
{
"rcarriga/nvim-notify",
opts = {
level = 3,
render = "minimal",
},
},
}