Commit Graph

1363 Commits

Author SHA1 Message Date
Christian Brabandt
8ae46e989d update tabline on bufadd events 2016-01-21 21:10:25 +01:00
Christian Brabandt
8afd72d886 Merge pull request #936 from h3xx/fix-logic-simplicity
Simplify logic on if statement
2016-01-21 20:50:14 +01:00
Dan Church
1d6ec383e4
Simplify logic on if statement
Referencing the same boolean multiple times in a logical statement is
probably not what was intended.
2016-01-21 10:46:36 -06:00
Christian Brabandt
d07799421a Merge pull request #934 from chrisbra/formatter
fix typo in documentation about formatters
2016-01-20 23:59:05 +01:00
Christian Brabandt
604f744727 fix typo in documentation about formatters
fixes #873
2016-01-20 23:53:14 +01:00
Christian Brabandt
0e6a0b9389 Merge pull request #893 from blueyed/theme-base16-vertsplit
base16 theme: use Normal/VertSplit for inactive statusline
2016-01-20 23:31:36 +01:00
Christian Brabandt
fb77c3ac27 Merge pull request #933 from chrisbra/fix_virtualenv
fix issue with virtualenv
2016-01-20 23:23:12 +01:00
Christian Brabandt
2ebe79a0d0 fix issue with virtualenv 2016-01-20 23:21:20 +01:00
Daniel Hahler
c10a072b9e base16 theme: use Normal/VertSplit for inactive statusline 2016-01-20 22:50:19 +01:00
Bailey Ling
17eff4f4b0 Merge pull request #931 from chrisbra/tabline-mappings
use silent flag for AirlineSelectTab mappings
2016-01-20 15:25:48 -05:00
Bailey Ling
b8278dc446 Merge pull request #930 from chrisbra/511
Make the virtualenv extension work better
2016-01-20 15:25:29 -05:00
Christian Brabandt
6c1fb7e275 use silent flag for AirlineSelectTab mappings 2016-01-20 20:07:45 +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
Christian Brabandt
dcfe24bc6d Merge pull request #929 from chrisbra/preview-window
Also draw a nice statusline in the preview window
2016-01-20 19:27:24 +01:00
Christian Brabandt
0a75e493a6 Also draw a nice statusline in the preview window
This fixes issue #858

previously, the the on_window_changed() function returned early when the
popupmenu was visible, which also means, that a new preview window
created by the popup menu would not be rendered correctly until one
moves into this window.

Therefore, I made it not return early, even if the popup menu was opened
to make sure, it will be rendered. However, since the popup menu is
open, this might have unwanted consequences, if some plugin or other
function from airline calls some normal mode command (e.g. wordcount
which should not be enabled for preview windows). So this might break
subtile in other areas later.

An alternative might be to just document the fact, that airline won't
color preview windows at all. But I don't like that either.
2016-01-19 20:48:56 +01:00
Bailey Ling
348663f7f8 introduce contributing.md 2016-01-18 14:01:39 -05:00
Bailey Ling
44769aab3a Merge pull request #925 from chrisbra/show_tabline
Check window size
2016-01-17 18:29:04 -05:00
Christian Brabandt
db6bf458fb Check window size
Before setting showtabline option, make sure, there is enough room
fixes #863
2016-01-17 18:35:24 +01:00
Christian Brabandt
8845f56686 Merge pull request #921 from chrisbra/doc-wordcount
use wordcount function if available
2016-01-16 12:56:51 +01:00
Christian Brabandt
06723fc82c Merge pull request #922 from mhinz/i-cant-think-of-a-good-name-for-this
Hunks: make s:source_func local to buffer
2016-01-15 13:16:05 +01:00
Marco Hinz
d85d697b5f Hunks: make s:source_func local to buffer
Prior to this change airline set the function for getting hunks only once,
which works as long as you don't use simlar plugins for different VCS at the
same time.

If that was the case, only one plugin would have won, depending on the first
buffer handled by these plugins. And although the code for the other plugin
was run every time, you would never see the actual line changes, since airline
didn't even bother checking.

