| Commit message (Collapse) | Author | Age |
... | |
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Uses `128 + term_signal` in case of exit due to a signal.
Fixes https://github.com/neovim/neovim/issues/10571.
|
|\ \ \ \
| | | | |
| | | | | |
vim-patch:8.1.{199,200}
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`len` is used with `list_append_string` later, and should reflect the
length of `word` (i.e. 0 when not setting word / breaking above).
Ref: neovim/neovim#9782 (comment)
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: spellbadword() not tested.
Solution: Add a test. (Dominique Pelle, closes vim/vim#3235)
https://github.com/vim/vim/commit/872e451e8c326d5dd3062ef621fcbf0a4c5bef78
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Problem: spellbadword() does not check for caps error. (Dominique Pelle)
Solution: Adjust capcol when advancing.
https://github.com/vim/vim/commit/66ab916935585391b2efaa8e39075e1ef94717b1
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
closes #3457
|
| | |_|/ /
| |/| | | |
|
| | | | |
| | | | |
| | | | | |
fix #10696
|
| |/ / /
|/| | |
| | | |
| | | |
| | | | |
Problem: Cannot build without the +eval feature.
Solution: Define ex_const if needed.
https://github.com/vim/vim/commit/0abb4273f6c14f9ebca8be67d42c6e67b4f612cf
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | | |
Problem: Crash when correctly spelled word is very long. (Ben Kraft)
Solution: Check word length before copying. (closes vim/vim#4778)
https://github.com/vim/vim/commit/5bcc5a1ff94bbab1b175e35a72e3df974106b393
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
clang/"dead assignment": suppessed getchar.c
Possibly invalid, read on line 1972:
if (keylen >= 0 && keylen <= typebuf.tb_len) {
|
| | | |
| | | |
| | | |
| | | |
| | | | |
To ensure consistency and avoid possible errors in the code
the assigment is considered to be legit.
|
|\ \ \ \
| | | | |
| | | | | |
api/lua: add {byte_count} parameter to line region change event
|
| | | | | |
|
| | |/ /
| |/| | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Regressed in e134cc9d4a: the use of list_in_columns was not adding a
space after the first features, because we do not start on a new line:
> Features: -acl+iconv +tui
This moves all the related code to `list_features`, and just joins them
with spaces.
|
| | |
| | |
| | |
| | |
| | | |
- use os_getenvname_at_index / os_getenv
- f_getenv: empty (*p == NUL) is not null (undefined)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Suppress the warning.
mb_c and mb_l describe a char together, they are not independent variables. The
coupled assignments are good practice to avoid future confusion, even if the
current code doesn't use an assigned value.
|
|/ /
| |
| |
| |
| |
| | |
Problem: Json_encode() is very slow for large results.
Solution: In the growarray use a growth of at least 50%. (Ken Takata,
closes vim/vim#4461)
https://github.com/vim/vim/commit/c47ed44be76a520ded90913099771999c8a79eeb
|
|\ \
| | |
| | | |
lua: laundry list (crashes and additions)
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Problem: Warning for size_t/int mixup.
Solution: Change type. (Mike Williams)
https://github.com/vim/vim/commit/d33a764123a8aedb20cd84aeff3b94810ee67c4c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Aborting an autocmd with an exception is not tested.
Solution: Add a test. Also shows how to abort a command by throwing an
exception.
https://github.com/vim/vim/commit/23b5139234a79567097ca73aba15ea134381b934
|
|/ /
| |
| |
| |
| | |
Problem: No test for completion of mapping keys.
Solution: Add a test. Also clean up the code.
https://github.com/vim/vim/commit/2cb9f0253228478ec27265ff40f59c629874d695
|
| | |
|
| |
| |
| |
| |
| | |
We don't want to retry autoload sourcing (slow) for every random has()
query that finds it way to eval_call_provider().
|
| |
| |
| |
| |
| | |
Value of 1 cannot be used, because users might set that in their vimrc
to _disable_ a provider, which would confuse :checkhealth and has().
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| | |
Problem: Error for using "compl", reserved word in C++.
Solution: Rename to "complp". (suggestion by Ken Takata)
https://github.com/vim/vim/commit/52111f82318dfbeb6a0b06230c0609abff509250
|
| |
| |
| |
| |
| |
| | |
Problem: :argdo is not tested
Solution: Add a test.
https://github.com/vim/vim/commit/72e1b39111389001a20fbe8aa344ce2fe0a7e1a4
|
| |
| |
| |
| |
| |
| | |
Problem: Error message may be empty in filetype test.
Solution: Use v:exception instead. (Daniel Hahler, closs vim/vim#4744)
https://github.com/vim/vim/commit/eee9f65b2a213e9031f172d9d3b22adad6cb985d
|
| |
| |
| |
| |
| |
| | |
Problem: Some filetype rules are in the wrong place.
Solution: Move to the right place. Add a few more tests.
https://github.com/vim/vim/commit/c273405188cc2f19e949089cda1f92bd81610dac
|
| |
| |
| |
| |
| |
| | |
Problem: Filetype "vuejs" causes problems for some users.
Solution: Rename to "vue".
https://github.com/vim/vim/commit/4248111497ab78f45d3d48576740949778a1e76b
|
| |
| |
| |
| |
| |
| | |
Problem: Cannot recognize Pipfile.
Solution: Use existing filetypes. (Charles Ross, closes vim/vim#4280)
https://github.com/vim/vim/commit/3a4c53ba51c01b8fea68972453a71c55cf32edbe
|
| |
| |
| |
| |
| | |
This is clearer/more explicit and avoids potential mismatch between what unibilium thinks vs what Nvim thinks.
For reference: https://github.com/mauke/unibilium/blob/e3b16d6219ca1cb92d98b1d9cc416b49a3ac468e/uniutil.c#L203-L211
|
|\ \
| | |
| | | |
vim-patch:8.1.{1374,1780}
|