aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin
Commit message (Collapse)AuthorAge
* vim-patch:01164a6546b4Justin M. Keyes2017-11-07
| | | | | | Long overdue runtime update. https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66
* vim-patch:37c64c78fd87Justin M. Keyes2017-11-07
| | | | | | | | | | Note: Ignored changes to matchit.vim in favor of faca81411628. --- Update runtime files. https://github.com/vim/vim/commit/37c64c78fd87e086b5a945ad7032787c274e2dcb
* vim-patch:c572da5f67aaJustin M. Keyes2017-11-07
| | | | | | Update runtime files https://github.com/vim/vim/commit/c572da5f67aa5cdbbc127fc6f1d0a42e38468325
* vim-patch:f55e4c867f77Justin M. Keyes2017-11-07
| | | | | | Updated runtime files https://github.com/vim/vim/commit/f55e4c867f774d1f27973d06b07b97c0a4d6b968
* vim-patch:b4d6c3ea4a59Justin M. Keyes2017-11-07
| | | | | | Update runtime files. https://github.com/vim/vim/commit/b4d6c3ea4a59c6d8d4e0e52120596866f0edd510
* vim-patch:3c2881dc1195Justin M. Keyes2017-11-07
| | | | | | Update runtime files. Add Rust support. https://github.com/vim/vim/commit/3c2881dc1195f53ebafc387378399ddd6cb677a7
* vim-patch:036986f1507dJustin M. Keyes2017-11-06
| | | | | | Update runtime files. https://github.com/vim/vim/commit/036986f1507d223549d110af300144468bd3a1f7
* vim-patch:214641f77df6Justin M. Keyes2017-11-06
| | | | | | | | | Runtime file updates. https://github.com/vim/vim/commit/214641f77df6f318a4b3a0b09723c19859a103f4 N/A: vim-patch:26a280c47a1c
* help, man.vim: change "outline" map to gO (#7405)Justin M. Keyes2017-10-21
|
* tutor: disable old method for setting "expect" regionsFelipe Morales2017-07-15
| | | | tutor: remove movement mappings
* tutor: don't enable folds by defaultFelipe Morales2017-07-15
|
* tutor: allow metadata to exist outside of the documents.Felipe Morales2017-07-15
| | | | this makes 'expect' regions simpler to handle.
* runtime: K: prefer Vim help instead of man #3104Peter Renstròˆm2017-07-08
|
* help, man.vim: "outline" (TOC) feature #5169Tommy Allen2017-05-01
|
* vim-patch:3df0173fa6d0Justin M. Keyes2017-05-01
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/3df0173fa6d0418e89ef4e9c1d04a97c92eec27c
* vim-patch:b4ada79aa7d0Justin M. Keyes2017-04-29
| | | | | | | | Runtime file updates. https://github.com/vim/vim/commit/b4ada79aa7d0d1e5da3a659b1a203d7cae9f7f59 Closes #5055
* vim-patch:46fceaaa8d14Justin M. Keyes2017-04-29
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/46fceaaa8d1447a9588736d86eb4908214187b08
* vim-patch:dc08328821a2Justin M. Keyes2017-04-29
| | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/dc08328821a2c11e33dfb1980332e4923ec64fca NA patches: vim-patch:8.0.0028 vim-patch:8.0.0029 vim-patch:8.0.0030
* vim-patch:2ec618c9feacJustin M. Keyes2017-04-28
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/2ec618c9feac4573b154510236ad8121c77d0eca
* vim-patch:64d8e25bf6efJustin M. Keyes2017-04-28
| | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/64d8e25bf6efe5f18b032563521c3ce278c316ab Closes #6611
* vim-patch:abd468ed0fbcJustin M. Keyes2017-04-28
| | | | | | Updated runtime files https://github.com/vim/vim/commit/abd468ed0fbcba391e7833feeaa7de3ced841455
* vim-patch:89bcfda6834aJustin M. Keyes2017-04-28
| | | | | | Updated runtime files. Remove version checks for Vim older than 6.0. https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
* vim-patch:e4a3bcf28d92Justin M. Keyes2017-04-19
| | | | | | Updated runtime files. Add Scala files. https://github.com/vim/vim/commit/e4a3bcf28d92d0bde9ca227ccb40d401038185e5
* vim-patch:e18dbe8James McCoy2017-02-01
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/e18dbe865d190e74fb5d43ac8bc6ac22507d0223
* vim-patch:c95a302James McCoy2017-01-09
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/c95a302a4c42ec8230473cd4a5e0064d0a143aa8
* vim-patch:82af871James McCoy2017-01-09
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/82af8710bf8d1caeeceafb1370a052cb7d92f076
* vim-patch:6f1d9aShougo Matsushita2017-01-02
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
* Man: use non-recursive mappings for :Man (#5777)Marco Hinz2016-12-15
| | | | | | | | | | This is a regression introduced by: https://github.com/neovim/neovim/pull/5290/files#diff-8691c83194ea5f1342ecc9f17b4c51d8R46 When the <plug> mappings were changed to using :Man, they should have changed to use `nnoremap` as well. Fixes #5776.
* ftplugin/man: Finish early if &filetype is not manJames McCoy2016-12-03
| | | | | | | Many people have `runtime ftplugin/man.vim` in their init file, as was required in Vim to have the `:Man` command generally available. 7a4d069b removed the &filetype check, which caused these setups to always create a blank `man://` buffer.
* man.vim: do not assume ftplugin is sourced before syntaxAnmol Sethi2016-11-19
| | | | Fixes #5574
* man.vim: no guarantee that the first line contains anything usefulAnmol Sethi2016-11-18
| | | | Fixes #5628
* Merge #5483 from Shougo/vim-0648142Justin M. Keyes2016-10-24
|\ | | | | vim-patch 0648142, 91c4937, 06d2d38, 2685212, 269f595
| * vim-patch:2685212Shougo Matsushita2016-10-15
| | | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
* | man.vim: silence `file` call (#5509)Colin Caine2016-10-20
|/ | | | | | | | | | | | | | | | | | | 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)`
* [RFC] man.vim: remove <Plug> mappings (#5290)Anmol Sethi2016-09-04
| | | | | | - :Man with no arguments opens the manapage for the <cWORD> (man buffers) or <cword> (non-man buffers). - remove now irrelevent comment about -P flag
* man.vim #5249Anmol Sethi2016-09-03
| | | | | | | | | | | - 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
* man.vim: set window local options when reusing bufferAnmol Sethi2016-08-24
| | | | | | 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.
* man.vim: Avoid error in legacy vimrcs.Justin M. Keyes2016-08-19
| | | | | | | | 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.
* man.vim: doc fixes #5171Anmol Sethi2016-08-13
| | | | | | | | | | | | | | - 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
* man.vim: handle 'gdefault' (#5182)Anmol Sethi2016-08-07
| | | Fixes #5181
* man.vim: buffers are now listedAnmol Sethi2016-08-07
| | | | | - Since the names are set and ':vsplit printf(3)' work, there is no need to unlist them.
* man.vim: default K mappingAnmol Sethi2016-08-06
| | | | - Also some small improvements in other parts.
* man.vim: rewriteAnmol Sethi2016-08-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* vim-patch:77cdfd1James McCoy2016-07-08
| | | | | | | | | | | | 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
* vim-patch:f391327James McCoy2016-07-08
| | | | | | | | | | | 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
* vim-patch:acb4f22James McCoy2016-05-25
| | | | | | | | | | | | 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
* vim-patch:256972aKillTheMule2016-05-03
| | | | | | | | | 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.
* vim-patch:d042dc8KillTheMule2016-05-03
| | | | | | | | | | 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.
* vim-patch:d7464beKillTheMule2016-05-03
| | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/d7464be9747fcaa8e6210e1f00a3882932df76e2 Applied cleanly except for runtime/docs/todo.txt and runtime/docs/tags.
* vim-patch:60cce2fDavid Barnett2016-04-18
| | | | | | Update runtime files. https://github.com/vim/vim/commit/60cce2fb736c8ff6fdb9603f502d3c15f1f7a25d