Commit Graph

196 Commits

Author SHA1 Message Date
Christian Brabandt
0ad4f97c1a
Add a terminal statusline function for vim 2017-09-27 20:28:16 +02:00
Christian Brabandt
f430246aff
keymap: add missing part from #1546 2017-08-26 18:18:45 +02:00
w0rp
c8a5efc11e Update the ALE extension so it loads better and uses the new count format 2017-06-25 19:49:18 +01:00
Maxim Gonchar
8e64138ef4 Add vimtex support
Indicates:
- whether the file is considered to be main or local
- whether the viewer is opened
- whether the compilation is running
- whether the compilation is continuous

Added:

* `vimtex` existence check
* variables documentation

TODO: readme and a screenshot

Update readme.md

Update doc

Update screenshot url
2017-05-08 13:07:13 +03:00
Thomas Dy
c9a0c62b1b Add support for denite 2017-03-15 16:41:50 +08:00
Jerome Reybert
a1db013d3f Add vimagit extension 2017-01-19 14:02:53 +01:00
YoungHoon Rhiu
d60323d623 Add vim-xkblayout extension to display keyboard layout 2017-01-18 12:34:14 +09:00
Christian Brabandt
6a155fabda guard against loading extensions twice
fixes #1300
2016-10-24 12:14:30 +02:00
Bjorn Neergaard
06351e86df Add support for ALE, the Async Linting Engine
Ale is a plugin that lints text in the background, as you type!

