| Commit message (Collapse) | Author | Age |
... | |
|/ / |
|
| | |
|
|\ \
| | |
| | | |
Remove VLA from path_get_absolute_path
|
| | | |
|
|/ /
| |
| |
| |
| | |
Remove the use of Variable Length Arrays in path_get_absolute_path(), and use
xmalloc/xfree instead.
|
| |
| |
| |
| |
| | |
Helped-by: Gustaf Lindstedt <gustaflindstedt@gmail.com>
Helped-by: Wander Nauta <info@wandernauta.nl>
|
|\ \
| | |
| | | |
use :Man instead of `man` for K
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Also fix some other clint errors.
|
| | |
| | |
| | |
| | |
| | | |
Set window-local options only on a newly-created "man" tab or if we're
already in one.
|
| | |
| | |
| | |
| | |
| | | |
- Eliminate man#pre_get_page().
- Temporarily remove () from 'iskeyword' to avoid spurious \k match.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- do not create leader maps
- :norm! instead of :norm
- :keepjumps during layout
- use blackhole reg to avoid polluting unnamed reg
- format buffer name as "man://foo(2)"
- simulate behavior of `man`
- buffer-local mapping of q to quit
- open in new tab instead of new window
- set 'nolist'
- set tabstop=8
|
| | |
| | |
| | |
| | |
| | |
| | | |
- new feature: if the first character of 'keywordprg' is ":", the
command is invoked as a Vim ex-command prefixed with [count].
- change default 'keywordprg' to :Man
|
|/ / |
|
|\ \
| |/
|/| |
third-party: update jemalloc to 4.0.2
|
|/
|
|
|
|
|
|
|
|
|
| |
jemalloc 4.0 adds support for OpenBSD, DragonFlyBSD and other platforms.
Release notes: https://github.com/jemalloc/jemalloc/releases/tag/4.0.0
4.0.1 and 4.0.2 are bugfix releases
Release notes: https://github.com/jemalloc/jemalloc/releases/tag/4.0.1
https://github.com/jemalloc/jemalloc/releases/tag/4.0.2
|
|\
| |
| | |
Fix crash in msgpackparse function
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
- Tests that use both functions.
- Tests that use msgpackparse().
- Tests that use msgpackdump().
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Since vimscript can close buffers at any time, it is possible that a
refresh_timer_cb will be called with an invalid buffer, but there's no way to
detect this if only a reference is stored because the memory can be reused by
the allocator. Use buf_T->handle which is guaranteed to be unique.
|
| |
| |
| |
| | |
Close #3332
|
| |
| |
| |
| | |
Close #3323
|
| |
| |
| |
| | |
Ref: https://github.com/junegunn/fzf.vim/issues/8#issuecomment-139209765
|
| |
| |
| |
| |
| |
| | |
@4b98ea1e80bf changed how refcounts are handled internally to fit into job
control semantics. Change the refcount check in `ex_delfunction` to consider
this. Close #3000
|
| |
| |
| |
| | |
Close #3150
|
| |
| |
| |
| | |
Close #2833
|
|/ |
|
|\
| |
| | |
docs cleanup: misc
|
| |
| |
| |
| |
| | |
Considering Nvim's supported platforms, having a different default for
(!Unix and !Windows) doesn't seem very useful.
|
| |
| |
| |
| |
| | |
These options have been removed from the code, so also mark them as
removed in the docs
|
| | |
|
|\ \
| |/
|/| |
provider/pythonx: Improve detection code and error messages.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"python -c" returns 1 in case of an error. Use a return code of 2 if
the Neovim module is not found to distinguish these cases.
Verify the interpreter version before checking for an installed Neovim
module. Show a new error message if the Python interpreter version
is below the minimum required version.
Always use "pkgutil" to determine if the Neovim module is installed.
In contrast to "importlib", which was used for Python 3,
"pkgutil.find_loader" is available for all Python versions [1,2].
"pkgutil.find_loader" internally uses "importlib" for Python >= 3.3 [2].
Also, the previously used "importlib.find_loader" is only available
since Python 3.3 (so checking the major Python version was not enough)
and deprecated since Python 3.4 [3].
Finally, conditioning on the major version in Vimscript was incorrect,
as checking the Neovim module for a certain Python major version does
not mean that the tested interpreters are actually of that version.
For example, we test the "python" executable, which is Python 2 on
Ubuntu and Python 3 on Arch Linux.
[1] https://docs.python.org/2/library/pkgutil.html#pkgutil.find_loader
[2] https://docs.python.org/3/library/pkgutil.html#pkgutil.find_loader
[3] https://docs.python.org/3/library/importlib.html#importlib.find_loader
|
|\
| |
| | |
Don't show return prompt between lines of the same vim_err_write message #3106
|
| | |
|
|/ |
|
|
|
|
| |
This avoids a heap-use-after-free ASAN error. Close #3334
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to the vim helpfile:
> fnamemodify({fname}, {mods})
> ...
> Note: Environment variables don't work in {fname}, use
> expand() first then.
So this causes issues if your $MYVIMRC contains environment variables
(e.g. $XDG_CONFIG_HOME)
|
|\
| |
| | |
python: remove current working directory from path
|
|/
|
|
|
|
|
|
|
|
| |
Before, running Nvim in a directory containing a Python module `neovim`,
or one that is imported by it or a plugin, will load that module and not
the system one. So Nvim might be tricked into running arbitrary scripts
from the current working directory.
Fixes #1665
Fixes #2530
|
|
|
|
|
| |
Vim defines this for Windows, so there's no Neovim-supported system for
which this would not be defined.
|
|
|
|
|
| |
It makes more sense to let the user application terminal emulator
decide how to render bold text.
|
|\
| |
| | |
path.c: Fix memory leak in expand_wildcards().
|
| |
| |
| |
| |
| |
| | |
A file that matches with one of the patterns in 'wildignore' is ignored
when using expand_wildcards(). After removing ignored files, the array
of (file name) matches can be empty. But an empty array is never freed.
|
| | |
|
| | |
|