Commit Graph

463 Commits

Author SHA1 Message Date
Pratik Bhusal
58328b347c Added function to show line number
The function shows the line number of the first error/warning that appears in the current buffer. If there are 20 warnings and the first warning exists on line 33, then vim-airline would show "W:20(L33)".

One can change how the line number is represented using: `g:airline#extensions#ale#open_lnum_symbol` and `airline#extensions#ale#close_lnum_symbol`
2017-11-18 14:24:47 -06:00
Christian Brabandt
f3aae5f72b
README: show a screenshot and document what this plugin does
fixes #1589
2017-11-14 23:43:04 +01:00
Shohei Fujii
b044b4b204 collapse fname in tabline when using unique_tail formatter 2017-10-30 20:00:05 +09:00
Taikuh
ccc4c9f430 Add option to change wordcount display for the default formatter 2017-10-26 01:02:10 +08:00
jb
78ca75af6e Fix typo 2017-10-21 13:29:17 -04:00
Christian Brabandt
571f892fcd
README: mention how to fix performance problems 2017-09-01 12:01:43 +02:00
Doron Behar
c07b28d199 Small fixes to syntax in documentation. 2017-08-27 16:40:01 +03:00
Doron Behar
89e484ac59
Add keymap extension which shows keymap setting. 2017-08-26 18:09:20 +02:00
icymind
5df7d961bc amend doc 2017-08-25 00:00:50 +08:00
icymind
b6a98bcd10 add option 'keymap_ignored_filetypes' for tabline extensions 2017-08-24 23:22:16 +08:00
Doron Behar
69ad039d07 Small fixes to syntax in help file. 2017-08-16 19:56:44 +03:00
Christian Brabandt
a8c4424244
highligthing: Enable cacheing only when config is set.
This enables the highlighting caching only when the variable
g:airline_highlighting_cache is set to 1

Should make airline faster and more performant, because we can save a
lot of expensive C core calls. However, when redefining highlighting
groups, it might not correctly reset the cache.
2017-08-14 08:06:53 +02:00
Christian Brabandt
96352f9b53
doc: fix typo 2017-08-08 16:03:11 +02:00
Christian Brabandt
2ec563bd57
syntastic: slightly tweak output format
also document how to use different syntastic statusline format

closes #1525
2017-08-08 14:57:04 +02:00
Christian Brabandt
a2e20bc3ca
spell: Display spelling language
fixes: #1521
2017-08-01 19:25:20 +02:00
Christian Brabandt
e03afa1733
doc: linenr and maxlinenr are swapped in documentation
fixes #1507
2017-07-07 22:33:47 +02:00
Christian Brabandt
ed95adea1e
update doc: Mention and document ale/neomake extensions 2017-06-20 21:34:35 +02:00
Christian Brabandt
9168b73411
update doc example, clarify how to truncate string 2017-06-20 14:14:09 +02: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
Christian Brabandt
0c368681dd
Add some intro documentation
closes #1473
2017-05-02 20:43:08 +02:00
Christian Brabandt
13bd4701ed
Updates to the documentation 2017-04-21 07:41:22 +02:00
Christian Brabandt
f76ede3b28
Make skip_empty variable overridable per window
The denite extension functions return the content of some buffer-local
variables. Those variables are not defined, the first time the they are
accessed and therefore, the statusline is not updated later when
g:airline_skip_empty_sections is set.

So disable this variable in this window, by setting the
w:airline_skip_empty_section=0 variable in the denite window.

closes #1454
2017-04-10 09:29:27 +02:00
Christian Brabandt
b57022bfc2
update to the documentation
Mention, that the variable
g:airline#extensions#tabline#switch_buffers_and_tabs only works
with the ctrlspace integration.

closes #1390
2017-03-16 21:18:23 +01:00
Christian Brabandt
ac9e4092ef
Add paranthesis to function call in documentation 2017-02-26 10:49:52 +01:00
Alexey Zhikhartsev
3c6135d75f
Add a function to disable whitespace-detection
Useful to call for particular file types (e.g., .tex files):
ftplugin/tex.vim:
    call airline#extensions#whitespace#disable()
