mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 09:12:07 +00:00
fix(api): don't use stl 'fillchar' for "use_statuscol_lnum" (#27501)
Problem: nvim_eval_statusline() uses "stl" from 'fillchars' with "use_statuscol_lnum". Solution: Reorder "fillchar" else chain.
This commit is contained in:
@@ -3806,7 +3806,8 @@ describe('API', function()
|
||||
it('works with statuscolumn', function()
|
||||
exec([[
|
||||
let &stc='%C%s%=%l '
|
||||
set cul nu nuw=3 scl=yes:2 fdc=2
|
||||
" should not use "stl" from 'fillchars'
|
||||
set cul nu nuw=3 scl=yes:2 fdc=2 fillchars=stl:#
|
||||
call setline(1, repeat(['aaaaa'], 5))
|
||||
let g:ns = nvim_create_namespace('')
|
||||
call sign_define('a', {'text':'aa', 'texthl':'IncSearch', 'numhl':'Normal'})
|
||||
|
Reference in New Issue
Block a user