Commit Graph

94 Commits

Author SHA1 Message Date
kazukazuinaina 64908db62a [fix] Fix meaningless tests. 2022-02-28 15:47:23 +01:00
kazukazuinaina 2b260aabfe [fix] extensions_default's assertion rulette 2021-10-27 01:11:20 +09:00
kazukazuinaina c9820b0378 [fix] assertion roulette 2021-10-10 19:52:02 +09:00
kazukazuinaina 51c79f61f4 [add] winwidth's test 2021-05-14 02:25:14 +09:00
kazukazuinaina 76e42284e9 tests: add some more tests for g:airline_section vars
closes #2370
2021-05-03 08:33:12 +02:00
Christian Brabandt 06134df810 Merge pull request #2372 from vim-airline/add_parts_test
[add] parts's test
2021-04-29 19:49:20 +02:00
kazukazuinaina 38a90d8801 [add] parts's test 2021-04-28 20:42:48 +09:00
kazukazuinaina 4968c6bb18 [add] AirlineExtensions's test case 2021-04-28 00:50:13 +09:00
kazukazuinaina ef5a0b53ef [add] test case for init.vim / When autochdir is enabled 2021-04-27 02:56:54 +09:00
patrick96 7d6adf9cc5 coc: Show the current function in section_x
coc.nvim exposes the name of the function the cursor is currently in
through b:coc_current_function.

For this to work, the key coc.preferences.currentFunctionSymbolAutoUpdate
must be set to 'true' in the coc config.

The value is only updated on CursorHold, so the value may not always be
accurate when moving around.
2021-03-20 00:42:46 +01:00
micchy326 14c79dd2fe fix test 2021-01-02 17:42:09 +09:00
Christian Brabandt c8c0e7d9ff Get rid of g:airline_gui_mode
This is needed for Neovim, because an external UI could be attached to
the same neovim server, so it does not make sense to define highlighting
groups with either only the cterm or the guifg attribute set.

So refactor the code slightly got get rid of this variable (and since
this variable is not needed anymore, we can also get rid of the guienter
and OptionSet autocommand).

fixes: #2261
2020-10-30 08:32:35 +01:00
Kamil Cukrowski 42b31b966b Add gen_tags.vim plugin support
Display a "Gen. gen_tags" text in section x when gen_tags
is generating tags, similar to gutentags support.
2020-10-22 00:16:05 +02:00
Whisperity 2762f7e6e5 [battery.vim] Move indicator to non-overwriting position if window big enough 2020-10-12 17:58:47 +02:00
Christian Brabandt aed3523ee3 fix failing test 2020-09-15 12:22:41 +02:00
tooSadman 782774c0dc Added support for built-in nvim-lsp 2020-08-03 18:19:26 +03:00
Rick Jones ee4afdeedb Dynamically resize section Z
Resolves: #2168
2020-07-08 23:46:00 +01:00
nickspoons fab4a02838 Add OmniSharp extension to display server status 2020-07-08 16:32:07 +12:00
kazukazuinaina acd7e82d2b [add] some coc's test 2020-04-03 12:15:42 +09:00
kazukazuinaina 576710f7a5 [add] vista's test 2020-04-03 01:00:55 +09:00
kazukazuinaina 5b994f77b1 fix coc's unit test 2020-03-29 23:13:13 +09:00
ckipp01 fe94d52c4c coc: add in coc_status to coc.nvim integration
Allow to show additional messages from coc.nvim in section_c

For ease of use, shorten the message for windows smaller than 81
characters.

