Fix scrollbar

This commit is contained in:
Christian Nieves
2024-01-04 22:56:04 +00:00
parent ece8d50bef
commit df15c25cd5
4 changed files with 17 additions and 2 deletions

View File

@ -21,6 +21,15 @@ return {
end,
lazy = false,
},
{
"kevinhwang91/nvim-hlslens",
config = function()
-- require('hlslens').setup() is not required
require("scrollbar.handlers.search").setup({
-- hlslens config overrides
})
end,
},
{ "udalov/kotlin-vim", ft = "kotlin" },
{ "ray-x/go.nvim", ft = "go" },
{ "ray-x/guihua.lua", ft = "go" },

View File

@ -3,7 +3,12 @@ return {
{
"lewis6991/gitsigns.nvim",
dependencies = "nvim-lua/plenary.nvim",
event = "User ActuallyEditing",
event = "VimEnter",
config = function()
require("gitsigns").setup()
-- also show signs in scrollbar
require("scrollbar.handlers.gitsigns").setup()
end,
},
{
"akinsho/git-conflict.nvim",

View File

@ -57,7 +57,7 @@ return {
return true
end
local max_filesize = 100 * 1024 -- 200 KB
local max_filesize = 200 * 1024 -- 200 KB
local fname = vim.api.nvim_buf_get_name(buf)
local ok, stats = pcall(vim.loop.fs_stat, fname)
if ok and stats and stats.size > max_filesize then