Commit Graph
1453 Commits
Author SHA1 Message Date
Daniel Hahler 4109ee8ef4 vim-patch:8.1.0911: tag line with Ex command cannot have extra fields
Problem:    Tag line with Ex command cannot have extra fields.
Solution:   Recognize |;" as the end of the command. (closes vim/vim#2402)
https://github.com/vim/vim/commit/943e9639a9ecb08bdec78ae6695c917bca6210b9
2019-08-10 17:21:18 +02:00
Daniel Hahler 939d9053bd channels: reflect exit due to signals in exit status code (#10573)
Uses `128 + term_signal` in case of exit due to a signal.

Fixes https://github.com/neovim/neovim/issues/10571.
2019-08-09 15:34:06 +02:00
Björn Linse 1f54f68732 lua: minimal UTF-16 support needed for LSP 2019-08-08 20:10:14 +02:00
Björn Linse c0993ed343 lua: support getting UTF-32 and UTF-16 sizes of replaced text 2019-08-06 20:24:36 +02:00
Björn Linse b0e26199ec lua: add {old_byte_size} to on_lines buffer change event 2019-08-06 17:01:47 +02:00
Daniel Hahler fd66ad2262 vim-patch:8.1.1305: there is no easy way to manipulate environment variables
Problem:    There is no easy way to manipulate environment variables.
Solution:   Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto,
            closes vim/vim#2875)
https://github.com/vim/vim/commit/691ddeefb545d8488e5a495af61caba2e57b3de9
2019-08-06 01:17:32 +02:00
Björn Linse f5d1e0e7b1 Merge pull request #10690 from bfredl/lua_print
lua: laundry list (crashes and additions)
2019-08-05 13:59:40 +02:00
Björn Linse 88938634e7 lua: add vim.in_fast_event() to check if we are in a luv callback 2019-08-05 13:57:24 +02:00
Justin M. Keyes 45c34bd84a :doautocmd : Never show "No matching autocommands" #10689
The message is useless, it doesn't even mention the event name.

vim_dev discussion:
https://groups.google.com/forum/#!msg/vim_dev/RTbq58TMq9w/Xr4rSoUTCgAJ

ref: https://github.com/vim/vim/issues/4300
2019-08-05 03:33:45 +02:00
Justin M. Keyes 241956720d provider: g:loaded_xx_provider=2 means "enabled and working"
Value of 1 cannot be used, because users might set that in their vimrc
to _disable_ a provider, which would confuse :checkhealth and has().
2019-08-04 13:23:46 +02:00
Justin M. Keyes 66938b928c provider: decide status by g:loaded_xx_provider 2019-08-04 13:23:46 +02:00
Rui Abreu Ferreira 2cfe4748e5 provider: let providers decide their status
Instead of deciding provider status in eval_has_provider, move the
decision to the provider Vim scripts.

Previously, provider loading worked as follows:

1. eval_has_provider() verified provider availability by searching for
   the provider#providername#Call function and cached this verificaion as a static
   variable for some providers
2. providers short-circuited on loading to prevent the definition of the
   Call function (with the exception of the node provider that did not)

This commit changes the expected interface between nvim and its
providers to facilitate provider reloading, by splitting the
verification of the provider from the availability of the Call function.

eval_has_provider() now checks for a provider#providername#enabled
variable. It is up to the provider script to set this to 0 or 1
accordingly. eval_call_provider() remains unchanged.

All providers hosting a Call function were updated to respect this.

The clipboard provider now has a Reload function to reload the
provider.
2019-08-04 13:23:46 +02:00
Jan Edmund Lazo 2860453c4f doc: update 'shellredir' advice for powershell #10686
Encoding can be utf8, unicode, utf32.
User can choose to omit '-Encoding' to default to 'unicode'.

'ascii' encoding corrupts the following file:
https://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html

Inspect 'foo.txt' with the following code after downloading the file.

Get-Content -Encoding UTF8 UTF-8-demo.html | Out-File -Encoding ascii foo.txt
2019-08-04 11:32:17 +02:00
Justin M. Keyes df636003bf doc: remove "{not available ...}" noise 2019-08-02 16:36:42 +02:00
Justin M. Keyes 9bc4f275b3 vim-patch:5477506a9f01
Update runtime files.
https://github.com/vim/vim/commit/5477506a9f01d40fad2e8f0555bc37adee30478f

NA:
vim-patch:2a9c9f6d89f1 "undo extra changes in src/Makefile"
https://github.com/vim/vim/commit/2a9c9f6d89f19f8fa8d926e80c7f988729f6f1bd
2019-08-02 16:20:23 +02:00
Justin M. Keyes 7c19a4e518 vim-patch:85850f3a5ef9
Update runtime files
https://github.com/vim/vim/commit/85850f3a5ef9f5a9d22e908ef263de8faa265a95
2019-08-02 16:20:22 +02:00
Justin M. Keyes 1e4e890a76 vim-patch:396e829fa355
Update runtime files
https://github.com/vim/vim/commit/396e829fa355ebc92a618ef18266a3fed71b7042
2019-08-02 16:20:22 +02:00
Justin M. Keyes 0d852bdc69 vim-patch:6c1e1570b134
Update runtime files
https://github.com/vim/vim/commit/6c1e1570b1346de0d438fbb991bddab38c228290
2019-08-02 16:20:22 +02:00
Justin M. Keyes bd23fefb39 vim-patch:12ee7ff00b91
Update runtime files
https://github.com/vim/vim/commit/12ee7ff00b91d852e060bb24951d1c94239863eb
2019-08-02 16:20:22 +02:00
Justin M. Keyes 0414a33868 vim-patch:61da1bfa6c6b
Update runtime files.
https://github.com/vim/vim/commit/61da1bfa6c6b19dd670671a318ce9f9e2acc784c
2019-08-02 16:20:22 +02:00
Justin M. Keyes c6e4a29ad2 vim-patch:7dd64a3e57d2
Update runtime files.
https://github.com/vim/vim/commit/7dd64a3e57d296fdee3b3ffe6d938f634b59848c
2019-08-02 16:20:22 +02:00
Justin M. Keyes 4ea8323667 vim-patch:68e6560b84f1
Update runtime files.
https://github.com/vim/vim/commit/68e6560b84f196c82e27a72669684d5506a3a837
2019-08-02 16:20:22 +02:00
Justin M. Keyes bf6919f26b cleanup 2019-08-02 16:20:22 +02:00
Justin M. Keyes 532ee54a42 vim-patch:a6c27c47ddf0
Update runtime files
https://github.com/vim/vim/commit/a6c27c47ddf081859659d7de1caec675147e466b
2019-08-01 23:27:26 +02:00
Justin M. Keyes f379eac1ef vim-patch:911ead126903
Update runtime files
https://github.com/vim/vim/commit/911ead126903aeb9564bad89e46a147ed4959896

NA: vim-patch:602abeb20fb7
2019-08-01 23:12:33 +02:00
Justin M. Keyes 4d830ca31b vim-patch:62e1bb4a111e
Update runtime files.
https://github.com/vim/vim/commit/62e1bb4a111e7ce570c30965f40a68a07a9da5b0

NA: vim-patch:496555fd1821
2019-08-01 22:58:20 +02:00
Justin M. Keyes 31a5ec23eb vim-patch:723dd946f948
Update runtime files.
https://github.com/vim/vim/commit/723dd946f94856be94a943876945fb1bd8169059
2019-08-01 22:52:42 +02:00
Justin M. Keyes 2cdbbe50a4 vim-patch:63b74a8362b1
Update runtime files.
https://github.com/vim/vim/commit/63b74a8362b14576b21d342dc424d0396ca8ea27
2019-08-01 22:48:28 +02:00
Justin M. Keyes 41fe644124 vim-patch:26967617a30e
Update runtime files.
https://github.com/vim/vim/commit/26967617a30e55aedc98b8f14b841d88469abd0e

NA: vim-patch:55d81cd2a15d
2019-08-01 22:44:59 +02:00
Justin M. Keyes a14fc7b159 vim-patch:f6b401090e81
Update runtime files
https://github.com/vim/vim/commit/f6b401090e816b4216f783a9b85d21d9ad134ff8
2019-08-01 22:26:04 +02:00
Justin M. Keyes 47b4eb110d vim-patch:4c92e75dd4dd
Update runtime files.
https://github.com/vim/vim/commit/4c92e75dd4ddb68dd92a86dd02d53c70dd4af33a

vim-patch:c854898881c0
Revert change accidentally included in runtime file updates.  Closes vim/vim#3998.
https://github.com/vim/vim/commit/c854898881c02259f90170f210bf65bbd20cc1fc
2019-08-01 16:51:53 +02:00
Justin M. Keyes 87140f234a Merge #10646 'vim-patch: runtime patches' 2019-08-01 16:43:14 +02:00
Justin M. Keyes 5342342426 runtime: move matchit.vim to /pack/dist/opt/
Align matchit.vim with upstream Vim. We don't want to maintain a fork of
matchit.vim; our small changes should be sent to
https://github.com/chrisbra/matchit
2019-08-01 15:43:53 +02:00
Justin M. Keyes 57fa9add79 vim-patch:314dd79cac2a
Update runtime files.
https://github.com/vim/vim/commit/314dd79cac2adc10304212d1980d23ecf6782cfc
2019-07-29 20:50:07 +02:00
Justin M. Keyes b5cb6c743a vim-patch:2a953fcf107d
Updated runtime files.
https://github.com/vim/vim/commit/2a953fcf107d24229fec8af820ee62c908caafbf
2019-07-29 20:50:07 +02:00
Justin M. Keyes 6fed505100 vim-patch:d09091d4955c
Update runtime files.
https://github.com/vim/vim/commit/d09091d4955c5f41de69928f2db85611ed54ed23
2019-07-29 20:50:07 +02:00
Justin M. Keyes ef1f1907cc vim-patch:4c05fa08c973
Update runtime files
https://github.com/vim/vim/commit/4c05fa08c9739e307ddc88ac91ba6d208f1fd68e
2019-07-29 20:50:07 +02:00
Justin M. Keyes 4cab90ad8c vim-patch:c8c884926750
Update runtime files.
https://github.com/vim/vim/commit/c8c8849267503b2d2d6d821047ee8619c7821728
2019-07-29 20:50:07 +02:00
Justin M. Keyes aa680f6acb vim-patch:9d87a37ee9d8
Update runtime files.
https://github.com/vim/vim/commit/9d87a37ee9d87f5bdbc779bc940d5f1e6f055d0a
2019-07-29 20:50:07 +02:00
Justin M. Keyes c8f34a9a3e vim-patch:d47d52232bf2
Update runtime files.
https://github.com/vim/vim/commit/d47d52232bf21036c5c89081458be7eaf2630d24
2019-07-29 20:50:07 +02:00
Justin M. Keyes ab2cfd24e7 vim-patch:b730f0c7ba36
Update runtime files
https://github.com/vim/vim/commit/b730f0c7ba36492d795f081b19bbcb85cdf0f50f
2019-07-29 20:50:07 +02:00
Justin M. Keyes 28a681d37d vim-patch:f0d58efc9dc4
Update runtime files.
https://github.com/vim/vim/commit/f0d58efc9dc46be37c629cbc99b4125448ca39fd
2019-07-29 20:50:07 +02:00
Justin M. Keyes 80dda68926 vim-patch:ba3ff539303c
Update runtime files
https://github.com/vim/vim/commit/ba3ff539303c7bb6e46a6802dce3c7b2e55284e0
2019-07-29 20:50:07 +02:00
Justin M. Keyes f64486b6b6 vim-patch:790c18bfa5df
Update runtime files
https://github.com/vim/vim/commit/790c18bfa5dfeca51749b752dddc41e60cb3fa54
2019-07-29 20:50:07 +02:00
Justin M. Keyes caa8c06bae vim-patch:8.1.1138: add CompleteChanged #10644
(This was originally a Neovim patch, but this commit merges some changes
from the Vim patch.)

https://github.com/vim/vim/commit/d7f246c68cfb97406bcd4b098a2df2d870b3ef92
2019-07-29 02:36:46 +02:00
Daniel Hahler 10fd5ae277 vim-patch:7.4.2213: runtime parts with EndOfBuffer port #10635
Problem:    Cannot highlight the "~" lines at the end of a window differently.
Solution:   Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy)
https://github.com/vim/vim/commit/58b853460add42098ab08017df9e030fb14fd34b

Includes minor doc parts from 7.4.1304 for runtime/doc/eval.txt.
2019-07-28 13:27:03 +02:00
Daniel Hahler 256608a13b vim-patch:b1c9198af (#10634)
Vim 8.1 release

Update version number and information.  Fix a couple of tests.
https://github.com/vim/vim/commit/b1c9198afb7ff902588b45fbe44f0760a9f48375
2019-07-28 11:48:07 +02:00
Abdelhakeem b6278bbf12 API: Context: save/restore 2019-07-27 22:14:58 +02:00
Jan Edmund Lazo 39549159fe vim-patch:8.1.0706: introduce :redrawtabline #10570
Problem:    Tabline is not always redrawn when something that is used in
            'tabline' changes.
Solution:   Add ":redrawtabline" so that a plugin can at least cause the
            redraw when needed.
https://github.com/vim/vim/commit/e12bab3144af8943937bd0ff4bc57f04e53037b3
2019-07-22 12:25:07 +02:00
Justin M. Keyes afef973262 doc [ci skip] #10383
- test/README.md: document luassert `TableFormatLevel`
- CONTRIBUTING.md: absorb parts of the old "Development tips" wiki page
2019-07-19 21:32:04 +02:00