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
|
-- Use treesitter for folding
|
||||||
-- Disable the color column
|
-- Disable the color column
|
||||||
|
|
||||||
vim.opt.foldmethod="expr"
|
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
||||||
vim.opt.foldexpr="nvim_treesitter#foldexpr()"
|
vim.wo[0][0].foldmethod = 'expr'
|
||||||
vim.opt.foldlevel=3
|
vim.opt.foldlevel=3
|
||||||
vim.opt.colorcolumn=""
|
vim.opt.colorcolumn=""
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,5 @@
|
||||||
-- Diagnostic keymaps
|
-- 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(
|
vim.keymap.set(
|
||||||
'n',
|
'n',
|
||||||
'<leader>e',
|
'<leader>e',
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'linux-cultist/venv-selector.nvim',
|
'linux-cultist/venv-selector.nvim',
|
||||||
branch = 'regexp',
|
-- branch = 'regexp',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'neovim/nvim-lspconfig',
|
'neovim/nvim-lspconfig',
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue