mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 02:17:09 +10:00
feat(options): default statusline expression #33036
Problem: Default 'statusline' is implemented in C and not representable as a statusline expression. This makes it hard for user configs/plugins to extend it. Solution: - Change the default 'statusline' slightly to a statusline expression. - Remove the C implementation.
This commit is contained in:
@@ -1189,9 +1189,9 @@ describe('vim._with', function()
|
||||
]]
|
||||
screen:expect [[
|
||||
19 |
|
||||
{1:[No Name] [+] 20,1 3%}|
|
||||
{1:< Name] [+] 20,1 3%}|
|
||||
^19 |
|
||||
{2:[No Name] [+] 20,1 3%}|
|
||||
{2:< Name] [+] 20,1 3%}|
|
||||
|
|
||||
]]
|
||||
exec_lua [[
|
||||
@@ -1200,9 +1200,9 @@ describe('vim._with', function()
|
||||
]]
|
||||
screen:expect [[
|
||||
99 |
|
||||
{1:[No Name] [+] 100,1 19%}|
|
||||
{1:< Name] [+] 100,1 19%}|
|
||||
^19 |
|
||||
{2:[No Name] [+] 20,1 3%}|
|
||||
{2:< Name] [+] 20,1 3%}|
|
||||
|
|
||||
]]
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user