Commit Graph

10 Commits

Author SHA1 Message Date
Christian Brabandt 1d9ae3f972 tabnr formmatter: return tabpagebuflist for tab_nr==0 2023-01-18 09:32:51 +01:00
Christian Brabandt 82aeea1276 extensions: fix tabnr formatter
related #2616
2023-01-16 22:58:54 +01:00
Christian Brabandt 1028c6ea12 tabnr: replace by a new naive function
This function simply returns the current tabnumber followed by the
number of buffers in the current tabpage.

The previous one either was broken long ago or did not work as expected.

fixes #2616
2023-01-11 16:41:08 +01:00
Christian Brabandt 4f5b641710 formatter: tabnr expects a number bot got List
Make sure, that the second argument is actually a number and not a list.
Note: even when fixing this, the tabpage still shows some strange output
e.g. currently
 1   1.%{len(tabpagebuflist(1))} 

In a vim window. Not sure, why Vim does no longer evaluate those %{..}
sections. Perhaps some change in Vim?

closes #2616
2023-01-09 14:55:11 +01:00
Bailey Ling 5601c0928e Happy new year! 2021-01-01 12:57:00 +00:00
kazukazuinaina fab1ee3117 [update] license's year in airline's extension 2020-06-11 05:26:04 +09:00
Christian Brabandt c8a36e14e9 Updated Copyright Statements 2019-03-25 12:29:47 +01:00
Christian Brabandt d372b5bc46 tabnr formmatter: fix style 2019-02-02 17:45:33 +01:00
Christian Brabandt 5db4c408bd Update copyright notifications 2018-01-05 10:37:59 +01:00
Christian Brabandt ce83c39bed tabline: allow custom formatter for tabnr_type
closes #1418
2018-01-04 20:41:55 +01:00