fix: update nvim config
All checks were successful
Container build / container-build (push) Successful in 4m12s

This commit is contained in:
Job 2024-12-20 20:24:46 +01:00
parent b745a06eec
commit b93b0bd735
Signed by: Job79
SSH Key Fingerprint: SHA256:BezbKv3jZaqu7SdNrZM0e42b8nlNwh63zaVj/pUxc7U
4 changed files with 13 additions and 19 deletions

View File

@ -16,33 +16,23 @@ vim.opt.rtp:prepend(lazypath)
require("lazy").setup({ require("lazy").setup({
spec = { spec = {
-- add LazyVim and import its plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins" }, { "LazyVim/LazyVim", import = "lazyvim.plugins" },
-- import/override with your plugins
{ import = "plugins" }, { import = "plugins" },
}, },
defaults = { defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
lazy = false, lazy = false,
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning, version = false,
-- have outdated releases, which may break your Neovim install.
version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
}, },
install = {}, install = {},
checker = { checker = {
enabled = true, -- check for plugin updates periodically enabled = true,
notify = false, -- notify on update notify = true,
}, -- automatically check for plugin updates },
performance = { performance = {
rtp = { rtp = {
-- disable some rtp plugins
disabled_plugins = { disabled_plugins = {
"gzip", "gzip",
-- "matchit", "netrwPlugin",
-- "matchparen",
-- "netrwPlugin",
"tarPlugin", "tarPlugin",
"tohtml", "tohtml",
"tutor", "tutor",

View File

@ -1,5 +1,5 @@
-- Set some custom options. -- Set some custom options.
local opt = vim.opt local opt = vim.o
local global = vim.g local global = vim.g
-- Set target text width for gww to 60. -- Set target text width for gww to 60.

View File

@ -1,6 +1,6 @@
-- Configure rose-pine and gruvbox-material colorschemes. -- Configure rose-pine and gruvbox-material colorschemes.
return { return {
{ "rose-pine/neovim" }, { "rose-pine/neovim", name = "rose-pine" },
{ "sainnhe/gruvbox-material" }, { "sainnhe/gruvbox-material" },
{ {
"LazyVim/LazyVim", "LazyVim/LazyVim",

View File

@ -5,6 +5,7 @@ return {
"folke/snacks.nvim", "folke/snacks.nvim",
opts = { opts = {
dashboard = { enabled = false }, dashboard = { enabled = false },
notifier = { level = vim.log.levels.WARN },
}, },
}, },
{ {
@ -16,6 +17,9 @@ return {
}, },
-- Disable unused plugins. -- Disable unused plugins.
{ "flash.nvim", enabled = false }, { "folke/flash.nvim", enabled = false },
{ "bufferline.nvim", enabled = false }, { "folke/todo-comments.nvim", enabled = false },
{ "folke/trouble.nvim", enabled = false },
{ "MagicDuck/grug-far.nvim", enabled = false },
{ "akinsho/bufferline.nvim", enabled = false },
} }