Compare commits

..

2 Commits

Author SHA1 Message Date
7012f0e14f
refactor(nvim): add check for folds in statuscol for std cond
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 52s
2024-04-19 04:21:10 -05:00
4bbd7890f1
refactor(nvim): remove unused var 2024-04-19 04:19:15 -05:00

View File

@ -3,7 +3,6 @@ return {
"luukvbaal/statuscol.nvim", "luukvbaal/statuscol.nvim",
opts = function() opts = function()
local builtin = require("statuscol.builtin") local builtin = require("statuscol.builtin")
local last_sign_def_len = 0
vim.api.nvim_create_autocmd({ "BufEnter" }, { vim.api.nvim_create_autocmd({ "BufEnter" }, {
desc = "Ensure Neogit Status doesn't fuck the gutter up -- 🤮", desc = "Ensure Neogit Status doesn't fuck the gutter up -- 🤮",
@ -34,7 +33,7 @@ return {
return value return value
end end
end end
return not buf_opt("bufhidden") return (not buf_opt("bufhidden")) or (args.fold.width > 0)
end end
return { return {