More updates and cleanup to nvim config

This commit is contained in:
Fabian Becker
2025-09-10 11:16:00 +02:00
parent c30a121b99
commit b8c42f92c7
12 changed files with 95 additions and 116 deletions

View File

@@ -73,7 +73,7 @@ cmp.setup({
},
experimental = {
ghost_text = false,
ghost_text = true,
},
})

View File

@@ -1,5 +1,2 @@
vim.cmd('let g:nvcode_termcolors=256')
vim.cmd('colorscheme rose-pine')
-- vim.cmd('highlight Normal guibg=NONE ctermbg=NONE')
vim.g.nvcode_termcolors = 256
vim.cmd.colorscheme("gruvbox-baby")

View File

@@ -31,6 +31,16 @@ require("lazy").setup({
-- Load .editorconfig files
{'editorconfig/editorconfig-vim'},
{
"m4xshen/hardtime.nvim",
lazy = false,
dependencies = { "MunifTanjim/nui.nvim" },
opts = {},
},
{
"karb94/neoscroll.nvim",
opts = {},
},
{'junegunn/vim-easy-align'},
-- Goodies
@@ -56,7 +66,7 @@ require("lazy").setup({
"nvim-treesitter/nvim-treesitter",
"antoinemadec/FixCursorHold.nvim",
-- plugins
"nvim-neotest/neotest-go",
"fredrikaverpil/neotest-golang",
"jfpedroza/neotest-elixir",
"rouge8/neotest-rust",
}
@@ -83,8 +93,6 @@ require("lazy").setup({
})
end},
{'preservim/tagbar'},
{'f-person/git-blame.nvim'},
-- Status Line and Bufferline
{
@@ -155,8 +163,8 @@ require("lazy").setup({
symbol_in_winbar = {
enable = false,
},
code_action = {
lightbulb = { enable = false }
lightbulb = {
enable = false,
}
})
end,
@@ -217,7 +225,6 @@ require("lazy").setup({
},
{'numToStr/FTerm.nvim'},
{'theprimeagen/harpoon'},
-- Debugging
"mfussenegger/nvim-dap",

View File

@@ -28,7 +28,7 @@ local function setup()
sections = {
lualine_a = { cpn.branch },
lualine_b = { cpn.diagnostics },
lualine_c = {},
lualine_c = { "lsp_status" },
lualine_x = { { git_blame.get_current_blame_text, cond = git_blame.is_blame_text_available }, cpn.diff },
lualine_y = { cpn.position, cpn.filetype },
lualine_z = { cpn.spaces, cpn.mode },

View File

@@ -7,8 +7,7 @@ vim.o.titlestring="%<%F%=%l/%L - nvim"
vim.wo.wrap = false -- Display long lines as just one line
-- vim.cmd('set whichwrap+=<,>,[,],h,l') -- move to next line with theses keys
-- vim.cmd('syntax on') -- syntax highlighting
vim.o.foldmethod = "expr"
vim.o.foldexpr = "nvim_treesitter#foldexpr()"
vim.o.foldmethod = "manual"
vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]]
local fcs = vim.opt.fillchars:get()