Now these plugins can be used side-by-side in the same Vim instance, e.g.
gitgutter for, well, git and signify for the rest.
2016-01-15 13:05:01 +01:00
Christian Brabandt
17f5eaaa6a use wordcount function if available 2016-01-15 12:55:23 +01:00
Bailey Ling
048b24a916 happy 2016! 2016-01-14 21:38:38 -05:00
Bailey Ling
2c613a1746 update maintainers list 2016-01-14 21:36:49 -05:00
Bailey Ling
e53a77b1e6 update readme about maintainers, update badge 2016-01-14 21:01:28 -05:00
Bailey Ling
004c4259a3 Merge pull request #920 from chrisbra/doc-wordcount
adjust default value for wordcount extension
2016-01-14 19:40:00 -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
Christian Brabandt
83880b9a1f Merge pull request #919 from mhinz/fix-readme
README updates
2016-01-14 15:04:35 +01:00
Marco Hinz
ae2f3dc6e2 README: add vim-plug to installation section 2016-01-14 13:25:20 +01:00
Marco Hinz
79cdd75a0c README: update URLs to reflect new repo location 2016-01-14 13:23:50 +01:00
Bailey Ling
ca6ab34e3c Merge pull request #910 from chrisbra/fix_908
autochdir is only available with big builds
2016-01-05 22:19:30 -05:00
Christian Brabandt
c1fbea46bc autochdir option is only available in big builds 2016-01-05 11:15:20 +01:00
Bailey Ling
0138313656 Merge pull request #905 from zandrmartin/master
fixed black fg in distinguished theme
2015-12-28 21:16:10 -05:00
Zandr Martin
0931311916 delete screenshot from repo 2015-12-28 17:11:04 -06:00
Zandr Martin
daafeed223 fixed black fg in distinguished theme 2015-12-28 14:47:16 -06:00
Bailey Ling
39810a33dd Merge pull request #904 from zandrmartin/master
add distinguished theme
2015-12-28 15:10:41 -05:00
Bailey Ling
2fbdbc8893 Merge pull request #888 from ohcibi/feature/add-pathshorten-as-long-branch-name-option
Add `pathshorten` as a built-in format for long branch names
2015-12-28 14:56:02 -05:00
Bailey Ling
4791dcac02 Merge pull request #884 from yousong/dconf
init.vim: use %F in section_c if autochdir is set.
2015-12-28 14:51:20 -05:00
Bailey Ling
6a9eb4d915 Merge pull request #883 from somini/wordcount_autocmd
Change format of wordcount
2015-12-28 14:50:20 -05:00
Zandr Martin
4733a92e20 add distinguished theme 2015-12-28 11:39:29 -06:00
Bailey Ling
06f2cb5a89 Merge pull request #900 from heni/fix/ctrlp-link
Change ctrlp link to more correct repository
2015-12-25 10:31:00 -05:00
Eugene Krokhalev
a0c7e1538b Change ctrlp link to more correct repository 2015-12-24 10:15:26 +03:00
Tobias Witt
b48e2390cb
Add pathshorten as a built-in format for long branch names 2015-11-19 11:03:54 +01:00
Yousong Zhou
18a19532ea init.vim: use %F in section_c if autochdir is set.
The difference as per documentation of :statusline

    f S   Path to the file in the buffer, as typed or relative to current
	  directory.
    F S   Full path to the file in the buffer.
2015-11-11 12:03:28 +08:00
somini
e0841b10a7 Don't update the word count on select mode
Fixes #868
2015-11-10 20:20:53 +00:00
somini
1c498d1af3 Add format to the wordcount plugin 2015-11-10 20:11:20 +00:00
Dlani Mendes
6a14987276 Base16 True Pallete 2015-10-19 14:44:10 -02:00
Bailey Ling
14d14cf951 Merge pull request #872 from wilywampa/normal_cmd
Change normal command to normal! command
2015-10-18 14:00:34 -04:00
Jacob Niehus
a8d40a1bc3 Change normal command to normal! command 2015-10-16 15:22:53 -07:00
Bailey Ling
8c30610c5f allow wordcount filetypes to be customized. resolves #864. 2015-10-07 20:44:34 -04:00