mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
Merge pull request #22108 from luukvbaal/statuscolumn
perf(column): only build fold/sign column when present in 'statuscolumn'
This commit is contained in:
@@ -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\ ]])
|
||||
|
||||
Reference in New Issue
Block a user