plugins: fix configurations

- Removes deprecated keybindings for diagnostics.
- Removes branch options when installing venv-selector.
- Updates options for JSON folding.

Co-Authored-by: iGor milhit <igor@milhit.ch>
iGor milhit 2025-12-17 07:41:30 +01:00
parent be776d2896
commit 4e86ecef23
Signed by: igor
GPG Key ID: 692D97C3D0228A99
3 changed files with 3 additions and 17 deletions

View File

@ -2,7 +2,7 @@
-- Use treesitter for folding
-- Disable the color column
vim.opt.foldmethod="expr"
vim.opt.foldexpr="nvim_treesitter#foldexpr()"
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
vim.wo[0][0].foldmethod = 'expr'
vim.opt.foldlevel=3
vim.opt.colorcolumn=""

View File

@ -1,19 +1,5 @@
-- Diagnostic keymaps
vim.keymap.set(
'n',
'[d',
vim.diagnostic.goto_prev,
{ desc = "[Diagnostic] Go to previous diagnostic message" }
)
vim.keymap.set(
'n',
']d',
vim.diagnostic.goto_next,
{ desc = "[Diagnostic] Go to next diagnostic message" }
)
vim.keymap.set(
'n',
'<leader>e',

View File

@ -3,7 +3,7 @@
return {
'linux-cultist/venv-selector.nvim',
branch = 'regexp',
-- branch = 'regexp',
dependencies = {
'neovim/nvim-lspconfig',
'nvim-telescope/telescope.nvim',