Commit Graph
76 Commits
Author SHA1 Message Date
Christian Clason be557dddf4 vim-patch:90df4b9d4234
Update runtime files
https://github.com/vim/vim/commit/90df4b9d423485f7db16e3a65cab4f14edc815ae

omit .github/CODEOWNERS
omit doc/vim9.txt
omit po/it.po

skip ftplugin/jsonc.vim
skip indent/jsonc.vim
skip syntax/jsonc.vim
(already ported in https://github.com/neovim/neovim/commit/dce50312e1e9af81fb0e3b61d6e70bdf286fbffb)

partial skip doc/eval.txt (needs 8.1.{2304,2321})
2021-09-10 09:14:56 +02:00
Christian Clason 8f0c843c13 vim-patch:4d8f476176ea (#15612)
* vim-patch:4d8f476176ea

Update runtime files
https://github.com/vim/vim/commit/4d8f476176eadfc745bcb8e143460029048f858d

skip nsis/README.txt
skip doc/vim9.txt
skip src/nvim/po/it.po
2021-09-10 08:48:27 +02:00
Christian Clason 2dd7828511 runtime/vim: d2ea7cf10a4d026ebd402594d656af7d5c811c24 (#14950)
Port vim syntax file only.
2021-07-01 17:31:30 -04:00
Jan Edmund Lazo b1cd67b62e vim-patch:4072ba571bab
Update runtime files.
https://github.com/vim/vim/commit/4072ba571babd733d1800c082416fe8fe3c28ed7

Omit vim9 references.
Omit assert_fails(). Patch v8.2.1183 is not ported yet.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo e1171cf1d2 vim-patch:d58a3bf7dac8
Update runtime files.
https://github.com/vim/vim/commit/d58a3bf7dac8d53faf42e13cc1152b110f12c404

Omit syntax/man.vim.
2021-05-01 02:01:25 -04:00
Jan Edmund Lazo 0a0034718c vim-patch:2547aa930b59
Update runtime files.
https://github.com/vim/vim/commit/2547aa930b59f5e2bcb70e81d5a57ed461e59b4f

Omit modifyOtherKeys, vim9, vim.man.
2021-04-29 09:27:19 -04:00
Jan Edmund Lazo 565783be4b vim-patch:acc224064033
Update runtime files
https://github.com/vim/vim/commit/acc224064033e5cea21ef7f1eefb356ca06ff11d

Omit 'quickfixtextfunc'.
Omit ftplugin/man.vim.
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo 65821cc1b9 vim-patch:388a5d4f20b4
Update runtime files
https://github.com/vim/vim/commit/388a5d4f20b4b64341d1604aa238cab85827b892

Omit vim9.
2021-04-28 21:29:57 -04:00
Jan Edmund Lazo c2635665c5 vim-patch:2c7f8c574f1f
Update runtime files
https://github.com/vim/vim/commit/2c7f8c574f1f8723d59adca3fec8fb89c41cf8c9

Omit the following line for man.vim:
hi def link manFooter PreProc
2021-04-28 21:29:56 -04:00
Jan Edmund Lazo e7f6c52014 vim-patch:b17893aa940d
Update runtime files
https://github.com/vim/vim/commit/b17893aa940dc7d45421f875f5d90855880aad27

Omit feedkeys() changes.
2021-04-27 21:25:35 -04:00
Jan Edmund Lazo cf0fb01ea5 vim-patch:574ee7bc1246
Update runtime files
https://github.com/vim/vim/commit/574ee7bc1246070dba598f9561a2776aa1a10d07

Omit ru.po because I don't know the language and there's too much to port.
2021-04-27 09:21:29 -04:00
Jan Edmund Lazo 6cdb755507 vim-patch:5ef1c6a4838a
Update runtime files
https://github.com/vim/vim/commit/5ef1c6a4838a9629b793f3ae676f72a764171b00

"scrollfocus" is for Windows GUI only so it is N/A.
2021-04-27 09:21:29 -04:00
Jan Edmund Lazo d4b65fa6fb vim-patch:1ff14ba24c4d
Update runtime files.
https://github.com/vim/vim/commit/1ff14ba24c4d85c008d7abe5e140dbb497ffea8d
2021-04-27 09:21:28 -04:00
Marco Hinz 2b663c061b viml: embed Lua syntax highlighting [skip ci] (#14213) 2021-03-28 00:43:06 +01:00
Kevin Svetlitski 46afc1def8 Add <Enter> to existing vim syntax highlighting for angle-bracket notation (#13553) 2020-12-19 10:22:50 -05:00
Matthieu Coudron fbae9f8541 runtime/syntax/vim.vim: highlight "blend" keyword #11520 2019-12-05 22:14:54 -08:00
Justin M. Keyes 0d852bdc69 vim-patch:6c1e1570b134
Update runtime files
https://github.com/vim/vim/commit/6c1e1570b1346de0d438fbb991bddab38c228290
2019-08-02 16:20:22 +02:00
Justin M. Keyes 31a5ec23eb vim-patch:723dd946f948
Update runtime files.
https://github.com/vim/vim/commit/723dd946f94856be94a943876945fb1bd8169059
2019-08-01 22:52:42 +02:00
Justin M. Keyes ab2cfd24e7 vim-patch:b730f0c7ba36
Update runtime files
https://github.com/vim/vim/commit/b730f0c7ba36492d795f081b19bbcb85cdf0f50f
2019-07-29 20:50:07 +02:00
Justin M. Keyes a10fdc70aa syntax/vim.vim: highlight <cmd> key 2018-12-30 21:09:39 +01:00
Justin M. Keyes 4f67f5ba6e vim-patch:d2855f5454c5
Update runtime files.
https://github.com/vim/vim/commit/d2855f5454c5c6c5f786b228c5b67757edfefcb1
2018-10-29 09:57:24 +01:00
Justin M. Keyes 875a1bcf0a vim-patch:15142e27aaaf
Update runtime files and translations
https://github.com/vim/vim/commit/15142e27aaafa15b72d1042c25fbb5e4f12b6736
2018-10-29 09:17:35 +01:00
Justin M. Keyes a1e822fbc6 vim-patch:51ad4eaa22e1
Update runtime files
https://github.com/vim/vim/commit/51ad4eaa22e15cf1fe6c45d82c7e1371e00401a4

---

NA:
vim-patch:6176697203b0
2018-10-29 08:26:47 +01:00
Justin M. Keyes dae1213e57 vim-patch:f0b03c4e98f8
Update runtime files
https://github.com/vim/vim/commit/f0b03c4e98f8a7184d8b4a5d702cbcd602426923

Note: haskell changes were included in 942f3587c3
2018-10-28 13:57:08 +01:00
Justin M. Keyes 2ca59638ba vim-patch:b0d45e7f5354
Update runtime files.

https://github.com/vim/vim/commit/b0d45e7f5354375edd02afafde3bd37dac1515ff
2017-11-07 23:07:03 +01:00
Justin M. Keyes 8c3377ee76 vim-patch:c572da5f67aa
Update runtime files

https://github.com/vim/vim/commit/c572da5f67aa5cdbbc127fc6f1d0a42e38468325
2017-11-07 03:23:37 +01:00
E Kawashima 95458609ab runtime/syntax/vim.vim: highlight nvim groups #7338
regressed by 86b596dc7a
2017-09-30 15:03:06 +02:00
Justin M. Keyes 1f1728e9bf runtime/syntax/vim.vim: highlight vimEmbedError as Normal 2017-09-17 20:07:31 +02:00
Justin M. Keyes 20a79706e2 runtime/syntax/vim.vim: disable g:vimsyn_embed by default
This feature is extremely slow.
Also merge some minor upstream differences (missed by a previous merge).
2017-09-17 20:07:31 +02:00
Ivan 17298a7912 runtime: update vimCommand syntax pattern (#6976)
Update a flawed match pattern for the vimCommand syntax group. To see
the effect of this fix, open a vimscript buffer,

  nvim -u NONE foo.vim

configure a couple highlight groups,

  :hi! vimIsCommand ctermfg=Green
  :hi! vimCommand ctermfg=Red
  :syntax enable

and add the following lines to the buffer:

  let foo=xFoo
  let bar=zBar

You'll notice the "z" in zBar is Red, while xFoo and the rest of Bar are green. This will
be the case as long as the word following `=` starts with the letter "z". This has already
been fixed upstream by adding a "\>" word boundary to the match pattern:

  https://github.com/vim/vim/issues/124
  https://github.com/vim/vim/commit/e2719096250a19ecdd9a35d13702879f163d2a50#diff-86da060e2153c8ce5dc317a7b4b5a29dR27

This particular match pattern was also mentioned in issue #5491, but in reference to a bug
that was related to the generated part of syntax/vim.vim, whereas this bug lives in the
non-generated part of the file.
2017-07-08 12:44:36 +02:00
Justin M. Keyes ac107f7fdd vim-patch:690afe1fef87
Update runtime files.

https://github.com/vim/vim/commit/690afe1fef87e7eef6fb7343a926617d5f7315fa
2017-05-01 13:23:12 +02:00
Justin M. Keyes 1e7806bd41 vim-patch:6d5ad4c4118c
Updated runtime files.

https://github.com/vim/vim/commit/6d5ad4c4118cab5fd96db157621c3aa9af368edb
2017-04-29 01:49:36 +02:00
Justin M. Keyes 86b596dc7a vim-patch:f37506f60f87
Updated runtime files.  Remove HiLink commands.

https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
2017-04-28 21:25:15 +02:00
Justin M. Keyes d194380de9 vim-patch:e4a3bcf28d92
Updated runtime files.  Add Scala files.

https://github.com/vim/vim/commit/e4a3bcf28d92d0bde9ca227ccb40d401038185e5
2017-04-19 21:26:17 +02:00
Justin M. Keyes cc421270ee vim-patch:bc8801c9317eb
Updated runtime files.

https://github.com/vim/vim/commit/bc8801c9317eb721a2ee91322669f2dd5d136380
2017-03-21 12:19:17 +01:00
Shougo 9cb31ecdb0 syntax/ruby.vim, perl.vim: Preserve 'foldmethod'. (#5858) 2017-01-03 23:53:59 +01:00
Shougo 33319b1bf0 syntax/vim.vim: Remove external interface checks (#5785) 2016-12-18 17:39:58 -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 59aa2eb501 vim-patch:91c4937
Updated runtime files.

https://github.com/vim/vim/commit/91c4937be15b0b743b6bc495df602c1abbff6b87
2016-10-15 12:03:57 +09:00
Justin M. Keyes 1984072822 Merge #5428 'vim-patch: 0c1ff16, 939a1ab, 8067a64'. 2016-10-08 17:17:43 +02: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
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
Michael Reed c40dff6453 Remove :open command
From the documentation itself:

  :[range]o[pen]                 Works like |:visual|: end Ex mode.
                                 {Vi: start editing in open mode}
  ...

  Vim does not support open mode, since it's not really useful.  For
  those situations where ":open" would start open mode Vim will leave Ex
  mode, which allows executing the same commands, but updates the whole
  screen instead of only one line.

Part of the reason behind this is to make removing vi_diff.txt easier,
although it's also because :open is not too useful.

Helped-by: @fdinoff
Helped-by: @dsummersl
Helped-by: @mhinz
Helped-by: @justinmk
2015-11-07 14:33:10 -05:00
ZyX f2b4894c93 syntax: Restore vim-specific highlight groups 2015-07-26 21:21:58 +03:00
ZyX e1cc0fe996 cmake: Generate tags and some vim syntax elements 2015-07-26 21:09:52 +03:00
Michael Reed 4455fc3f05 Remove ':Print' command #3049
There's no way this isn't some long-running joke:

  "Just as ':print'.  Was apparently added to Vi for
  people that keep the shift key pressed too long..."
  Note: A user command can overrule this command.

Regarding ':X': the command has been removed for a while, but the
documentation must have been missed, so remove it here.

Reviewed-by: Justin M. Keyes <justinkz@gmail.com>
Helped-by: @jusga
2015-07-20 20:43:09 -04:00