2017-02-26 10:35:17 +01:00
Christian Brabandt
f8c85e3e53
for airline ascii symbols set g:airline_symbols_ascii 2017-02-25 17:39:32 +01:00
Jerome Reybert
9a95964256 Fix typo in doc/airline.txt
Add tag for vim-airline
2017-01-19 15:15:05 +01: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
a69834f7dc Make fileformat output truncatable
closes #1309
2016-12-13 21:47:09 +01:00
Christian Brabandt
5e2ef0cd83 document how to format the wordcount ext. output 2016-12-13 21:23:56 +01:00
Sam Fuller
7cb5c24151 prevent windows from closing on middle_click
Adding an option to prevent windows from being closed when a buffer in
the tabline is middle clicked and the clicked buffer is currently open
in a window.

When this option is enabled, instead of closing the window a new buffer
will be opened in all of the windows editing the clicked buffer instead.

This is my first pull request AND my first experience with vimscript, so
my apologies if this is a bit sloppy 😄
2016-12-09 13:20:48 +01:00
Christian Brabandt
ccdc3d6c60 Merge pull request #1337 from mhartington/master
feat(): allow for buffer index formatting
2016-11-26 14:26:47 +01:00
mhartington
ee8173e41d
feat(): allow for buffer index formatting 2016-11-25 12:36:55 -05:00
Christian Brabandt
53c8aa4fd6 enable wordcount for mail and tex filetypes 2016-11-24 15:20:38 +01:00
Christian Brabandt
b97d7a11f4 mention notexists symbol in documentation 2016-11-03 14:01:27 +01:00
R.Chavignat
da457ae5ea Add support for b:airline_whitespace_checks variable and documentation 2016-09-22 14:27:07 +02:00
Simon Ratner
0b1df0c524 Add null accent, to allow accents to be removed 2016-09-08 21:24:04 +02:00
Christian Brabandt
5eaf658b9c Merge pull request #1240 from chrisbra/1226
Add User autocommand for Theme changing
2016-09-05 19:32:13 +02:00
Christian Brabandt
ea98b42a0d Note on adjusting statusline for syntastic
The syntastic plugin recommends to adjust the statusline.
This does not apply for vim-airline for obvious reasons. Therefore
mention that this recommendation does not apply for us.
2016-08-24 21:32:38 +02:00
Christian Brabandt
7612aaf701 Add User autocommand for Theme changing
fixes #1226
2016-08-24 21:27:49 +02:00
͏
36c7f5a2a3 Updated documentation
Added notice regarding issue #1219
2016-08-02 15:57:44 +02:00
Bill Neubauer
460ed02864 Add Go to the list of C-like languages. 2016-07-26 10:06:40 +09:00
ivan tkachenko
5a170c5ef0 add obsession extension 2016-05-30 03:44:39 +08:00
Michael Henry
e67b2847ea Add the b:airline_whitespace_disabled feature.
If the per-buffer variable b:airline_whitespace_disabled is defined
and non-zero, whitespace checking will be disabled for that buffer.
2016-05-14 15:56:48 -04:00
Christian Brabandt
727208d766 Do not draw separators for empty sections
This is a little bit a hack, because by the time the separators are
added, it is not clear, if the following section is empty, therefore
we need to parse the content of the following section and eval the
expressions to find out, if this is empty

Remarks:
- catch all exceptions when eval'ing statusline

- make sure, that the seperators are highlighted
  even when skipping empty regions (highlight group
  names need to be adjusted)

- if a section is defined as empty, it will be removed completly from
  the statusline. This means, it won't be called on the next update
  and may not refresh properly (e.g. when the whitespace check
  triggers, therefore, the whitesapce extension has to call an
  explicit redraw whenever it is supposed to be refreshed)
2016-05-12 21:40:56 +02:00
Christian Brabandt
30f078daf5 Document g:airline_symbols.maxlinenr 2016-04-30 15:08:29 +02:00
John Byrne
a5fab144aa Made c_like_langs customisable via g:airline#extenstions#c_like_langs 2016-04-20 20:44:50 +02:00
Duncan Williams
0c251e20a7 Add middle click to close buffer functionality
Extended the left click to switch buffer functionality to also
support middle click to delete buffer

