Commit Graph

2055 Commits

Author SHA1 Message Date
Christian Brabandt
dc7d991007
Tabline: Make specifying formatter more easy
closes #1863
2019-02-02 17:45:55 +01:00
Christian Brabandt
d372b5bc46
tabnr formmatter: fix style 2019-02-02 17:45:33 +01:00
Christian Brabandt
98bc6abde3
languageclient: check for existence of 'result' key
fixes #1861
2019-01-28 11:21:32 +01:00
Christian Brabandt
9355e683cd
Merge pull request #1865 from w0rp/patch-1
Remove incorrect copyright attribution
2019-01-28 11:15:46 +01:00
w0rp
54dba2a92b
Remove incorrect copyright attribution
I have never touched anything in this file, nor in the LanguageClient plugin, so the copyright attribution is incorrect. @neersighted may also wish to be removed from the list here.
2019-01-28 10:11:43 +00:00
Christian Brabandt
a829ec4861
Merge pull request #1864 from petpetpetpet/more_efficient_ale_line_numbers
More efficient ale line number function.
2019-01-28 10:57:13 +01:00
Christian Brabandt
d3859dc5dd
Merge pull request #1862 from mbbill/master
Fixed t:undotree undefined error
2019-01-28 10:55:44 +01:00
petpetpet
57c061dcb0 Added a hook to the new ALE api to grab line numbers. Should be more
efficient.
2019-01-27 13:57:18 +00:00
Ming, Bai
6601474bf5 Fixed t:undotree undefined error
the ```t:undotree.GetStatusLine()``` is appended to the status line when ```t:undotree``` exists, but it seems like the ```statusline``` will be executed when ```t:undtree``` is no longer available during window destruction.
2019-01-22 14:52:39 -08:00
Christian Brabandt
e0bde5dea4
Merge pull request #1859 from knatsakis/no-ctrlp-memleak
Fix ctrlp memory leak
2019-01-21 11:21:34 +01:00
Konstantinos Natsakis
53aa65a5ce Fix ctrlp memory leak 2019-01-17 15:34:19 +02:00
petobens
fa5910eb14
extensions: Add defx support
closes #1850
2019-01-11 10:49:31 +01:00
Christian Brabandt
d68c9bbeb2
tabline: make middle-click work as expected in neovim
closes: #1854
2019-01-11 10:44:10 +01:00
Christian Brabandt
70b86537bd
Merge pull request #1855 from arjanvandervelde/patch-1
make VimLeave autocmd nested
2019-01-11 10:41:20 +01:00
Arjan van der Velde
2d3bbbff43
make VimLeave autocmd nested
add "nested" to autocmd to make it play well w/ YouCompleteMe

see 109a019279/README.md (ycm-does-not-shut-down-when-i-quit-vim)
2019-01-10 23:15:30 -05:00
Christian Brabandt
6fd5b6ae56
tabline: Fix redrawtabline typo 2019-01-09 08:26:07 +01:00
Christian Brabandt
4604f6d465
tabline: Use :redrawtabline if available
this needs patch 8.1.706 and is a less hacky approach to force updating
the tabline
2019-01-09 07:42:32 +01:00
Christian Brabandt
72888d87ea
Revert "Make plugin reloadable"
This reverts commit 56197d5104.

fixes #1844
2018-12-18 16:13:03 +01:00
Christian Brabandt
56197d5104
Make plugin reloadable
there was a call to s:init() missing in the toggle function.
Without it, it wouldn't reload correctly, since the s:initialized
variable would never be set to 1 again. So load it when setting up
everything correctly.

