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:
parent
8dfae271d0
commit
d86f599483
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user