documentation of clickable buffers
2016-04-19 20:49:01 +01:00
David Terei
ae4a978509 Add spell detection 2016-03-21 23:52:04 -07:00
Christian Brabandt
1104639708 Merge pull request #1075 from chrisbra/po.vim
Enable po.vim integration
2016-03-02 18:48:58 +01:00
Christian Brabandt
f28a706020 Enable po.vim integration
fixes #1070
2016-02-29 22:38:39 +01:00
Kevin Sapper
ab948735be Problem: Cannot disable tabs for ctrlspace tabline
Solution: Implement the show_tabs option which is used by the default
tabline.
2016-02-25 11:35:52 +01:00
Christian Brabandt
67f5a0ba20 Merge pull request #1050 from chrisbra/tabline_refresh
Disable tabline refresh per configuration
2016-02-24 19:12:29 +01:00
Christian Brabandt
67594b4da4 document airline#extensions#tabline#show_splits 2016-02-23 21:13:12 +01:00
Christian Brabandt
0e70dac030 Disable tabline refresh per configuration
fixes #1049 and should prevent that users see AirlineTabRefresh printed
on their screen.
2016-02-23 20:23:29 +01:00
Kevin Sapper
e7edb4c75a Problem: Cannot rename the labels for buffers and tabs
Solution: Add an option for the user to configure those labels and make
the current values the default ones.
2016-02-22 08:30:20 +01:00
Christian Brabandt
651ad0a0c4 slightly updated documentation (mostly formatting) 2016-02-10 19:53:17 +01:00
Christian Brabandt
b48b166a22 Merge pull request #911 from sappo/master
Problem: CtrlSpace 5.0 integration (statusline + tabline)
2016-02-08 10:44:01 +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
7352c8ee9e Detect inconsistent mixed indentation in a file
This is an extension to the whitespace extension.
It can now detect, if there is mixed indentation used within a file,
e.g. (using space for indentation on some lines and using tabs on other
lines.

This fixes #560
2016-02-06 17:46:56 +01:00
Christian Brabandt
d8adbfa135 Add untracked feature to branch extension.
This will show a little not-existing sign in a buffer,
if that file lives in a git/hg repository but does not exists
there yet. Use `:let g:airline_symbols.notexists='!'` to configure
the '!' as symbol. By default, will use U+2204 symbol

To not impact performance by shelling out a lot, the result is cached
until the buffer is written or a shell command is issued.

Should work with mercurial and git.

fixes #925
2016-02-04 16:43:42 +01:00
Christian Brabandt
f57c5daf66 Fix highlighting problems with Vim
1) Make sure airline_error and airline_warning highlighting are
   different, so that the correct separator will be drawn. This
   fixes #982.

2) allow to deactivate %(%) to workaround a vim bug, that may cause
   leaking of colors from one section to the next and adding additional
   spaces. This needs to be fixed upstream:
   https://groups.google.com/d/msg/vim_dev/sb1jmVirXPU/mPhvDnZ-CwAJ
   Possibly, also related to neovim/neovim#4147
   Use `:let airline#extensions#default#section_use_groupitems = 0`
   to disable grouping of statusline items
2016-02-04 16:29:45 +01:00
namark
d6a42528a1 Made fugitive and lawrencium coexist in peace,
meaning that branches retrieved from those are now displayed side by
side. The order can be customised with g:airline#extensions#branch#vcs_priority.
The VCS name is now prepended to the branch name to be able to tell
which is which. The VSCCommand behaviour is unchanged.
Also restructured the code a little bit, and made found_fugitive_head
variable behave as its name suggests.
2016-02-01 22:51:34 +01:00
Christian Brabandt
9c2c0816f5 some more smaller updates 2016-01-30 16:50:37 +01:00
Christian Brabandt
e60611691f small update to documentation 2016-01-30 16:07:17 +01:00
Evgeny Firsov
e685bae41e Update documentation with YCM extension enable/disable instruction 2016-01-30 14:18:20 +01:00
Christian Brabandt
e7560025d1 Fix break for non-existing g:airline_theme
fixes #969
2016-01-30 14:03:01 +01:00
Bailey Ling
d7fd8ca649 remove all themes from the core repository except for the default.
resolves #923
2016-01-29 22:24:49 -05:00
Patrick Regan
392ea2b185 Make FAQ URL reflect new Org
While the URL redirect properly, having all URLs reflect the final
destination is best to present a unified message.
2016-01-28 11:30:10 -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
2711863088 Added documentation for YCM extenstion
Signed-off-by: Evgeny Firsov <firs1978@gmail.com>
2016-01-28 00:40:27 -08:00
Christian Brabandt
b094374f37 Merge pull request #944 from chrisbra/wordcount_formatter
Some improvements to the wordcount plugin
2016-01-27 20:41:21 +01:00
Christian Brabandt
453f4b759f Allow to customize the trailing whitespace regexp
Currently, vim-airline uses hard-coded '\s$' to check for trailing
whitespace. However you might want to check for different values.
Therefore, set the variable
g:airline#extensions#whitespace#trailing_regexp to the required regexp
value.