fixes #1842
2018-12-17 22:23:40 +01:00
Christian Brabandt
c0f96df97f
Update metadata (copyright)
also remove trailing empty lines in test files
2018-12-15 19:56:30 +01:00
Christian Brabandt
39ac0a93e5
document changelog for new release 2018-12-15 19:45:50 +01:00
Christian Brabandt
e3cfd3643b
wordcount: prevent use of unused variable 2018-12-10 09:11:10 +01:00
Christian Brabandt
3d9071e6b6
themes: Load dark theme, when default colorscheme is loaded 2018-12-03 18:29:26 +01:00
Christian Brabandt
bd468dacfe
Revert TermOpen autocommand for Neovim
closes #1828
2018-11-22 08:31:14 +01:00
Christian Brabandt
c047abfe96
Add inactive statusline for terminal 2018-11-20 16:32:55 +01:00
Christian Brabandt
bc63a60b0f
terminal: return proper terminal name 2018-11-20 16:11:34 +01:00
Christian Brabandt
f9ccb57e76
Make terminal extension work with Neovim 2018-11-20 15:55:11 +01:00
Christian Brabandt
31f5a9307d
Make terminal statusline work for inactive window 2018-11-20 15:48:28 +01:00
Christian Brabandt
fa11b8855b
Test for TerminalOpen Autocommand before using it 2018-11-20 15:28:29 +01:00
Christian Brabandt
904ac4eb0b
plugin: Reload terminal extension on :term command 2018-11-20 14:51:22 +01:00
Christian Brabandt
ada0ba8ae3
doc: reorder extension configurations alphabetically 2018-11-14 09:28:16 +01:00
Christian Brabandt
426c8bb8ef
doc: update documentation 2018-11-14 08:26:18 +01:00
Christian Brabandt
df0c1731db
Add :AirlineExtensions command
This shows whether or not an extensions has been loaded.
2018-11-14 08:06:39 +01:00
Christian Brabandt
f6a95d3a6f
Fix wrong extension name for unicode 2018-11-14 07:41:48 +01:00
Christian Brabandt
ffac12cbbe
theme: do not show not-found warning
Only show the "airline theme not found" warning message, when the user
actually used `:AirlineTheme foobar`, not when called by an autocommand
that tries to switch themes when the Vim colorscheme changed.

fixes #1824
2018-11-14 07:36:45 +01:00
Christian Brabandt
b2e1dbad6f
use tr() instead of substitute
should be a bit faster
2018-11-13 22:54:49 +01:00
Christian Brabandt
b3a574b4a3
Fix error in airline#add_statusline_funcref 2018-11-13 22:53:13 +01:00
Christian Brabandt
7f6dfbefd1
theme: only define g:autoload_theme if loading was successfully
fixes the test
2018-11-13 22:39:36 +01:00
Christian Brabandt
5b1c92979c
Fix error in airline#add_statusline_funcref 2018-11-13 22:36:43 +01:00
Christian Brabandt
9dc546c699
use tr() instead of substitute
should be a bit faster
2018-11-13 22:29:32 +01:00
Christian Brabandt
14691bb00e
themes: load them explicitly rather than implictly
While this adds a bit more code it makes it possible to distinguish
between themes not found and errors in themes.

Use :verbose AirlineTheme <foobar>
to also see the error message in case of errors.
2018-11-13 22:27:02 +01:00
Christian Brabandt
b20e181bc8
Add a separate function for returning all available themes 2018-11-13 22:14:51 +01:00
Christian Brabandt
49671d0a11
terminal: do not reset airline theme on TerminalOpen
remove autocommand, that would overwrite the airline theme on :term

(e.g. After a :AirlineTheme monochrome and then using `:term` the
autocommand would reset the theme back to the one given in the .vimrc)
2018-11-13 22:01:36 +01:00
Christian Brabandt
cd0b15b195
plugin: use airline#util#warning instead of echo consistently 2018-11-13 21:37:52 +01:00
Christian Brabandt
c3ee263d5b
whitespace: use airline#util#warning instead of echo consistently 2018-11-13 21:37:52 +01:00
Christian Brabandt
2eaf57ece8
xtabline: use airline#util#warning instead of echo conistently 2018-11-13 21:37:52 +01:00
Christian Brabandt
c850f485ad
autoload: use airline#util#warning instead of echo 2018-11-13 21:37:48 +01:00
Christian Brabandt
464633baad
themes: Do not try to load the palette twice
This will be done explicitly by the switch_theme() function
2018-11-13 21:17:48 +01:00
Christian Brabandt
d441b3f7b6
util: use correct endfunction style 2018-11-13 21:11:04 +01:00
Christian Brabandt
f05f649be8
highlighter: even further refinement of when to skip groups 2018-11-13 13:57:15 +01:00