Merge pull request #22108 from luukvbaal/statuscolumn

perf(column): only build fold/sign column when present in 'statuscolumn'
This commit is contained in:
Lewis Russell
2023-02-14 14:36:12 +00:00
committed by GitHub
7 changed files with 111 additions and 105 deletions

View File

@@ -456,7 +456,7 @@ describe('statuscolumn', function()
14 aaaaa |
|
]])
command('set stc=') -- also for the default sign column
command('set stc=') -- also for the default fold column
screen:expect_unchanged()
-- 'statuscolumn' is not too wide with custom (bogus) fold column
command([[set stc=%{foldlevel(v:lnum)>0?repeat('-',foldlevel(v:lnum)):''}%=%l\ ]])