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>
parent
be776d2896
commit
4e86ecef23
|
|
@ -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=""
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
return {
|
||||
'linux-cultist/venv-selector.nvim',
|
||||
branch = 'regexp',
|
||||
-- branch = 'regexp',
|
||||
dependencies = {
|
||||
'neovim/nvim-lspconfig',
|
||||
'nvim-telescope/telescope.nvim',
|
||||
|
|
|
|||
Loading…
Reference in New Issue