Commit Graph
134 Commits
Author SHA1 Message Date
James McCoy 8c09dbf082 vim-patch:063b9d1
Updated runtime files.

https://github.com/vim/vim/commit/063b9d15abea041a5bfff3ffc4e219e26fd1d4fa
2017-02-01 18:35:12 -05:00
James McCoy a5b875fe86 vim-patch:e18dbe8
Updated runtime files.

https://github.com/vim/vim/commit/e18dbe865d190e74fb5d43ac8bc6ac22507d0223
2017-02-01 18:34:58 -05:00
James McCoy 4e47568f89 vim-patch:802a0d9
Updated runtime files.

https://github.com/vim/vim/commit/802a0d902fca423acb15f835d7b09183883d79a0
2017-02-01 18:34:57 -05:00
James McCoy cb0eead4ee vim-patch:a02a551
Updated runtime files.

https://github.com/vim/vim/commit/a02a551e18209423584fcb923e93c6be18f3aa45
2017-02-01 18:34:52 -05:00
James McCoy 8f32c04df4 vim-patch:c95a302
Updated runtime files.

https://github.com/vim/vim/commit/c95a302a4c42ec8230473cd4a5e0064d0a143aa8
2017-01-09 20:24:08 -05:00
James McCoy 282109c51b vim-patch:82af871
Updated runtime files.

https://github.com/vim/vim/commit/82af8710bf8d1caeeceafb1370a052cb7d92f076
2017-01-09 20:23:41 -05:00
James McCoy 60e306368d vim-patch:aa3b15d
Updated runtime files.

