1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update the fold level allowed for statuscol.nvim

This commit is contained in:
jdhao 2024-11-08 22:56:53 +01:00
parent 8dfae271d0
commit d86f599483

View File

@ -3,7 +3,7 @@ local ffi = require("statuscol.ffidef")
local C = ffi.C
-- only show fold level up to this level
local fold_level_limit = 2
local fold_level_limit = 3
local function foldfunc(args)
local foldinfo = C.fold_info(args.wp, args.lnum)
if foldinfo.level > fold_level_limit then