Nvim: update most of the plugins

This commit is contained in:
Robert Kmieć
2024-02-26 12:51:21 +01:00
parent 71f71cb3ce
commit c55b301dc4
34 changed files with 439 additions and 531 deletions

View File

@@ -3,7 +3,6 @@ return {
dependencies = {
'mizlan/iswap.nvim',
'romgrk/nvim-treesitter-context',
'Wansmer/sibling-swap.nvim',
--"nvim-treesitter/nvim-treesitter-textobjects",
--"nvim-treesitter/playground",
},
@@ -17,11 +16,7 @@ return {
highlight = {
enable = true,
disable = function(lang, buf)
local max_filesize = 100 * 1024 -- 100 KB
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
if ok and stats and stats.size > max_filesize then
return true
end
return vim.api.nvim_buf_line_count(buf) > 5000
end,
additional_vim_regex_highlighting = false,
},
@@ -86,6 +81,5 @@ return {
}
-- vim.opt.foldmethod = "expr"
-- vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
require('sibling-swap').setup({})
end
}