| Commit message (Collapse) | Author | Age |
|
|
|
| |
Fixes #5574
|
|
|
|
| |
Fixes #5628
|
|\
| |
| | |
vim-patch 0648142, 91c4937, 06d2d38, 2685212, 269f595
|
| |
| |
| |
| |
| |
| | |
Update runtime files.
https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a file is opened by nvim with ft=man already set, and
"has('vim_starting')", ftplugin/man.vim calls
'execute 'file man://'.ref', this causes nvim to display something like
this:
````
"<name of original file>" 977, 41017C
"man://foo(1)" [Not edited] 977 lines --0%--
Press ENTER or type command to continue
````
This is annoying, because nothing of note has actually happened.
Use cases why you might want to read a man page from a file:
`MANPAGER='bash -c "nvim -c \"set ft=man\" </dev/tty <(col -bx)"' man git`
`nvim -c 'set ft=man' <(man -P cat git)`
|
|
|
|
|
|
| |
- :Man with no arguments opens the manapage for the
<cWORD> (man buffers) or <cword> (non-man buffers).
- remove now irrelevent comment about -P flag
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
| |
Fixes #5181
|
|
|
|
|
| |
- Since the names are set and ':vsplit printf(3)' work, there is no need
to unlist them.
|
|
|
|
| |
- Also some small improvements in other parts.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Smart autocomplete. It's automatically sorted, filtered for duplicates
and even formats the candidates based on what is needed. For example,
`:Man 1 printf<TAB>` will show the pages that are in section 1m as
'page(sect)' to let you know they are in a more specific section.
- Instead of trying to unset $MANPAGER we use the -P flag to set the
pager to cat
- Always use the section arg '-s', it makes the code much simpler
(see comment in s:man-args).
- A manpage name starting with '-' is invalid. It's fine for sections
because of the use of '-s'.
- The tagstack is an actual stack now, makes it much simpler.
- By using v:count and v:count1, the plugin can explicitly check whether
the user set a count, instead of relying on a default value (0) that
is actually a real manpage section.
- Extraction of a manpage reference is much more simple. No giant long
complicated regexes. Now, the plugin lets `man` handle the actual
validation. We merely extract the section and page. Syntax regexes are
a bit more specific though to prevent highlighting everything.
- Multilingual support in the syntax file. Removed the cruft that was only
relevent to vim. Also simplified and improved many of the regexes.
- Using shellescape when sending the page and sect as arguments
- In general, the code flow is much more obvious.
- man#get_page has been split up into smaller functions with explicit
responsibilties
- ':help' behavior in opening splits and manpages
- Comments explaining anything that needs explaining and isn't
immediately obvious.
- If a manpage has already been loaded but if it were to reloaded at the
current width which is the same as the width at which it was loaded at
previously, it is not reloaded.
- Use substitute to remove the backspaced instead of `col -b`, as the
latter doesn't work with other languages.
- Open paths to manpages
- It uses cWORD instead of cword to get the manpage under the cursor, this
helps with files that do not have (,) in iskeyword. It also means the
plugin does not set iskeyword locally anymore.
- <Plug>(Man) mapping for easy remapping
- Switched to single quotes wherever possible.
- Updated docs in $VIMRUNTIME/doc/filetype.txt (still need to update
user-manual)
- Always call tolower on section name. See comment in
s:extract_page_and_sect_fpage
- Formatting/consistency cleanup
- Automatically map q to ':q<CR>' when invoked as $MANPAGER
- It also fully supports being used as $MANPAGER. Setting the name and
stuff automatically.
- Split up the setlocals into multiple lines for easier readability
- Better detection of errors by redirecting stderr to /dev/null. If an
error occured, stdout will be empty.
- Functions return [sect, page] not [page, sect]. Makes more sense with
how man takes the arguments as sect and then page.
- Pretty prints errors on a single line.
- If no section is given, automatically finds the correct section for
the buffer name. It also gets the correct page. See the comment in
s:get_page
- If $MANWIDTH is not set, do not assign directly to $MANWIDTH because
then $MANWIDTH will always stay set to the same value as we only use
winwidth(0) when the global $MANWIDTH is empty. Instead we set it
locally for the command.
- Maintainer notes on all files.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151
Ignore changes to:
* doc/channel.txt, doc/eval.txt: Channel related docs
* doc/options.txt: GUI related docs
* doc/tags: Generated at build time
* doc/todo.txt: Irrelevant for Neovim
|
|
|
|
|
|
|
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/f391327adbbffb11180cf6038a92af1ed144e907
Ignore changes to
* doc/todo.txt: Irrelevant for Neovim
* doc/channel.txt: Channel docs
* doc/tags, syntax/vim.vim: Generated at build time
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/acb4f221c715a333f4c49a2235a8006c6ac6e4d5
Ignored changes to:
* doc/eval.txt since alloc_fail isn't relevant for neovim
* doc/index.txt for unmerge :smile command
* doc/tags, syntax/vim.vim since they're generated at build time
* doc/todo.txt
|
|
|
|
|
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b
Missing files in runtime/doc: todo.txt, tags. Patch to runtime/doc/syntax.txt
was applied manually in part, for no discernible reason.
|
|
|
|
|
|
|
|
|
|
| |
Update runtime files.
https://github.com/vim/vim/commit/d042dc825c9b97dacd84d4728f88300da4d5b6b9
Missing in runtime/doc: hangulin.txt, tags, todo.txt. The changes to options.txt
do not apply for nvim. man.vim is very different in nvim, some changes applied
manually, others discarded.
|
|
|
|
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/d7464be9747fcaa8e6210e1f00a3882932df76e2
Applied cleanly except for runtime/docs/todo.txt and runtime/docs/tags.
|
|
|
|
|
|
| |
Update runtime files.
https://github.com/vim/vim/commit/60cce2fb736c8ff6fdb9603f502d3c15f1f7a25d
|
|
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/f2571c61d5aa05682ae4d358e625348b61adc861
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Original commit: https://github.com/vim/vim/commit/5a5f459
commit 5a5f45917dbf542cb00617fa5ef70a14898495dd
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 13 12:43:06 2015 +0200
Updated runtime files.
(1) Merged manually vimrc_example.vim
(2) Left out README.txt, doc/tags, doc/todo.txt, tutor/tutor.de,
tutor.de.utf-8, ga.po
|
|
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/2b8388bd0175835eb751e6c58cd0b0b69465f0d9
|
|
|
|
|
|
| |
Updated runtime files.
https://github.com/vim/vim/commit/83caecf31437c1e1af342186514f2a073ee1427e
|
|\
| |
| | |
tutor: Update vim-tutor to 0.2.1
|
| |
| |
| |
| | |
Also, some tweaks based on input by @fdinoff on gitter.
|
|\ \
| |/
|/| |
Add plugin for editing ShaDa files
|
| | |
|
|/
|
|
|
|
| |
Update runtime files.
References #3625.
|
|
|
|
|
|
| |
Update runtime files.
https://github.com/vim/vim/commit/8feef4ff6253afb9dcc61c40082ed4fbb96b685c
|
| |
|
|
|
|
|
|
|
| |
It is common practice for Vim users to
:runtime! ftplugin/man.vim
in order to get the :Man command. That will cause weird settings for
non-man files.
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Update runtime files.
https://code.google.com/p/vim/source/detail?r=c5d53d4c3e2e24e23fc4272bf91be3c031ccb598
|
|
|
|
|
|
| |
Update runtime files.
https://code.google.com/p/vim/source/detail?r=37c24033b2601a4a0953970a0ec85d5537101915
|
|
|
|
|
|
| |
Update runtime files.
https://code.google.com/p/vim/source/detail?r=6921742f396a4abd21d7f69843b804ca0b96059c
|
|
|
|
|
|
| |
Updated runtime files.
https://code.google.com/p/vim/source/detail?r=1e8ebf870720e7b671f98f22d653009826304c4f
|
| |
|
|
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7
Excluding:
Amiga icons (*.info, icons/)
doc/hangulin.txt
tutor/
spell/
lang/ (only used for menu translations)
macros/maze/, macros/hanoi/, macros/life/, macros/urm/
These were used to test vi compatibility.
termcap
"Demonstration of a termcap file (for the Amiga and Archimedes)"
Helped-by: Rich Wareham <rjw57@cam.ac.uk>
Helped-by: John <john.schmidt.h@gmail.com>
Helped-by: Yann <yann@yann-salaun.com>
Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com>
Helped-by: drasill <github@tof2k.com>
Helped-by: Tae Sandoval Murgan <taecilla@gmail.com>
Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>
|