Compare commits

..

2 Commits

Author SHA1 Message Date
b93b0bd735
fix: update nvim config
All checks were successful
Container build / container-build (push) Successful in 4m12s
2024-12-20 20:24:46 +01:00
b745a06eec
fix: add lazygit 2024-12-20 20:24:29 +01:00
5 changed files with 17 additions and 21 deletions

View File

@ -6,8 +6,10 @@
FROM quay.io/fedora/fedora:41 FROM quay.io/fedora/fedora:41
# === setup system === # === setup system ===
RUN dnf update -y && dnf -y install neovim unzip \ RUN dnf update -y && \
bash-completion zoxide fd-find chafa procps \ dnf copr enable -y atim/lazygit && \
dnf -y install neovim unzip \
bash-completion zoxide fd-find chafa lazygit procps \
git go npm git go npm
# === setup container user === # === setup container user ===

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