closes #663
2016-01-27 14:18:28 +01:00
Christian Brabandt
889492e01c fix issue #939 2016-01-26 07:52:42 +01:00
Christian Brabandt
97e204f3b6 Some improvements to the wordcount plugin
1) allow for custom formatting of the output of the wordcount formatter
   This allows for formatting numbers correctly e.g. 1,042 in English
   locale and 1.042 in German locale.

2) cache values, so that no on every cursor move the wordcount needs to
   be recalculated.
2016-01-25 21:00:05 +01:00
Christian Brabandt
9e25f52c6f clarify how to add custom parts to the statusline 2016-01-23 22:09:37 +01:00
Christian Brabandt
5923ced2b0 clarify buffer_idx mode mappings
Also add mappings for tabmode as suggested.
2016-01-22 20:20:18 +01:00
Christian Brabandt
604f744727 fix typo in documentation about formatters
fixes #873
2016-01-20 23:53:14 +01:00
Bailey Ling
048b24a916 happy 2016! 2016-01-14 21:38:38 -05:00
Christian Brabandt
f6fc6419be adjust default value for wordcount extension
document default value for wordcount extension
add text file for wordcount extension
2016-01-14 21:43:45 +01:00
Tobias Witt
b48e2390cb
Add pathshorten as a built-in format for long branch names 2015-11-19 11:03:54 +01:00
Bailey Ling
e1ffd1cc30 Merge pull request #854 from kazuoteramoto/master
Add check for long lines to extensions#whitespace
2015-10-05 10:49:02 -04:00
Kazuo Teramoto
5c799511c9 Add check for long lines to extensions#whitespace
Check for lines > textwidth, disabled by default.
2015-10-05 11:40:55 -03:00
Bailey Ling
e59c3ecd6e add wordcount extension
resolves #761
2015-10-05 10:18:14 -04:00
Thibault
92c2ac1c14 Improved documentation on formatters
Explains how unique_tail and unique_tail_improved delegate formatting of already-unique filenames to default.
2015-07-16 18:45:59 +02:00
Bailey Ling
3942ce6790 Merge pull request #797 from cHoco/master
Tabline: add exclude_preview option to hide preview buffer
2015-07-08 22:22:39 -04:00
Enrico Ghirardi
317e5fa47a Tabline: add exclude_preview option to hide preview buffer 2015-06-28 22:34:37 +02:00
Justin Gassner
efa8edf3ae Fix typos in the documentation 2015-06-14 00:41:36 +02:00
Christian Brabandt
9d90e2cbfe Add crypt indicator
If editing an encrypted file, add an indicator, that the file is
encrypted
2015-06-02 20:40:19 +02:00
Bailey Ling
1e46a46bb3 Merge pull request #754 from blueyed/hunks-support-quickfixsigns
Support for quickfixsigns in hunks extension
2015-05-19 21:09:42 -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
Emil Renner Berthing
e6ca2ac58d whitespace: add more lenient mixed whitespace algorithm 2015-04-14 19:01:08 +02:00
Lawrence M
252978e4ac tabline: add fnametruncate option to truncate long tab/buffer names 2015-03-20 16:37:36 -07:00
Bailey Ling
96a94d8c3a add option to display both tab number and splits. resolves #440. 2015-03-01 09:56:36 -05:00
Bailey Ling
50e47ced42 add g:airline_extensions variable for manual loading 2015-02-28 17:40:23 -05:00
Bailey Ling
ca44fd467c support display only tail end of a branch; as well as custom format
functions. resolves #710.
2015-02-27 22:04:13 -05:00
Bailey Ling
f0492b5aea add basic integration for vim-ctrlspace 2015-02-27 21:44:43 -05:00
Bailey Ling
8aad42644c integration with taboo.vim; resolves #476 and #575. 2015-02-27 21:12:45 -05:00
Bailey Ling
59752b2659 clean up initialization code 2015-02-19 21:31:06 -05:00
Bailey Ling
1ca6ffb6d0 happy 2015
resolves #692.
2015-02-13 21:47:43 -05:00
Christian Brabandt
3acea37fdc selectively disable airline for selected windows
(make it work with Vim 7.3)
2015-01-23 22:45:44 +01:00
PsychoMario
527e6661e6 added tabline#show_tabs to disable tab bar 2014-12-26 21:48:06 +00:00
Bailey Ling
4dab93470f improve buffer index mode and fix usages where there's overflow 2014-09-17 09:52:08 -04:00
Bailey Ling
8421f03178 Merge pull request #598 from wesQ3/pr
Added extension for wesQ3/vim-windowswap
2014-09-15 12:31:33 -04:00
Yu Huang
ae472d6716 Add buffer_idx_mode to vim-airline.
Update documentation.
Keep buffer index-id map a script scope variable.
2014-09-14 18:58:20 -07:00
Wes Malone
d6475684b7 add windowswap extension 2014-09-10 19:05:42 -05:00
Igor Petrov
6e5865473c Tabline close button flag added 2014-09-04 02:48:48 +04:00
Bailey Ling
e10ef2fb25 also redraw the statusline for :AirlineRefresh (for #563) 2014-07-30 15:29:43 -04: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
Ben Joldersma
4f904ab0d4 Fix #462 - Configurable head limit. 2014-05-21 10:41:53 -07:00
Peter Regner
7bd40715d4 fix minor typo in help text 2014-04-25 18:28:49 +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
e49eac95a3 add support for configurable whitespace checking algorithms and default it to the simplest one. resolves #484 2014-04-19 14:27:14 -04:00
Bailey Ling
ab92a95969 Merge pull request #442 from blueyed/doc
Minor doc fixes
2014-03-21 23:54:30 -04:00
Emily St
f196ea1f36 Customizes tabline appearance: type, close button
This commit adds a couple of new settings so that it's possible to hide
the tab type (all the way to the right) and the symbol which represents
the close button.

The settings and their defaults:

let g:airline#extensions#tabline#show_tab_type = 1
let g:airline#extensions#tabline#close_symbol = 'X'
2014-03-19 13:46:44 -07:00
Daniel Hahler
a6e304e07c minor doc fix: s/various some/various/ 2014-02-20 00:30:56 +01:00
Bailey Ling
baed8ac063 happy 2014 2014-01-19 23:44:44 -05:00
Evgeni Kolev
1c41ce53d9 Add promptline.vim extension 2014-01-10 22:14:21 +02:00
Fatih Kadir AKIN
4345a6b29a tagbar link fixed
tagbar link was going to user's url.
2013-12-29 03:19:24 +02:00
zdm
225098475a docs updated 2013-12-26 08:16:30 +02:00
zdm
19861d0514 docs updated 2013-12-23 07:58:24 +02:00
zdm
50fd649110 docs updated, formatters moved to separate filenames 2013-12-23 07:41:24 +02:00
Bailey Ling
df2f33d6a5 specify maximum for whitespace checking. resolves #378. 2013-12-13 16:38:32 -05:00
Evgeni Kolev
63272a08ae Add tmuxline extension 2013-11-23 11:10:11 +02:00
Bailey Ling
253974506a disable vcscommand integration by default. resolves #340. 2013-11-12 09:45:04 -05:00
Bailey Ling
3c9f8bb979 document section layout ordering (#164). 2013-11-03 23:14:10 -05:00
Tom McDonald
11950b0298 Fix typo in help
Help tag used underscore instead of hyphen.
2013-10-21 16:53:48 -04:00
Bailey Ling
c4c4be836e implement new unique_tail formatter. resolves #230. 2013-10-21 14:25:21 -04:00
Bailey Ling
dd2be8ac8d detect whether quickfix or location list is open. 2013-10-21 13:22:07 -04:00
Bailey Ling
9e53c2c155 add more documentation about accents. resolves #299. 2013-10-06 09:22:33 -04:00
Bailey Ling
af330f6a47 add AirlineRefresh command. 2013-10-06 09:01:01 -04:00
Pychimp
ccccb87671 Spelling mistake in documentation
spelling error was present in *airline-eclim* part,
integratino -> integration
2013-10-05 14:23:53 -04:00
Bailey Ling
0f23d9373c move eclim documentation into the vim doc. 2013-10-01 21:26:31 -04:00
Bailey Ling
9d3c6506da add table of contents to help file. 2013-09-27 10:34:41 -04:00
Bailey Ling
2fa6697071 add documentation about predefined parts. resolves #267. 2013-09-21 15:35:53 -04:00
Bailey Ling
0860d2f525 Merge pull request #261 from pydave/add-ctrlp-hide-modes
Add option to hide previous/next modes in ctrlp
2013-09-19 11:20:49 -07:00
pydave
0b70880471 Add option to hide previous/next modes in ctrlp
New option airline#extensions#ctrlp#show_adjacent_modes allows users to
toggle showing the previous and next modes. The default is the same
behavior as before: show the modes.

Add documentation for new option.

These modes are useful if you switch forward and back through ctrlp's
functionality, but they are visual noise if you don't.
2013-09-19 10:01:10 -07:00
Bailey Ling
2d465afb95 tweak default truncation values so 80-width still shows all (#259). 2013-09-18 21:33:17 -04:00
Bailey Ling
e31d5f333c for the sourcerers out there... (#254) 2013-09-15 09:22:23 -04:00
Bailey Ling
256a9681cb document showing/hiding tabline based on tab count. resolves #252. 2013-09-15 08:52:13 -04:00
pydave
b60004d504 Fix tagging markup in help
Vim help's help-writing describes how to use '' around options and ||
around help links. Use these where possible to give the correct syntax
highlighting (and help vim-scriptease know the correct type to jump to
for ambiguous symbols).
2013-09-13 11:03:57 -07:00
pydave
39ba0b2d6a Fix help not displaying code correctly
airline_powerline_fonts wasn't wrapped in ><, so it displayed as normal
text and threw off the syntax highlighting.
2013-09-13 10:51:48 -07:00
Bailey Ling
55f524de77 support for conditional parts. resolves #238. 2013-09-08 19:06:57 -04:00
Bailey Ling
9c416f28d4 tidy up documentation 2013-09-07 18:33:47 +00:00
Bailey Ling
dbd9121c05 allow collapsing to be configurable. also fix win paths. 2013-09-07 15:09:19 +00:00
Bailey Ling
e1062c5f84 update docs 2013-09-07 13:50:55 +00:00
Bailey Ling
bfb091c3ca minor cleanup of documentation. 2013-09-07 01:52:53 +00:00
Bailey Ling
22f1701a2e keep fmod as a valid configuration variable. 2013-09-07 01:36:15 +00:00
Bailey Ling
2e46190034 pass in buffers to the formatter. 2013-09-07 00:51:58 +00:00
Bailey Ling
0ac25ecc30 extract buffer name logic into a formatter.
hold off on deprecation warnings for now...
2013-09-07 00:43:51 +00:00
Bailey Ling
7a2f6525c3 implement customizable file name formatting (#230). 2013-09-06 21:50:06 +00:00
Bailey Ling
2cfe26f72f correct docs for the default value. 2013-09-05 15:21:04 +00:00
Vitor Antunes
e967d09bf3 Allow flag configuration of tagbar statusline string 2013-09-05 15:42:17 +01:00
Bailey Ling
a9b2fd2c41 allow configuration for showing only tabs. resolves #220. 2013-09-04 20:17:02 +00:00
Bailey Ling
56eaf3733f add support to show tabline based on minimum buffer count (#220). 2013-09-04 19:53:04 +00:00
Bailey Ling
53364af1e3 support configuring tabline separators independently. resolves #215. 2013-09-04 19:20:06 +00:00
Bailey Ling
00e5e1c20e support changing how numbers are displayed in tab mode. resolves #217. 2013-09-04 18:06:57 +00:00
Bailey Ling
e167e67819 implement showing buffer numbers and modified (#212). 2013-09-04 15:47:05 +00:00
Bailey Ling
2051dfb9a1 give gui users some love. 2013-09-03 18:48:08 +00:00
Bailey Ling
cf798d8783 no love for gui users... 2013-09-03 18:00:55 +00:00
Bailey Ling
4f76b3a971 add documentation for tabline. 2013-09-03 03:24:47 +00:00
Bailey Ling
16028e69dc document minwidth. resolves #200. 2013-09-01 14:36:20 -04:00
Bailey Ling
d6599d0b3b update documentation about section functions. 2013-09-01 13:59:22 -04:00
Bailey Ling
92de8ad160 much smarter handling of separators (#204). 2013-09-01 12:20:54 -04:00
Bailey Ling
0ad6deb832 Merge branch 'master' into dev
Conflicts:
	doc/airline.txt
2013-09-01 10:28:04 -04:00
Bailey Ling
c908d03cc0 document configuring with parts and sections. 2013-08-31 22:34:05 -04:00
Bailey Ling
660109a61a minor formatting and clarification in docs. 2013-08-31 19:33:31 -04:00
Bailey Ling
68331a5e4f Merge branch 'dev'
Implements #204.

Conflicts:
	README.md
2013-08-31 15:02:01 +00:00
Bailey Ling
c6d996d5ca define the rest of the extensions. 2013-08-30 22:07:45 +00:00
Bailey Ling
43dfdc6de4 add more obvious instructions for disabling truncation. 2013-08-29 21:29:33 +00:00
Bailey Ling
386ba6b087 support controlling whether bufferline variables get overwritten. resolves #195. 2013-08-28 08:21:32 -04:00
Bailey Ling
6c5672d686 update documentation. 2013-08-28 02:36:12 +00:00
Bailey Ling
3d3d93e135 update documentation about symbols dictionary (#193). 2013-08-27 20:44:47 +00:00
Bailey Ling
2c7e31801f Merge branch 'symbols' 2013-08-27 18:13:20 +00:00
Bailey Ling
d5d87d2cdc reduce variable deprecation. 2013-08-27 14:12:03 +00:00
Bailey Ling
5c1c985502 tweak width truncation values. 2013-08-27 07:55:28 -04: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
bc03ab5cbf support section truncation based on window width. resolves #190. 2013-08-27 01:16:56 +00:00
Bailey Ling
358d4328f4 support formattable whitespace messages. resolves #185. 2013-08-26 02:08:04 +00: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
3bb451f1f4 pass context into the builder. 2013-08-24 03:18:43 +00:00
Bailey Ling
98eecd7ae2 add error code 1 for easier override. 2013-08-24 03:02:13 +00:00
Bailey Ling
e8d0d24163 prefer function name instead of funcref. 2013-08-24 01:21:09 +00:00
Bailey Ling
c2632f9dbb introduce g:airline_theme_patch_func (#173). 2013-08-22 19:55:04 -04:00
Bailey Ling
51110b902b document the pipeline. 2013-08-22 23:20:53 +00:00
Bailey Ling
261dafca9d fold exclude funcrefs into the default one. 2013-08-22 17:32:44 +00:00
Bailey Ling
8452029e98 upgrade all funcrefs to support varargs. 2013-08-21 15:14:12 +00:00
Bailey Ling
47de191a80 update doc. 2013-08-21 11:57:23 +00:00
Bailey Ling
e4a0fe1d9c move paste symbol variable into extension, update docs. 2013-08-20 23:16:39 +00:00
Evgeni Kolev
7a1d7a01b2 allow ctrlp to use mode colors other than insert's colors
add global variable g:airline#extensions#ctrlp#color_template which can
hold modes normal|insert|visual|replace as string. ctrlp will use the
given mode's colors if the active theme doesn't define any.
2013-08-20 23:30:46 +03:00
Bailey Ling
a04d7c277a support vim-signify as a hunk source. 2013-08-20 15:43:26 +00:00
Bailey Ling
e2a758e309 deprecate airline_readonly_symbol. move into gutter by default, so it does not conflict with bufferline logic. 2013-08-20 08:11:38 -04: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
494d15232c reduce pollution of global scope variables 2013-08-20 03:38:02 +00:00
Benjamin Bergman
a5f084dc4e Use extension local variables, and expose hunk_symbols to user 2013-08-19 22:32:14 -05:00
Benjamin Bergman
4d9a0e257f Add option to show only non-zero hunks 2013-08-19 17:28:42 -05:00
Bailey Ling
2a02afb918 default whitespace symbol to non-unicode unless powerline fonts are enabled (#155). 2013-08-19 13:33:13 +00:00
Bailey Ling
dad0d5a8d8 add gitgutter integration. 2013-08-18 21:02:33 +00:00
Bailey Ling
03c08e819c autoload themes to match colorscheme. resolves #145. 2013-08-18 04:44:13 +00:00
Bailey Ling
ca39454ecf add example.vim extension (#134) 2013-08-16 18:04:03 +00:00
Bailey Ling
81c49292d3 add shortform into doc for easy copy/pasting 2013-08-16 14:57:36 +00:00
Bailey Ling
f5afe4bcac Merge pull request #141 from chrisbra/master
added airlinetoggle function
2013-08-15 11:58:28 -07:00
Christian Brabandt
8ec527465d added airlinetoggle function 2013-08-15 20:48:59 +02:00
Bailey Ling
b7131d8b51 add section about writing extensions (#134). 2013-08-14 03:07:01 +00:00
Bailey Ling
7e63d9ddd9 rename variable so it's more obvious 2013-08-14 02:36:09 +00:00
Bailey Ling
10e8146d7b improve docs, remove deprecation warnings 2013-08-14 02:32:05 +00:00
Bailey Ling
f66cb47d29 fix up csv integration so it only applies to csv filetypes 2013-08-13 21:52:31 -04:00
Bailey Ling
509c9f68a9 rename csv variables, add extensions section for doc 2013-08-13 21:47:08 -04:00
Christian Brabandt
c5e21aa170 added csv extension 2013-08-14 00:11:51 +02:00
Bailey Ling
9dd682212f make warning a real section. references #136. 2013-08-13 20:43:04 +00:00
Bailey Ling
11e7e67d8d introduce g:airline_inactive_collapse. resolves #129. 2013-08-11 14:30:02 +00:00
Bailey Ling
5d92aaecaa update documentation 2013-08-10 23:22:49 +00:00
Bailey Ling
35539b2667 customizable empty branch message. closes #121. 2013-08-09 20:12:56 +00:00
Bailey Ling
4485b03e51 add whitespace toggle command 2013-08-08 14:42:27 +00:00
Bailey Ling
57955b3b86 add the most common problems into the documentation (#112). 2013-08-08 00:23:43 -04:00
Bailey Ling
d2c069b971 make syntastic use the warning section 2013-08-06 21:42:32 -04:00
Bailey Ling
7fb9bcf2c9 improve whitespace detection; add support for mixed indents 2013-08-07 00:48:53 +00:00
Bailey Ling
a5fe4d9972 extract colors from normal if undefined (#67, #113). 2013-08-04 19:10:44 +00:00
Bailey Ling
e4d5f4cfb1 add jellybeans theme using new highlight group methods 2013-08-04 01:28:20 +00:00
Bailey Ling
94895de8e2 rename window_override_funcrefs to statusline_funcrefs 2013-08-03 11:14:02 -04:00
Bailey Ling
5099fbf1b9 move tagbar definition into predefined section 2013-08-03 00:51:24 +00:00
Bailey Ling
9844f14f66 change license to MIT 2013-08-02 19:43:24 +00:00
Bailey Ling
72852fa665 update readme. resolves #109. 2013-08-02 08:11:53 -04:00
Bailey Ling
577e50d788 first class integration with tagbar 2013-07-31 20:07:14 +00:00
Bailey Ling
161daa7942 deprecate fugitive variable names in favour of scm-agnostic variable names 2013-07-27 18:15:00 -04:00
Bailey Ling
c095a48aad add documentation about airline_exclude_funcrefs 2013-07-25 22:48:15 +00:00
Kirill Klenov
c16cafb2bb Support &iminsert. 2013-07-24 15:35:31 +04:00
bling
44ac11bed3 fully document the dark theme. resolves #88. 2013-07-23 23:00:23 -04:00
Bailey Ling
221864cfdc make modified/paste detection an option 2013-07-22 21:23:41 +00:00
Bailey Ling
043256f96b add reference to the FAQ in the vim doc (#81). 2013-07-20 13:24:15 +00:00
maciej
645c67731c Add lawrencium support 2013-07-18 07:56:29 +02:00
Bailey Ling
6388005c46 allow g: gutter to be specified, integrate with vimshell, use get() for :w variables 2013-07-17 22:28:21 -04:00
Bailey Ling
1385667168 add old vim-powerline font symbols into the doc. resolves #76. 2013-07-17 19:09:18 +00:00
Bailey Ling
294f07d975 update docs, update link to faq in the wiki 2013-07-15 20:19:26 +00:00
Bailey Ling
8966e7c3e6 add author information into the docs. 2013-07-15 14:45:47 +00:00
Bailey Ling
39ae9c61ce add g:airline_exclude_preview option. resolves #72. 2013-07-14 15:44:16 -04:00
Bailey Ling
150cd09d38 make :AirlineTheme a getter/setter 2013-07-11 01:40:38 +00:00
Bailey Ling
16447a6aa9 fix another solarized2 dark gui typo. also, add :AirlineTheme command. 2013-07-10 19:55:55 +00:00
Bailey Ling
4fc6b31a82 fix typo in solarized2 for gui colors, update readme and doc 2013-07-10 17:54:25 +00:00
Bailey Ling
8c6efa5698 add info about funcrefs into the documentation. tested on vim 7.2. resolves #45. 2013-07-10 13:48:13 +00:00
Bailey Ling
b3987b10b3 update vim documentation, add example for overriding sections. 2013-07-07 23:12:05 -04:00
Bailey Ling
0c969e7860 introduce gutter section so the entire statusline can be overwritten 2013-07-07 21:00:14 -04:00
Bailey Ling
52607e204c add info about terminal colors (#26) 2013-07-07 20:38:19 -04:00