Commit Graph

41 Commits

Author SHA1 Message Date
Bailey Ling
5601c0928e Happy new year! 2021-01-01 12:57:00 +00:00
eevan78
ad80550252 Initial Windows support for msgfmt
For now, it is tested successfully on the latest Vim 8.2 running on Windows 10.
Needs further change and testing for Neovim and older Vim versions.
2020-08-15 02:52:48 +04:00
Christian Brabandt
8fbb16f838 async: correctly use &shell and &shellcmdflag
instead of hardcoding to use 'sh' and '-c'
2020-01-28 16:04:53 +01:00
Christian Brabandt
a201689e38 async: correctly redirect error on powershell 2020-01-28 16:01:52 +01:00
Christian Brabandt
2e9d36e220 async: problem with powershell
also check for the powershell on windows.

closes #2050
2020-01-28 16:00:02 +01:00
kazukazuinaina
cf6dcf5e19 update license's year in vim-airline 2020-01-06 11:22:49 +09:00
Christian Brabandt
2db9b27e39 async: Better fix for #1936
fix #1936 in a different way
2019-06-14 10:30:05 +02:00
Christian Brabandt
71c80aaf54 async: Check existence of buffer before accessing it
fixes #1936
2019-06-14 09:40:30 +02:00
Christian Brabandt
3921bc13a3 async: do not clean up job dir for running jobs
closed #1929
2019-06-03 08:22:39 +02:00
Christian Brabandt
193e350440 Check existence of variable before trying to set it
closes #1924
2019-05-24 08:14:25 +02:00
Christian Brabandt
9a1acf144f async: Correctly reset dirty flag 2019-05-08 17:22:34 +02:00
Christian Brabandt
1b41629214 async: do not show dirty sign for error messages
closes #1915
2019-05-08 13:51:50 +02:00
Christian Brabandt
cc8f47e248 async: fix small problems with dirty jobs 2019-05-02 07:57:10 +02:00
Christian Brabandt
2db882e9b8 async: check dictionary keys before trying to access them 2019-05-01 07:45:06 +02:00
Christian Brabandt
fdd75df927 async: cleanup logic for nvim/vim8/vim7 2019-04-25 15:07:12 +02:00
Christian Brabandt
6b213e1071 branch: make it work with vim74
closes #1907
2019-04-25 14:43:56 +02:00
Christian Brabandt
11cd15d218 async: fnameescape filename
A buffer name wich special characters such as Command-T [Files] will
cause E94 when trying to call setbufvar() on it. That is because the
'[]' is special in buffer names. Therefore, fnameescape the buffer name.

This should prevent 'E94: No matching buffer for
/home/louis/git/minivimrc/Command-T [Files]' errors.

closes #1906
2019-04-25 07:41:56 +02:00
Christian Brabandt
9112675ad8 branch: display dirty state
If the repository is considered dirty, do display the
g:airline_symbols.dirty symbol right after the branch name.
2019-04-24 15:16:57 +02:00
Christian Brabandt
a8c96d7c07 async: Move function definition so it is valid for nvim 2019-04-24 13:27:25 +02:00
Christian Brabandt
941341d085 branch: simplify async logic a bit 2019-04-24 13:25:31 +02:00
Christian Brabandt
c8a36e14e9 Updated Copyright Statements 2019-03-25 12:29:47 +01:00
Christian Brabandt
6508558c3d po: shorten and reformat message format for smaller windows 2018-11-01 10:40:41 +01:00
Liam Fleming
feca81fb86 add "!" to function signatures 2018-06-13 17:52:13 +01:00
Christian Brabandt
d2ac3d5755 async: catch error when jobstart() fails
closes #1692
2018-03-20 14:01:46 +01:00
Christian Brabandt
5db4c408bd Update copyright notifications 2018-01-05 10:37:59 +01:00
Christian Brabandt
6c4f3277f1 Add missing scriptencoding 2018-01-05 10:26:38 +01:00
Christian Brabandt
3b5f2bd470 async: Todo: Check if cwd option for Vim 8 is needed 2018-01-04 23:29:15 +01:00
Christian Brabandt
031cb31056 branch: do not show errors for mq extensions
skip anything that matches abort

e.g. running hg qtop with Vims path outside of the repository returns
something like "abort: no repository found in ..."
in that case, do not show anything.
2017-09-22 21:39:17 +02:00
Christian Brabandt
9f186d899a branch: mq patch not correctly displayed
also make the branch extension make use of the specific code to handle
the mq output
2017-09-22 21:37:28 +02:00
Gideon VanRiette
a763c6b53f Catch trailing whitespace when matching output 2017-09-18 09:02:39 -05:00
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
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
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