| Commit message (Collapse) | Author | Age |
... | |
| |
|
|\
| |
| | |
man.vim: parse page names containing dash or dot
|
| | |
|
| |
| |
| |
| |
| | |
- Explicitly specify case sensitivity when comparing strings
- Clean up unnecessarily complex `if` statements
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Define a collection of legal characters when parsing page and section
in `s:parse_page_and_section()` instead of relying on 'iskeyword',
which is unreliable.
- Allow non-numeric section names (e.g., `3c`).
- Simplify argument handling in `man#get_page()` to accommodate
non-numeric section names.
Fixes #4165.
|
|\ \
| | |
| | | |
Ruby remote plugin support
|
| | | |
|
| | | |
|
|/ / |
|
|/ |
|
|\
| |
| | |
Make it possible to eval() all floating-point values dumped by string()
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
If $MANWIDTH is set do not override it otherwise use winwidth.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
More updated runtime files.
https://github.com/vim/vim/commit/83d1b19015219c7799af0a0d539ae86a41057240
Left out:
- doc/tags
- doc/todo.txt
- runtime/tutor/de.*
- runtime/syntax/vim.vim that seems to have already been
applied/autogenerated without the has(...) tests
|
|
|
|
| |
Fixes issue #4071
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
`RedirectStream` is used to redirect `stdout` and `stderr`, but are
missing certain I/O methods available on other file-like objects.
This causes external plugins (like `colorama`) to crash.
Inheriting from `io.IOBase` adds an abstract implementation of these
methods, which will at least keep the python code running.
Fixes #4045
|
|
|
|
|
|
| |
Update a few runtime files.
https://github.com/vim/vim/commit/f3c2afb77f8b1f2591337fcaa90ba0fb45365cbc
|
| |
|
| |
|
|
|
| |
Closes #3754
|
|\
| |
| | |
tutor: Update vim-tutor to 0.2.1
|
| |
| |
| |
| | |
Also, some tweaks based on input by @fdinoff on gitter.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note: it looks like viminfo files do not store search direction intentionally.
After reading viminfo file search direction was considered to be “forward”.
Note 2: all files created on earlier Neovim version will automatically receive
“forward” direction.
Fixes #3580
|
|\ \
| |/
|/| |
Add plugin for editing ShaDa files
|
| |
| |
| |
| | |
Contains most of the logic
|
| | |
|
|/
|
|
| |
Do not use `finish` inside of `provider#python{,3}#Call`, but `return`.
|
|
|
|
| |
Closes #3535
|
|
|
|
|
|
| |
Update runtime files.
https://github.com/vim/vim/commit/8feef4ff6253afb9dcc61c40082ed4fbb96b685c
|
| |
|
| |
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|\
| |
| | |
Python: fixes for sys.path_hooks handler
|
| |
| |
| |
| | |
This method was not used, but `VimModuleLoader.load_module` is.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The path hook used to load the module already in the `find_module` hook.
This caused different behaviour between Python 2.7 and 3.3, where the
former would call the `VimModuleLoader`, while Python 3.3 appears to
short-circuited this (because the module was loaded already).
This patch will now only find the module, but not load it in the
`find_module` hook.
|
| |
| |
| |
| | |
This is required by PEP302 for `reload()`ing modules.
|
| |
| |
| |
| | |
Fixes https://github.com/neovim/neovim/issues/2909
|
| | |
|
|\ \
| | |
| | | |
runtime: Include vim-tutor-mode
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
vim-tutor-mode provides a mechanism to write and read interactive
tutorials in vim. It's aim is to replace the venerable vimtutor with a
more modern system.
The plugin's development is maintained at https://github.com/fmoralesc
/vim-tutor-mode
Closes #2351.
|
| | | |
|