https://github.com/vim/vim/commit/aa3b15dbebf333282503d6031e2f9ba6ee4398ed
2017-01-09 20:23:41 -05:00
Justin M. Keyes 6f9be2464c Merge #5872 justinmk/test_autochdir 2017-01-04 08:24:36 +01:00
Shougo 9cb31ecdb0 syntax/ruby.vim, perl.vim: Preserve 'foldmethod'. (#5858) 2017-01-03 23:53:59 +01:00
Tommy Allen fd9cc8b0b2 automation: Generate API documentation (#5798)
runtime: Add underscore to {} helpSpecial syntax pattern

docs: Added generated api-funcs.txt
2017-01-03 13:11:19 +01:00
Shougo Matsushita 6ba3b85382 vim-patch:6f1d9a
Updated runtime files.

https://github.com/vim/vim/commit/6f1d9a096bf22d50c727dca73abbfb8e3ff55176
2017-01-02 10:45:10 +09:00
James McCoy 6205846cd9 vim-patch:0952131
Updated runtime files.

https://github.com/vim/vim/commit/0952131376a517fc12dc5ae908a97018b4ee23f0
2016-12-28 14:57:38 -05:00
Shougo 33319b1bf0 syntax/vim.vim: Remove external interface checks (#5785) 2016-12-18 17:39:58 -05:00
Anmol Sethi 7a4d069bcc man.vim: do not assume ftplugin is sourced before syntax
Fixes #5574
2016-11-19 13:41:04 -05:00
Justin M. Keyes 2e1217da46 'inccommand': buftype=nofile, restore cursor/view
- Use a standard scratch buffer instead of a new 'buftype', functions
  like curbufIsChanged() already have special handling for scratch bufs.
- Cleanup some stuff from the previous merge.
- Add support for :smagic, :snomagic. Closes #5578
2016-11-10 15:48:00 +01:00
Justin M. Keyes c04ffe866d 'inccommand': rework
- Eliminate/isolate static/global variables
- Remove special-case parameter from buflist_new()
- Remove special-case ECMD_RESERVED_BUFNR
- To determine when u_undo_and_forget() should be done, check
  b_changedtick instead of a heuristic.
- use mb_string2cells() instead of strlen() to measure the :sub patterns
- call ml_close() before buf_clear_file(). Avoids leaks caught by ASan.

Original patch by:
  Robin Elrharbi-Fleury (Robinhola)
  Audrey Rayé (Adrey06)
  Philémon Hullot (DesbyP)
  Aymeric Collange (aym7)
  Clément Guyomard (Clement0)
2016-11-08 21:20:08 +01:00
KillTheMule 13841a56b4 Incsubsitution feature
Originally implemented by

* Clement0
* DesbyP
* aym7
* Adrey06
* Robinhola

in #4811. Major reworkings and bug
fixes by

* bfredl

Most tests suggested by ZyX-l, suggestions for improvements by oni-link.
2016-10-30 10:21:18 +01:00
Justin M. Keyes fb503d73da Merge #5483 from Shougo/vim-0648142
vim-patch 0648142, 91c4937, 06d2d38, 2685212, 269f595
2016-10-24 13:17:41 +02:00
Justin M. Keyes 6fc122e600 doc 2016-10-16 18:08:53 +02:00
Shougo Matsushita c91a0dca02 vim-patch:269f595
Updated runtime files.

https://github.com/vim/vim/commit/269f595f9eef584937e7eae70fde68cdd7da5bcf
2016-10-15 12:21:13 +09:00
Shougo Matsushita f3efb724af vim-patch:2685212
Update runtime files.

https://github.com/vim/vim/commit/26852128a2b713ef49341a0c18daba928444e7eb
2016-10-15 12:15:36 +09:00
Shougo Matsushita 40f853398e vim-patch:06d2d38
Updated runtime files.

https://github.com/vim/vim/commit/06d2d38ab7564e1f784b1058a4ef4580cd6d1810
2016-10-15 12:12:20 +09:00
Shougo Matsushita 59aa2eb501 vim-patch:91c4937
Updated runtime files.

https://github.com/vim/vim/commit/91c4937be15b0b743b6bc495df602c1abbff6b87
2016-10-15 12:03:57 +09:00
Shougo Matsushita 9d087206ab vim-patch:0648142
Update runtime files.

https://github.com/vim/vim/commit/06481427005a9dae39721087df94855f7d4d1feb
2016-10-15 11:51:46 +09:00
Justin M. Keyes 1984072822 Merge #5428 'vim-patch: 0c1ff16, 939a1ab, 8067a64'. 2016-10-08 17:17:43 +02:00
Shougo Matsushita 7bc86b2bbc vim-patch:0c1ff16
updated runtime files.  Add avra syntax.

https://github.com/vim/vim/commit/0c1ff16b5467f97ce08134fdbc8198127bbe492a
2016-10-04 23:34:28 +09:00
Shougo Matsushita d4f32d0789 vim-patch:939a1ab
Updated runtime files.

https://github.com/vim/vim/commit/939a1abe935a539f2d4c90a56cb0682cbaf3bbb0
2016-10-04 23:33:28 +09:00
Anmol Sethi f8fc8f51c0 man.vim #5249
- 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
2016-09-03 12:57:41 -04:00
Tommy Allen 605e74327a highlight: Added QuickFixLine highlight group
- 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
2016-08-17 17:48:15 -04:00
Anmol Sethi 64013a5deb man.vim: small syntax improvements (#5170) 2016-08-06 16:17:31 -04:00
Anmol Sethi 42e9606c23 man.vim: rewrite
- 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.
2016-08-04 22:46:53 -04:00
James McCoy e686b613ec vim-patch:03413f4
Updated runtime files.

https://github.com/vim/vim/commit/03413f44167c4b5cd0012def9bb331e2518c83cf

Ignore changes to
* doc/Makefile, doc/help.txt: Related to Vim's version8 documentation
* doc/gui_x11.txt, doc/todo.txt, doc/vim.1, gvim.desktop, vim.desktop:
  Irrelevant to Neovim
* doc/quickref.txt, doc/options.txt: As of yet unported 'emoji'
* doc/tags, syntax/vim.vim: Generated at build time
2016-07-08 01:45:21 -04:00
James McCoy 3f689ed327 vim-patch:7db8f6f
Updated runtime files.

https://github.com/vim/vim/commit/7db8f6f4f85e5d0526d23107b2a5e2334dc23354

Ignore changes to
* doc/tags: Generated at build time
* doc/channel.txt, doc/todo.txt: Irrelevant to Neovim
* pack/dist/opt/matchit/doc/matchit.txt: matchit is enabled by default,
  so description of how to enable isn't needed.
2016-07-08 01:45:20 -04:00
James McCoy ea18b4a60f vim-patch:77cdfd1
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
2016-07-08 01:43:36 -04:00
James McCoy 4ca9e13637 vim-patch:5f148ec
Update runtime files.

https://github.com/vim/vim/commit/5f148ec0b5a6cedd9129b3abac351034b83cc4f7

Ignore changes to
* doc/channel.txt, doc/eval.txt: Channel related docs
* doc/tags: Generated at build time
* doc/todo.txt: Irrelevant to Neovim
2016-07-08 01:43:36 -04:00
James McCoy 5f3813daf4 vim-patch:328da0d
Update runtime files.

https://github.com/vim/vim/commit/328da0dcb7be34b594725eef6dc98d3ea6516d69

Ignore changes to
* doc/channel.txt, doc/eval.txt: Channel related docs
* doc/tags: Generated at build time
* doc/todo.txt: Irrelevant to Neovim
2016-07-08 01:43:36 -04:00
James McCoy 8f2505e594 vim-patch:dae8d21
Updated runtime files

https://github.com/vim/vim/commit/dae8d21dd291df6a6679a00be64e18bca0156576

Ignore changes to
* doc/eval.txt: Channel related docs
* doc/help.txt, doc/index.txt, doc/os_390.txt: Removal of obsolete features, which
  already happened in Neovim
* doc/tags: Generated at build time
* doc/todo.txt, doc/version5.txt: Irrelevant to Neovim
2016-07-08 01:38:21 -04:00
James McCoy 28300a1293 vim-patch:f391327
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
2016-07-08 01:38:21 -04:00
James McCoy 48aa28a3eb vim-patch:e0fa374
Updated runtime files.

https://github.com/vim/vim/commit/e0fa3742ead676a3074a10edadbc955e1a89153d

Ignore changes to
* doc/channel.txt: Channel related docs
* doc/netbeans.txt, doc/os_dos.txt, doc/todo.txt: Not relevant to Neovim
* doc/tags: Generated at build time
2016-06-07 12:19:50 -04:00
James McCoy e453825aa5 vim-patch:38a5563
Update runtime files.

https://github.com/vim/vim/commit/38a55639d603823efcf2d2fdf542dbffdeb60b75

Ignore changes to
* doc/channel.txt, doc/eval.txt, doc/various.txt: Channel related docs
* doc/tags: Generated at build time
* doc/todo.txt, doc/vi_diff.txt: Not relevant to neovim
2016-06-07 12:02:56 -04:00
James McCoy e2941ecfbe vim-patch:681baaf
Update runtime files.

https://github.com/vim/vim/commit/681baaf4a4c81418693dcafb81421a8614832e91

Ignore changes to
* doc/channel.txt, doc/eval.txt, doc/usr_41.txt: Channel related docs
* doc/tags: Generated at build time
* doc/todo.txt: Not relevant to Neovim
2016-06-07 06:46:37 -04:00
James McCoy 7634764e4c vim-patch:13d5aee
Update runtime files

https://github.com/vim/vim/commit/13d5aeef56e3140a8eb8f40c7062aa1c5700f76e

Ignored changes to
* doc/develop.txt, since they were all in the "Coding Style"
  section, which is completely different between Vim and Neovim.
* doc/tags, doc/todo.txt
* syntax/vim.vim, generated at build time
2016-06-06 23:08:26 -04:00
James McCoy c11f22d6c5 vim-patch:345efa0
Update runtime files

https://github.com/vim/vim/commit/345efa013dc6d1754ba06e5596a26c48c9935937

Ignored changes to:
* doc/tags
* doc/todo.txt
* doc/various.txt, since the MEM_PROFILING #ifdef doesn't exist in
  Neovim
2016-05-27 12:56:48 -04:00
James McCoy d693a22de3 vim-patch:acb4f22
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
2016-05-25 21:05:01 -04:00
James McCoy 92fe357a52 vim-patch:fa73534
Updated runtime files.

https://github.com/vim/vim/commit/fa7353428f705f7a13465a1943dddeede4083023

Missing in runtime/doc: if_tcl.txt, tags, todo.txt, version5.txt.  Some
other changes related to binary nrformats were already merged.
2016-05-14 17:16:18 -04:00
Shougo Matsushita acc5d08b37 'termguicolors' #4690
TODO: Only works at startup (i.e., in the user's init.vim/vimrc/--cmd),
      but it should probably work at any time.

---

patch 7.4.1799
Problem:    'guicolors' is a confusing option name.
Solution:   Use 'termguicolors' instead. (Hirohito Higashi)
https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162

patch 7.4.1806
Problem:    'termguicolors' option missing from the options window.
Solution:   Add the entry.
https://github.com/vim/vim/commit/8e3d1b6326c103cc92f8d07b1161ee5172acf201

patch 7.4.1808
Problem:    Using wrong feature name to check for 'termguicolors'.
Solution:   Use the right feature name. (Ken Takata)
https://github.com/vim/vim/commit/8a24b794b89916c8074892e7b25121a21f1fa9c9

patch 7.4.1809
Problem:    Using wrong short option name for 'termguicolors'.
Solution:   Use the option name.
https://github.com/vim/vim/commit/868cfc19bb079a16ca58884b551486566f35419b
2016-05-10 06:04:26 -04:00
Justin M. Keyes 22ea7be77b Merge pull request #4540 from KillTheMule/vim-patch-1236
vim-patch: 7.4.1236
2016-05-04 22:03:37 -04:00
KillTheMule 7b29dfc43a vim-patch:256972a
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.
2016-05-03 21:22:45 +02:00
KillTheMule b634cfcc19 vim-patch:2c5e8e8
Updated runtime files.

https://github.com/vim/vim/commit/2c5e8e80eacf491d4f266983f534a77776c7ae83

Missing files in runtime/doc: if_ruby.txt, tags, todo.txt. Ignored changes to
runtime/syntax/vim.vim.
2016-05-03 21:15:47 +02:00
KillTheMule 9d1c52239a vim-patch:d042dc8
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.
2016-05-03 21:13:41 +02:00