Commit Graph

14 Commits

Author SHA1 Message Date
Bailey Ling
5601c0928e Happy new year! 2021-01-01 12:57:00 +00:00
Christian Brabandt
157af8ad8b tabline: use airline#util#strcharpart instead on relying on stpart() with char index 2020-11-26 14:00:29 +01:00
Christian Brabandt
cbf0a8e69a tabline: use strpart() with chars if possible (fixes #2297) 2020-11-26 10:04:43 +01:00
Christian Brabandt
a168ca7a28 tabline: get rid of s:vars in default formatter 2020-11-26 10:04:43 +01:00
kazukazuinaina
fab1ee3117 [update] license's year in airline's extension 2020-06-11 05:26:04 +09:00
Christian Brabandt
774cd8b08f term: better formatting of neovim terminal
closes #2074
2020-02-27 13:37:50 +01:00
Christian Brabandt
c8a36e14e9 Updated Copyright Statements 2019-03-25 12:29:47 +01:00
Christian Brabandt
1bb1ce594a Formatter: Use pathshorten() instead of substitute()
The default formatter uses a hand-build regexp for shortening the path
in the tabline. However, since it uses the \w  regex atom, this won't
match e.g. cyrillic letters.

To fix this, use the builtin pathshorten() function which does handle
this case correctly. For a test, use e.g. 'D/Учёба/t.c'

closes #1737
2018-06-04 21:59:16 +02:00
Christian Brabandt
5db4c408bd Update copyright notifications 2018-01-05 10:37:59 +01:00
Christian Brabandt
04be981de9 make ...#fnamemod configurable during runtime
airline#extensions#tabline#fnamemod would be initialized and could not
be changed during runtime, so fix that.

closes #1347
2016-12-02 13:40:34 +01:00
thawk
45d77ca909 Add 'scriptencoding utf-8' to all scripts 2016-09-24 08:16:30 +08:00
Bailey Ling
048b24a916 happy 2016! 2016-01-14 21:38:38 -05:00
Lawrence M
252978e4ac tabline: add fnametruncate option to truncate long tab/buffer names 2015-03-20 16:37:36 -07:00
Bailey Ling
ca925efdbf move formatters into their own namespace 2015-02-13 21:50:18 -05:00