closes #2079
2020-03-02 13:16:37 +01:00
François-Xavier Carton 0860036454 Add support for vim-lsp 2020-03-01 00:41:33 +01:00
Bjoern Petri f1529ce051 vim-bookmark extension 2019-05-03 10:44:09 +02:00
Christian Brabandt 704e58e1b7 Fix failing test and make it aware of tablabel_right 2019-04-17 13:24:19 +02:00
Christian Brabandt c0f96df97f Update metadata (copyright)
also remove trailing empty lines in test files
2018-12-15 19:56:30 +01:00
Jesse Hallett a92b12e1c6 Implement extension to report errors and warnings from LanguageClient plugin 2018-09-09 23:53:08 -04:00
Mo Hyun 60eb44c94e Fix build error 2018-07-23 14:27:59 -07:00
Christian Brabandt 4cc255a384 tests: Fix tabline tests 2018-07-13 22:35:05 +02:00
Christian Brabandt eac10a104f tests: add test for tabaline 2018-07-13 22:30:20 +02:00
Christian Brabandt 700c9b9740 tests: fix failing test 2018-03-15 22:09:02 +01:00
Ingo Heimbach 724beb0c73 Added a vim-gutentags extension
Added a segment that displays whether gutentags is running a ctags
instance.
2018-03-15 22:05:16 +01:00
Christian Brabandt 6ee75bdbde Fix failing tests 2017-08-11 12:55:44 +02:00
Christian Brabandt 258f3e5630 fix failing test by defining all default sections
previous commit 2e3055541e broke the unit tests, since it renamed
the syntastic section. Fix that and also test correctly the other
sections, that have been added (and which have not been tested until
now).
2017-06-20 22:38:56 +02:00
Christian Brabandt d624a44500 Fix tests for the changed default separators 2017-02-24 22:49:39 +01:00
Christian Brabandt c0cb03f48b don't add a second separator if not needed
Using let g:airline_section_y = airline#section#create_right(['ffenc','%{strftime("%H:%M")}'])
will result in an output string of `utf-8[unix] < < 00:00`

This happens, because the function util#prepend() will eventually add an
extra separator, if the width is zero. Therefore, when building the
string, remember, if the last section added an extra separator and only
add one, if there hasn't been added one before.

fixes #1220
2016-09-05 20:20:44 +02:00
David Terei ae4a978509 Add spell detection 2016-03-21 23:52:04 -07:00
Daniel Hahler d39076a07d airline#highlighter: s:get_syn: fallback to 'NONE'
This is required when used with 'Normal' with a transparent background.
Falling back to 1 here results in "red" for "ctermbg"!

I think it's important to keep the 'NONE' color property here, instead
of hardcoding the fallbacks (even if white would be used instead of
red).
2016-02-16 00:44:07 +01:00
Christian Brabandt 2d4cb5c1ad updated travis
test switching color schemes
2016-01-31 18:15:39 +01:00
Christian Brabandt 5ed7c81b6d fix travis failing 2016-01-30 15:06:22 +01:00
Bailey Ling 51095bad95 fix failing tests 2015-02-27 22:45:12 -05:00
Chang Yu-heng 6d7996ff1b Replace column number with virtual column number 2015-01-19 00:04:26 +08:00
Bailey Ling 6b4f03efbc fix seperator drawing when tabs are shown. fixes #653. 2014-11-25 21:04:18 -05:00
Bailey Ling 09817e0984 fix regression with serene theme, #599 2014-11-15 19:49:02 +00:00
Bailey Ling be6e4d6dd6 check background of groups to determine transition. resolves #599. 2014-11-09 00:52:42 -05:00
Bailey Ling 99b7cdf334 improve performance with accent cache (#326). 2013-11-01 00:58:08 -04:00
Bailey Ling af330f6a47 add AirlineRefresh command. 2013-10-06 09:01:01 -04:00
xinleibird 5582daf79c add eclim's checker extension, when eclim is running , it can instead of syntastic 2013-10-01 12:42:42 +08:00
Bailey Ling e16c36eea1 default space back to 32 (#283). 2013-09-30 14:37:02 +00:00
Bailey Ling 2f3b33daae fix solarized theme being out of sync (#288). 2013-09-27 21:36:44 -04:00