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:
Shadman
2025-04-22 04:05:34 +06:00
committed by GitHub
parent ab72799841
commit 28e31f5d3d
23 changed files with 167 additions and 151 deletions

View File

@@ -69,7 +69,7 @@ describe('quickfix selection highlight', function()
{14:|}{3:4}{14:|} Line |
{14:|}{3:5}{14:|} Line |
{14:||} |
{4:[Quickfix List] }|
{4:[Quickfix List] [-] }|
|
]])
@@ -84,7 +84,7 @@ describe('quickfix selection highlight', function()
{14:|}{3:4}{14:|} Line |
{14:|}{3:5}{14:|} Line |
{14:||} |
{4:[Quickfix List] }|
{4:[Quickfix List] [-] }|
|
]])
end)
@@ -103,7 +103,7 @@ describe('quickfix selection highlight', function()
{14:|}{3:4}{14:|} Line |
{14:|}{3:5}{14:|} Line |
{14:||} |
{4:[Quickfix List] }|
{4:[Quickfix List] [-] }|
|
]])
@@ -118,7 +118,7 @@ describe('quickfix selection highlight', function()
{14:|}{3:4}{14:|} Line |
{14:|}{3:5}{14:|} Line |
{14:||} |
{4:[Quickfix List] }|
{4:[Quickfix List] [-] }|
|
]])
end)
@@ -139,7 +139,7 @@ describe('quickfix selection highlight', function()
{14:|}{3:4}{14:|} Line |
{14:|}{3:5}{14:|} Line |
{14:||} |
{4:[Quickfix List] }|
{4:[Quickfix List] [-] }|
|
]])
@@ -154,7 +154,7 @@ describe('quickfix selection highlight', function()
{14:|}{3:4}{14:|} Line |
{14:|}{3:5}{14:|} Line |
{14:||} |
{4:[Quickfix List] }|
{4:[Quickfix List] [-] }|
|
]])
end)
@@ -175,7 +175,7 @@ describe('quickfix selection highlight', function()
{14:|}{3:4}{14:|} Line |
{14:|}{3:5}{14:|} Line |
{14:||} |
{4:[Quickfix List] }|
{4:[Quickfix List] [-] }|
|
]])
@@ -190,7 +190,7 @@ describe('quickfix selection highlight', function()
{14:|}{3:4}{14:|} Line |
{14:|}{3:5}{14:|} Line |
{14:||} |
{4:[Quickfix List] }|
{4:[Quickfix List] [-] }|
|
]])
end)