mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
Add new functionality to the =
marker in the STL
This new functionality is explained in the documentation. Also, many tests have been added to the buffer_spec.lua file
This commit is contained in:
@@ -3403,9 +3403,10 @@ char_u *check_stl_option(char_u *s)
|
||||
if (!*s)
|
||||
break;
|
||||
s++;
|
||||
if (*s != '%' && *s != ')')
|
||||
++itemcnt;
|
||||
if (*s == '%' || *s == STL_TRUNCMARK || *s == STL_MIDDLEMARK) {
|
||||
if (*s != '%' && *s != ')') {
|
||||
itemcnt++;
|
||||
}
|
||||
if (*s == '%' || *s == STL_TRUNCMARK || *s == STL_SEPARATE) {
|
||||
s++;
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user