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

2 Commits

Author SHA1 Message Date
WombleWoo7547
68a349c145 Merge 994b0d4c84 into d86f599483 2024-11-11 17:08:10 +05:30
jdhao
d86f599483 update the fold level allowed for statuscol.nvim 2024-11-08 22:57:33 +01:00

View File

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