| Commit message (Collapse) | Author | Age |
... | |
| |
| |
| |
| |
| |
| | |
Problem: It is not easy to find out what windows display a buffer.
Solution: Add win_findbuf().
https://github.com/vim/vim/commit/9cdf86b86f5fdb5a45b682f336846f9d9a9c6f1f
|
| | |
|
| | |
|
| |
| |
| |
| | |
Closes #5301
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also:
- improve precision of "No healthcheck found"
- fix SUGGESTIONS syntax group definition
- fix indentation of SUGGESTIONS
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Compare current version number to that of the latest released neovim
rubygem, rather than a hard-coded version.
Note: The `gem list` command introduced here adds about 4 seconds to the
execution time of the CheckHealth command.
|
|/ /
| |
| |
| |
| |
| |
| | |
Problem: It is not easy to see unrecognized error lines below the current
error position.
Solution: Add ":clist +count".
https://github.com/vim/vim/commit/e8fea0728a2fa1fe78ef0ac90dee1a84bd7ef9fb
|
| |
| |
| |
| |
| |
| | |
- :Man with no arguments opens the manapage for the
<cWORD> (man buffers) or <cword> (non-man buffers).
- remove now irrelevent comment about -P flag
|
| |
| |
| |
| | |
Use system() instead of :read to avoid a hard redraw.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- fix synopsis highlighting in other locales. Cannot always rely on the first
line for the section in some locales; instead, use the file path and
explicitly set b:man_sect to the actual section.
- eliminate separate s:man_args function
- simplify logic: do not reuse buffer content
- introduce b:man_default_sects Fixes #5233
- introduce <Plug>(man_vsplit), <Plug>(man_tab)
- simplify regexps
|
| | |
|
| |
| |
| |
| | |
make api functions highlighted as builtins in vim.vim
|
| | |
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| | |
The commit that added support for modifiers regressed #5168
causing #5172. This commit fixes it again.
|
| |
| |
| |
| | |
Addresses problem one in #5240
|
| |
| |
| |
| |
| |
| | |
This is necessary incase the buffer was previously opened in a different
tab, in which the window options there do not carry over. It is not
explicitly documented in ':help local-options' but that is how it works.
|
| |
| |
| |
| | |
Closes #5235
|
|/
|
|
|
|
|
| |
Problem: User commands don't support modifiers.
Solution: Add the <mods> item. (Yegappan Lakshmanan, closes vim/vim#829)
https://github.com/vim/vim/commit/63a60ded3fd584847a05dccf058026e682abad90
|
|
|
|
| |
git-log-pretty-since.sh: fix bug
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Links to Search by default
screen.c: Combine CursorLine with QuickFixLine
- HLF_QFL takes priority over HLF_CUL
docs: Updated to mention QuickFixLine
runtime: Added QuickFixLine to nvimHLGroup
tests: QuickFixLine highlight
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
:silent does not silence this message, even :redir does not consume it.
But execute() _does_ consume it, which interferes with the current
implementation of health.vim. It's prudent to avoid it in any case, even
if the implementation of health.vim changes in the future.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We can add this later if it is proven necessary, but it should not be
because:
1. User can run a subset of checkers via `:CheckHealth plugin1, ...,`
2. Healthcheck is a very rare operation. Optimizing it is not worth the
code/API complexity.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To healthcheck the "foo" plugin:
:CheckHealth foo
To healthcheck the "foo" and "bar" plugins:
:CheckHealth foo bar
To run all auto-discovered healthchecks:
:CheckHealth
|
| |
| |
| |
| |
| |
| |
| | |
- Overlay markdown syntax/filetype, don't invent new filetypes/syntaxes.
- migrate s:check_ruby()
- s:indent_after_line1
- Less-verbose output
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Use execute() instead of redir
- Fixed logic on suboptimal pyenv/virtualenv checks.
- Move system calls from strings to lists. Fixes #5218
- Add highlighting
- Automatically discover health checkers
- Add tests
Helped-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Helped-by: Tommy Allen <tommy@esdf.io>
Closes #4932
|
| |
| |
| |
| | |
This makes stderr and exit callbacks work for rpc jobs
|
| |
| |
| |
| |
| |
| |
| |
| | |
The old man.vim ftplugin advises users to add this to vimrc:
runtime ftplugin/man.vim
Make this a no-op to avoid sending users on a debugging quest.
|
| | |
|
| |
| |
| |
| | |
If the base directory does not exist, let mkdir(...,'p') create it.
|
| |
| |
| |
| |
| | |
Without the for-loop it is easier to follow, more explicit, and fewer
lines.
|
|/
|
|
| |
Uses $NVIM_RPLUGIN_MANIFEST if available
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Weird tab+space combination used for alignment. All spaces now
- Added back <C-T> mapping (somehow we missed that completely)
- Fixed mistake that <Plug>(Man) opens in a new tab. Also added note at
top on how the window is chosen/opened.
- Clarified q local mapping
- Removed section that shows an example autocmd to add desired folding
style.
- Removed random line in `usr_12.txt` about `<Leader>` and backslash.
- :Man supports completion, not auto-completion.
Closes #5171
|
|
|
|
|
|
|
|
|
|
|
|
| |
In 3b12bb225adda2aac40a55f7009cae05311b2a43, ":oldfiles" was taught to
behave like Vim's ":browse oldfiles" if ":oldfiles!" was used. However,
this conflates the use of ! for abandoning a modified buffer with
choosing one file out of a list of oldfiles.
Now that ":browse" is supported again, ":browse oldfiles" will allow the
user to select an old file, while still complaining if that would cause
a modified buffer to be abandoned. ":browse oldfiles!" will just
abandon the buffer, as expected.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
With -count, if the first argument is a number, it is made available
with <count>. Problem is, there is always a default count it is impossible
to tell whether the user set it.
Since v:count and v:count1 still work with 'keywordprg', -count is
unnecessary. But 'keywordprg' still calls ':Man' with a count prefixed.
So it must still accept a count in the line number position, but not consume
the first argument. This is done with -range.
Fixes #5202.
|
|
|
|
|
| |
Regression from #5168. Also changed the Man command's nargs to '+' so
that man#open_page does not need to handle 0 arguments, because that
will never occur.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
- Use the default buffer text provided by before_each (avoids extra steps and
makes the tests more consistent with each other)
- Indent
- Adjust help doc
|
| | |
|
| |
| |
| | |
Fixes #5181
|
| |
| |
| |
| |
| | |
- Since the names are set and ':vsplit printf(3)' work, there is no need
to unlist them.
|
| |
| |
| |
| |
| |
| | |
- man#open_page_command and man#open_page_mapping are now a single
function
- New autocmd to fix #5172
|
|/
|
|
| |
- Also some small improvements in other parts.
|
| |
|