Christian Brabandt
f0a508b121
async: nvim: use generic output handler
2017-08-30 13:15:55 +02:00
Christian Brabandt
942458f19b
async: include stderr output in job output (Nvim)
...
references #1551
2017-08-29 12:56:15 +02:00
Christian Brabandt
d3f8873469
async: fix error, when mq is not enabled
...
fixes #1551
2017-08-29 12:47:29 +02:00
Christian Brabandt
09ab45a2fb
async: add missing comma
...
fixes #1550
2017-08-29 11:53:20 +02:00
Christian Brabandt
195f2e1dae
keymap: fix missing keymap symbol, fix wrong condition
2017-08-27 21:29:40 +02:00
Christian Brabandt
97f3f84881
Merge pull request #1549 from doronbehar/fix-doc-syntax2
...
Small fixes to syntax in documentation.
2017-08-27 20:58:19 +02:00
Doron Behar
c07b28d199
Small fixes to syntax in documentation.
2017-08-27 16:40:01 +03:00
Christian Brabandt
3b225a1322
keymap: add some more missing parts, fix missing printf
2017-08-26 21:14:35 +02:00
Christian Brabandt
f430246aff
keymap: add missing part from #1546
2017-08-26 18:18:45 +02:00
Christian Brabandt
57cda93aad
keymap: fix the style
2017-08-26 18:14:08 +02:00
Doron Behar
89e484ac59
Add keymap extension which shows keymap setting.
2017-08-26 18:09:20 +02:00
Christian Brabandt
20de588fd1
Merge pull request #1547 from kaidiren/master
...
fix: refresh airline when airline_skip_empty_sections enabled in plugin in ale
2017-08-26 15:43:21 +02:00
kaidiren
2b45581f1c
fix: refresh airline when airline_skip_empty_sections enabled in plugin ale
2017-08-26 19:00:40 +08:00
Christian Brabandt
db907f5598
async: new function for validating directory
...
references #1544
2017-08-26 08:04:44 +02:00
Christian Brabandt
3e25ca5a5a
async: Check directory before starting the job (Neovim)
...
fixes #1544
2017-08-26 07:58:39 +02:00
Christian Brabandt
e357f88de6
async: define config variable for older vims
...
references #1542
2017-08-25 18:50:15 +02:00
Christian Brabandt
f4caf598fa
async: only use nvim functions, when actually using neovim
...
closes #1542
2017-08-25 16:48:45 +02:00
Christian Brabandt
42e5c82d64
Merge pull request #1535 from chrisbra/nvim_async
...
Improvement to async functionality
2017-08-25 14:37:47 +02:00
Christian Brabandt
5345c8fafa
denite: Check filetype in mode function
...
references #1540
2017-08-25 08:38:31 +02:00
Christian Brabandt
9bd2c40e7d
denite: remove FileType autocommand
...
closes #1540
2017-08-25 07:44:39 +02:00
Christian Brabandt
ab6acdee41
Merge pull request #1539 from icymind/master
...
add option 'keymap_ignored_filetypes' for tabline extensions
2017-08-24 18:15:18 +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
Christian Brabandt
b77f326b33
async: rename variable
...
rename g:airline#init#async variable to g:airline#init#vim_async
because that is what it is for: showing whether vim supports async. Is
not set vor nvim, because nvim always supports jobs.
2017-08-23 18:38:19 +02:00
Christian Brabandt
06272275b5
fix po output not visible for nvim
...
Apparently, the output of msgfmt goes to stderr. So catch that one as
well.
2017-08-23 18:37:28 +02:00
Christian Brabandt
2c05a48a26
async: Add comments, better conditions to detect vim/nvim
2017-08-23 18:37:26 +02:00
Christian Brabandt
4c74a95045
Refactor async functions
...
- create a new async module
- refactor async functions from branch.vim and po.vim to async.vim
- support nvim async correctly
2017-08-23 18:37:24 +02:00
Christian Brabandt
50bfe8dd68
First commit to handle nvim specific async code
2017-08-23 18:31:43 +02:00
Christian Brabandt
a01d03a78a
branch: only do mq check once
...
but reset the check variable on Shell commands and when :AirlineRefresh
was called.
should make vim more performant
references #1536
2017-08-23 18:28:48 +02:00
Christian Brabandt
3ec22a524c
branch: comment why the argument is not used for update_hg_branch
2017-08-23 18:23:28 +02:00
Christian Brabandt
8cd7e35027
branch: correctly reset cache variables
2017-08-23 18:03:23 +02:00
Christian Brabandt
e553433430
branch: when mq is disabled, do not run hg qtop anymore
2017-08-23 18:01:41 +02:00
Christian Brabandt
5147d385a5
branch: cache filename path
...
fixes #1536
2017-08-23 17:56:57 +02:00
Christian Brabandt
232b6415d9
tagbar: do not error out, if autoloaded function does not exist
...
tagbar is not loaded if filetype plugin is off, so do not try to call a
non-existent function than.
2017-08-23 15:54:06 +02:00
Christian Brabandt
e8b6312dd9
Backout the wrong commit for checking async feature in nvim
...
fixes #1532
2017-08-21 22:22:19 +02:00
Christian Brabandt
04bc544db2
po: rename variable correctly and add g: prefix
2017-08-21 21:29:16 +02:00
Christian Brabandt
5fc5a43802
init: rename variable
2017-08-21 21:26:35 +02:00
Christian Brabandt
c2b2351d99
async: Better check for nvim
...
closes neovim/neovim#7186
2017-08-21 21:23:34 +02:00
Christian Brabandt
470e9870f1
highlighter: do not consider 0 to be empty
...
fixes #1531
2017-08-20 22:47:02 +02:00
Christian Brabandt
e5f9ccad8e
terminal: use mode() to detect terminal mode
...
workaround with index(term_list(), bufnr('')) > -1 not needed anymore,
since vim 8.0.936 will correctly return 't' for the mode() function in
the terminal.
2017-08-20 22:47:00 +02:00
Christian Brabandt
3535243c50
Merge pull request #1528 from doronbehar/fix-doc-syntax
...
Small fixes to syntax in help file.
2017-08-17 13:41:06 +02:00
Doron Behar
69ad039d07
Small fixes to syntax in help file.
2017-08-16 19:56:44 +03:00
Christian Brabandt
d8eb12845f
hunks: do not cache for changes plugin
2017-08-14 08:13:19 +02: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
6ee75bdbde
Fix failing tests
2017-08-11 12:55:44 +02:00
Christian Brabandt
a96681d459
highlighter: Cache syntax highlighting attributes
...
Should in theory improve performance by quiet a lot.
2017-08-11 11:26:35 +02:00
Christian Brabandt
e9a7a12d9e
highlighter: improve performance of get_array() function
2017-08-11 11:05:56 +02:00
Christian Brabandt
c65d7fe36b
highlighter: slight performance increase
...
do not access get() function twice. We can assign the result to a
variable and use it a second time. Should speed up the highligther part
of the code by a bit.
Since I was already touching s:Get(), also get rid of the default
parameter, as it always has been the empty string.
2017-08-11 10:46:03 +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