| Commit message (Collapse) | Author | Age |
... | |
|\| |
|
| |
| |
| | |
Also renames functions added in master and renamed here.
|
| | |
|
| |
| |
| |
| | |
Also fixes buffer reusage in setmatches() and complete().
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Use `char *` for strings.
2. Add `const` qualifiers.
3. Add attributes and documentation.
4. Handle skipping *inside*.
5. Handle non-heredoc argument also inside: deferring this to the caller is
pointless because all callers need the same thing. Though new ex_lua caller
may live without allocations in this case, allocating nevertheless produces
cleaner code.
6. Note that all callers call script_get with `eap` and `eap->arg`. Thus second
argument is useless in practice: it is one and the same always and can be
reached through the first argument.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: It is not possible to use plugins in an "after" directory to tune
the behavior of a package.
Solution: First load plugins from non-after directories, then packages and
finally plugins in after directories.
Reset 'loadplugins' before executing --cmd arguments.
https://github.com/vim/vim/commit/66459b7c98c67f8a9d39de8f08e8e8f1fca0e359
vim-patch:7.4.2172
vim-patch:7.4.2169
vim-patch:7.4.2177
vim-patch:7.4.2178
vim-patch:7.4.2184
vim-patch:8.0.0050
vim-patch:8.0.0105
vim-patch:8.0.0400
vim-patch:8.0.0405
Closes #6034
|
|
|
|
|
| |
Before this change, new processes started with libuv prevented SIGHUP
from reaching pty processes (by keeping the ptmx file descriptor open).
|
|
|
|
|
|
|
|
| |
Main points:
- Replace `char_u` with `char` in some cases.
- Remove `str[len] = NUL` hack in some cases when `str` may be considered
`const`.
|
|
|
|
|
|
|
|
|
|
| |
Problem: More buf_valid() calls can be optimized.
Solution: Use bufref_valid() instead.
NOTE: Some changes related to channels and the Python and Netbeans interfaces
were obviously left out.
https://github.com/vim/vim/commit/7c0a2f367f2507669560b1a66423155c70d2e75b
|
|
|
|
|
|
| |
Problem: :packadd does not work the same when used early or late.
Solution: Always load plugins matching "plugin/**/*.vim".
https://github.com/vim/vim/commit/71fb0c146bef08dc276fc5793bd47366e6e0f32a
|
|
|
|
|
|
|
|
|
|
| |
move `call_shell` to misc1.c
Move some fns to state.c
Move some fns to option.c
Move some fns to memline.c
Move `vim_chdir*` fns to file_search.c
Move some fns to new module, bytes.c
Move some fns to fileio.c
|
|
|
|
|
|
|
|
|
|
|
| |
For any script--not just `:global` commands--there is no reason to
update the system clipboard until the script is finished, so disable it
during do_cmdline().
Before this change, 'clipboard=unnamedplus' causes scripted editing to
be extremely slow (e.g. `:normal` in a while-loop).
Closes #3534
|
| |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Compiler warns for loss of data.
Solution: Use size_t instead of int. (Christian Brabandt)
https://github.com/vim/vim/commit/fef524bbff9aa186838c35212b2f89f61d627cf8
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: On MS-Windows the package directory may be added at the end
because of forward/backward slash differences. (Matthew
Desjardins)
Solution: Ignore slash differences.
https://github.com/vim/vim/commit/4c5717ed8a81f5ae9dfe4f38b17a61fc8421054b
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: When using packages an "after" directory cannot be used.
Solution: Add the "after" directory of the package to 'runtimepath' if it
exists.
https://github.com/vim/vim/commit/a57024453115592b8847af40ddd965a33898e390
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: For plugins in packages, plugin authors need to take care of all
dependencies.
Solution: When loading "start" packages and for :packloadall, first add all
directories to 'runtimepath' before sourcing plugins.
https://github.com/vim/vim/commit/49b27326447d0827c59c6cd201d58f65c1163086
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Memory leak. (Coverity)
Solution: Free the pattern.
https://github.com/vim/vim/commit/ba8cd122ef60a7c71a7723be0d635f0c2d4556ab
|
| |
| |
| |
| |
| |
| |
| | |
Problem: ":runtime" does not use 'packpath'.
Solution: Add "what" argument.
https://github.com/vim/vim/commit/8dcf259d904cfb965d31841dc74a5cfaf5a351d9
|
| |
| |
| |
| |
| |
| |
| | |
Problem: ":colorscheme" does not use 'packpath'.
Solution: Also use in "start" and "opt" directories in 'packpath'.
https://github.com/vim/vim/commit/7f8989dd8a627af2185df381195351a913f3777f
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot generate help tags in all doc directories.
Solution: Make ":helptags ALL" work.
https://github.com/vim/vim/commit/6bef5306e4f2cacb3a93667992c2312d4b293c9d
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot load packages early.
Solution: Add the ":packloadall" command.
https://github.com/vim/vim/commit/2d8f56acb32428d0f965d42dd13b27100b46fa15
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Using "ever" for packages is confusing.
Solution: Use "start", as it's related to startup.
https://github.com/vim/vim/commit/af1a0e371e739f8dff337fd31da0ff8ffb347b43
|
| |
| |
| |
| |
| |
| |
| | |
Problem: No error message when :packadd does not find anything.
Solution: Add an error message. (Hirohito Higashi)
https://github.com/vim/vim/commit/be82c254862e475a582c0717455e1db6bf96b0d0
|
| |
| |
| |
| |
| |
| |
| | |
Problem: ":loadplugin" is not optimal, some people find it confusing.
Solution: Only use ":packadd" with an optional "!".
https://github.com/vim/vim/commit/f3654827368e6204608036353a0360e9e7c21e02
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Cannot add a pack direcory without loading a plugin.
Solution: Add the :packadd command.
https://github.com/vim/vim/commit/91715873d19a1859c08eeded7848113596e2f2bd
|
| |
| |
| |
| |
| |
| |
| | |
Problem: No testfor ":loadplugin".
Solution: Add a test. Fix how option is being set.
https://github.com/vim/vim/commit/863c1a9079fa340d663ccafb011729a29186d73e
|
| |
| |
| |
| |
| |
| |
| | |
Problem: ":loadplugin" doesn't take care of ftdetect files.
Solution: Also load ftdetect scripts when appropriate.
https://github.com/vim/vim/commit/1bdd42627d619258d0e847f217cfc1c2795f1ac5
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Compiler warning. (Cesar Romani)
Solution: Initialize variable.
https://github.com/vim/vim/commit/bdcd75275002c3b74015bb9bc0a01b13bb6107d4
|
|/
|
|
|
|
|
| |
Problem: It is not easy to use a set of plugins and their dependencies.
Solution: Add packages, ":loadopt", 'packpath'.
https://github.com/vim/vim/commit/f6fee0e2d4341c0c2f5339c1268e5877fafd07cf
|
|
|
|
|
|
|
|
| |
A single line was deleted from `ex_drop()` in 1a91000 when fixing clint
warnings causing the `:drop` command to not work correctly if the buffer
is not already open in a window.
Fixes #4981
|
| |
|
| |
|
| |
|
|\
| |
| | |
vim-patch:7.4.1119,7.4.1123,7.4.1132,7.4.1161
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: ":argadd" without argument is supposed to add the current buffer
name to the arglist.
Solution: Make it work as documented. (Coot, closes vim/vim#577)
https://github.com/vim/vim/commit/2faa29f896252073b53f387406109e331fbbe5f8
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Using ":argadd" when there are no arguments results in the second
argument to be the current one. (Yegappan Lakshmanan)
Solution: Correct the w_arg_idx value.
https://github.com/vim/vim/commit/a24f0a550fed3d9773800cf6be4efd072fff20ec
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: argidx() has a wrong value after ":%argdelete". (Yegappan
Lakshmanan)
Solution: Correct the value of w_arg_idx. Add a test.
https://github.com/vim/vim/commit/72defda84eb26be9e2ade56c7877b912f818026e
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Memory leak in debug commands.
Solution: Free memory before overwriting the pointer. (hint by Justin Keyes)
https://github.com/vim/vim/commit/dc303bce10c60a3314078ea168064552fadf01af
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: Debugger has no stack backtrace support.
Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto
Fanjul, closes vim/vim#433)
https://github.com/vim/vim/commit/f1f60f859cdbb2638b3662ccf7b1d179865fe7dc
|
| | |
|
|/
|
|
|
|
|
|
|
| |
Problem: Using "q!" when there is a modified hidden buffer does not unload
the current buffer, resulting in the need to abandon it again.
Solution: When using "q!" unload the current buffer when needed. (Yasuhiro
Matsumoto, Hirohito Higashi)
https://github.com/vim/vim/commit/027387f70c671f62e3e08e0bdd09ec05b0232735
|