It is new, but under [rapid development](https://github.com/w0rp/ale).
2016-10-14 10:36:21 +02:00
Saad Malik
3c33251ee7 Support for neomake
Added support for neomake plugin; similar to syntastic.
Shows warning and error counts in the airline statusbar.
2016-09-27 21:21:35 +02:00
thawk
45d77ca909 Add 'scriptencoding utf-8' to all scripts 2016-09-24 08:16:30 +08:00
ivan tkachenko
5a170c5ef0 add obsession extension 2016-05-30 03:44:39 +08:00
Christian Brabandt
b8c1b26f0e don't throw error if bufferline is not installed
airline#extensions#load() tries to load all extensions,
the user has specified in g:airline_extensions.
However, if e.g. bufferline is requested to be loaded, but
is not installed, it will throw an error
E117: Unknown function: airline#extensions#bufferline#init

Therefore, catch E117 and show a warning.

closes #1127
2016-04-21 09:30:23 +02:00
Christian Brabandt
f28a706020 Enable po.vim integration
fixes #1070
2016-02-29 22:38:39 +01:00
Kevin Sapper
a65000211f Problem: Load check variables has changed
Solution: Use the current one from ctrlspace 5.0 + minor style fixes

Problem: CtrlSpace 5.0 does no longer work with airline
Solution: Modify the ctrlspace extension to call the new APIs

The statusline work fine but the custom ctrlspace function
somehow/somewhere gets overridden and I could not figure out where.
Therefore the user must add

let g:CtrlSpaceStatuslineFunction = "airline#extensions#ctrlspace#statusline()"

to its .vimrc.

Problem: Ctrlspace 5.0 does not integrate well into tabline
Solution: Write a tabline extensions for ctrlspace 5.0.

The extensions is capable of showing both tabs and buffers, but only the
buffers of a current tab are shown.
2016-02-08 08:36:25 +01:00
Christian Brabandt
62c383cefc Add support for unicode plugin
This commit adds support for the :UnicodeTable of https://github.com/chrisbra/unicode.vim
2016-02-06 16:05:29 +01:00
Evgeny Firsov
44045bc280 Disable YCM extension by default
Move syntastic and eclim to the error section
2016-01-30 14:18:20 +01:00
Christian Brabandt
90af4618f5 only init ycm extension, when YCM is available 2016-01-28 17:39:15 +01:00
Bailey Ling
b7a74b1748 remove deprecated variables
over 2 years is more than enough warning...
2016-01-28 09:54:14 -05:00
Christian Brabandt
d7f4fbf529 Merge pull request #902 from efirs/ef_ycm_error_warning_count
Show YouCompleteMe error and warning count in the statusline
2016-01-28 10:11:37 +01:00
Evgeny Firsov
6d81660fd8 Show YouCompleteMe error and warning count in the statusline
Signed-off-by: Evgeny Firsov <firs1978@gmail.com>
2016-01-27 23:21:16 -08:00
Christian Brabandt
2ebe79a0d0 fix issue with virtualenv 2016-01-20 23:21:20 +01:00
Christian Brabandt
7ace10651f Make the virtualenv extension work better
This fixes #511

It allows the virtualenv plugin to call back and tell the airline plugin
to update the statusline. Therefore, the new function
airline#extensions#virtualenv#update() is provided. However, to properly
fix this issue, the virtualenv plugin needs to call this function.

Second, depending on $VIRTUAL_ENV is not safe, since the virtualenv
plugin might define it itsself when calling :VirtualEnvActivate
Therefore skip this test and just test for existance of he
:VirtualEnvList command.
2016-01-20 20:02:21 +01:00
Bailey Ling
048b24a916 happy 2016! 2016-01-14 21:38:38 -05:00
Bailey Ling
e59c3ecd6e add wordcount extension
resolves #761
2015-10-05 10:18:14 -04:00
Daniel Hahler
f22fbfd41d hunks: add support for quickfixsigns
Closes: https://github.com/bling/vim-airline/pull/754
2015-05-03 19:50:11 +02:00
Bailey Ling
50e47ced42 add g:airline_extensions variable for manual loading 2015-02-28 17:40:23 -05:00
Bailey Ling
f0492b5aea add basic integration for vim-ctrlspace 2015-02-27 21:44:43 -05:00
Bailey Ling
1ca6ffb6d0 happy 2015
resolves #692.
2015-02-13 21:47:43 -05:00
Bailey Ling
317fcfd295 Merge pull request #666 from blueyed/no-ft-override-for-diff
Remove 'diff' from s:filetype_overrides
2014-12-09 22:22:34 -05:00
Daniel Hahler
9650024142 Remove 'diff' from s:filetype_overrides
I would like to see the normal statusline (i.e. file name) with
diff/patch files, too.
2014-12-02 16:11:16 +01:00
Micha Moskovic
96afdbc877 Add vim-plug override 2014-11-25 16:49:43 +01:00
Kevin Chen
4878fab120 Add a virtualenv fallback when vim-virtualenv is not presented 2014-11-21 23:39:39 +08:00
Wes Malone
d6475684b7 add windowswap extension 2014-09-10 19:05:42 -05:00
Mathias Andersson
faa15c136c Added extension for tpope/vim-capslock 2014-07-29 00:55:53 +02:00
Christian Brabandt
f2ae2bd7d0 integrate changesPlugin for displaying hunks 2014-05-27 20:22:59 +02:00
Christian Brabandt
a90a39b4aa new NrrwRgn integration 2014-04-23 01:23:42 +02:00
Bailey Ling
fafb9ea76e provide option to disable runtimepath extension loading. resolves #483 2014-04-19 14:38:02 -04:00
Bailey Ling
ab92a95969 Merge pull request #442 from blueyed/doc
Minor doc fixes
2014-03-21 23:54:30 -04:00
Paweł Więcek
63f811e15c Enable branch extension when vcscommand is available 2014-02-25 22:43:19 +01:00
Daniel Hahler
ffbbaa769a Clarify doc for loading custom extensions 2014-02-20 00:30:16 +01:00
Bailey Ling
baed8ac063 happy 2014 2014-01-19 23:44:44 -05:00
ralesi
75ee42b118 Add deeper netrw support, including Git branch head and netrw sorting
options
2014-01-19 12:06:55 -07:00
Evgeni Kolev
1c41ce53d9 Add promptline.vim extension 2014-01-10 22:14:21 +02:00
Evgeni Kolev
63272a08ae Add tmuxline extension 2013-11-23 11:10:11 +02:00
Bailey Ling
dd2be8ac8d detect whether quickfix or location list is open. 2013-10-21 13:22:07 -04:00
xinleibird
7365ccf3fe Add eclim's checker extension, now it conform to the specification 2013-10-02 02:25:43 +08: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
019d158a02 active winnr should always be set. 2013-09-22 19:13:08 -04:00
Bailey Ling
bb30c09371 bring back readonly by default for section_c in overrides (#270). 2013-09-22 16:19:15 -04:00
Bailey Ling
7e7766ee45 introduce accents into the color palette. 2013-09-15 11:59:22 -04:00
Bailey Ling
8606f3ebc1 use the same fugitive check as the extension. 2013-09-13 04:44:17 +00:00
Bailey Ling
a88996b170 account for possible undefined variable. 2013-09-13 00:43:02 -04:00
pydave
979c81c59f Include the quickfix title in the statusline
The quickfix title often has useful information about how it was
invoked. Include it in the statusline.
2013-09-12 19:10:09 -07:00
Bailey Ling
2702015544 hide errors (#241). 2013-09-10 16:00:31 +00:00
Bailey Ling
bf3f8ba946 mainly for windows, where paths are case insensitive. 2013-09-03 15:04:22 +00:00
Bailey Ling
345a60fb23 extract tabline colors from the current palette. 2013-09-03 03:24:46 +00:00
Bailey Ling
ecccf51401 implement basic working tabline 2013-09-03 03:24:46 +00:00
Bailey Ling
389650645b always run the extensions/core funcrefs last.
this ensures the user always has priority in customizations.
2013-08-31 11:55:00 -04:00
Bailey Ling
6c5672d686 update documentation. 2013-08-28 02:36:12 +00:00
Bailey Ling
14656f766b add deprecation warnings. 2013-08-28 01:28:31 +00:00
Bailey Ling
6fc8c00ef1 place syntastic and whitespace into parts. 2013-08-27 23:38:34 +00:00
Bailey Ling
6dd4cd5423 clean up how symbols are defined. 2013-08-26 23:39:25 -04:00
Bailey Ling
fe24924ad3 convert iminsert into a fragment. 2013-08-26 23:07:14 -04:00
Bailey Ling
e919663781 always enable paste detection. 2013-08-26 22:55:11 -04:00
Bailey Ling
ccb00be717 check both resolved and unresolved paths (#187). 2013-08-26 15:39:27 +00:00
Bailey Ling
04e00d6933 \n only works with double quotes. 2013-08-26 15:32:18 +00:00
Bailey Ling
295fda2f74 resolve script path (#187). 2013-08-26 13:27:09 +00:00
Bailey Ling
6a3b611ba1 show difference between location/quickfix list. resolves #186. 2013-08-26 01:46:40 +00:00
Bailey Ling
609b4ab573 fix virtualenv_loaded check. 2013-08-25 17:54:00 +00:00
Bailey Ling
59d6b72962 remove redundant args. 2013-08-25 11:39:42 -04:00
Bailey Ling
a91dda01df improve documentation for writing extensions, also add helper methods. 2013-08-25 15:39:14 +00:00
Bailey Ling
9ca2aa9a8c Merge pull request #180 from joedicastro/master
add virtualenv extension
2013-08-25 08:24:53 -07:00
joe di castro
086b924992 Fix error in virtualenv at extensions.vim
Fix the global variable name for enable/disable the extension.
2013-08-25 13:38:15 +02:00
Bailey Ling
b34aa78c5a deprecate airline_detect_iminsert 2013-08-24 22:24:36 -04:00
joe di castro
f0df8825df add virtualenv extension 2013-08-24 22:49:54 +02:00
Bailey Ling
f6d8a981b6 add inactive statusline funcrefs into the pipeline. 2013-08-24 09:31:30 -04:00
Bailey Ling
74849d4a10 improved unite integration (#165). 2013-08-24 04:08:57 +00:00
Bailey Ling
e8d0d24163 prefer function name instead of funcref. 2013-08-24 01:21:09 +00:00
Bailey Ling
de4c7253e2 remove function call, no longer needed. 2013-08-22 21:32:11 +00:00
Bailey Ling
261dafca9d fold exclude funcrefs into the default one. 2013-08-22 17:32:44 +00:00
Bailey Ling
e83e12447e break early implicit if return code is not 0. 2013-08-22 17:32:44 +00:00
Bailey Ling
0dc3a7913d fix regression; account for symlinks. 2013-08-22 08:27:44 -04:00
mattn
cb112cbcb9 Don't use name 'vim-airline' to check loadable extensions. Someone may git clone as another directory. 2013-08-22 13:19:56 +09:00
mattn
3c7e4b1400 Fixes bundle paths. For example ftbundle add 'vim-airline/./autoload' into RTP. 2013-08-22 13:05:59 +09:00
Bailey Ling
40d6773a22 autoload external extensions (#170). 2013-08-22 02:49:19 +00:00
Bailey Ling
8452029e98 upgrade all funcrefs to support varargs. 2013-08-21 15:14:12 +00:00
itchyny
20c5c64590 paste mark is now a member of extensions 2013-08-21 05:29:08 +09:00
Bailey Ling
a04d7c277a support vim-signify as a hunk source. 2013-08-20 15:43:26 +00:00
Bailey Ling
cbb9bea9db allow warning section to be overwritten (#136). 2013-08-20 15:02:17 +00:00
itchyny
1b6c1bf39c remove g:airline_detect_readonly 2013-08-20 20:58:29 +09:00
itchyny
57cf78ba77 readonly mark is now a member of extensions 2013-08-20 17:18:01 +09:00
Bailey Ling
e65aefac00 deprecate airline_detect_whitespace 2013-08-20 03:39:51 +00:00
Bailey Ling
71c8156f00 deprecate all g:airline_enabled_* variables. 2013-08-20 03:38:02 +00:00
Bailey Ling
de69bba26e re-enable gitgutter integration with new upstream function. resolves #154 and #153. 2013-08-19 16:03:10 +00:00
Bailey Ling
dad0d5a8d8 add gitgutter integration. 2013-08-18 21:02:33 +00:00
Bailey Ling
9d65486063 improve undotree integration; use exposed statusline functions. 2013-08-18 18:50:22 +00:00
Bailey Ling
0e936d0b9a introduce util file 2013-08-16 14:57:47 +00:00
Bailey Ling
6269632164 check existence of airline augroup before overwriting statusline 2013-08-15 16:05:12 -04:00
Bailey Ling
91904d942e check initialized so autoloaded plugins happen first 2013-08-15 15:02:54 -04:00