Emilien Jégou
36f14c478a
Support Vue.js file extension in jsformatter
...
Included `.vue` extension to jsformatter for supporting Vue.js files. Vue files follows the same path resolution as js files: https://vue-loader.vuejs.org/spec.html#src-imports
Case sensitive comparison for jsformatter
2021-01-10 13:01:41 +01:00
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
a0e9b383c6
tabline: add buffer number to unique_tail formmater
...
fixes #1987
2019-10-25 17:20:34 +02:00
Carlo Lobrano
ebb8f0c2b1
Add formatter for short paths
...
Add new formatter that shows the file path up to the first parent directory
2019-04-10 22:17:43 +02: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
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
Gianni Chiappetta
023fe122c5
Support typescript in jsformatter
2018-04-02 11:29:18 -04:00
Christian Brabandt
167602d5b9
tabline: get correct buffer name
...
When the uniq_tail formatter is used, the buffer name is not refreshed
when running through the duplicates. Fix that by getting the correct
buffer name again.
fixes #1680
2018-03-06 11:23:38 +01:00
Christian Brabandt
5db4c408bd
Update copyright notifications
2018-01-05 10:37:59 +01:00
Christian Brabandt
73d8abff2f
Merge pull request #1617 from kyleholzinger/master
...
Add formatter for js files
2018-01-04 21:14:00 +01:00
Christian Brabandt
ce83c39bed
tabline: allow custom formatter for tabnr_type
...
closes #1418
2018-01-04 20:41:55 +01:00
Kyle Holzinger
a3d5e84417
Add formatter for js files
2017-12-28 15:43:13 -05:00
Shohei Fujii
b044b4b204
collapse fname in tabline when using unique_tail formatter
2017-10-30 20:00:05 +09: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
Markus Koller
312f847e73
Remove trailing slashes when getting path tail
2015-06-04 18:14:06 +03:00
Lawrence M
252978e4ac
tabline: add fnametruncate option to truncate long tab/buffer names
2015-03-20 16:37:36 -07:00
Bailey Ling
c78767a564
fix buffer mismatch in certain cases. resolves #715 .
2015-02-26 23:08:59 -05:00
Bailey Ling
ca925efdbf
move formatters into their own namespace
2015-02-13 21:50:18 -05:00