Commit Graph
52 Commits
Author SHA1 Message Date
ii14andii14 4d7dcbe49f fix(termdebug): replace mapset with nvim_set_keymap (#15699)
Co-authored-by: ii14 <ii14@users.noreply.github.com>
2021-09-17 19:29:27 +02:00
Christian Clason 1a9d2a4040 vim-patch:89a9c159f23f #15641
Update runtime files
https://github.com/vim/vim/commit/89a9c159f23fb7b3e24e6d09068adfc24a73afcb

Omit:
nsis/lang/turkish.nsi
pixmaps/gen-inline-pixbufs.sh
doc/popup.txt
doc/terminal.txt
tutor/tutor*
src/[g]vimtutor
CONTRIBUTING.md

Skip:
doc/eval.txt (needs 8.1.2342)
doc/testing.txt (needs 8.2.0299)
2021-09-13 06:05:27 -07:00
Christian Clason 229effac9f vim-patch:partial 6aa57295cfbe (#15633)
* vim-patch:partial 6aa57295cfbe

Update runtime files
https://github.com/vim/vim/commit/6aa57295cfbe8f21c15f0671e45fd53cf990d404

omit doc/popup.txt
omit plugin/manpager.vim

partial skip runtime/doc/eval.txt (needs 8.2.{0258,0924,1544,2324,2468,2606})

skip ftplugin/julia.vim, indent/julia.vim, syntax/julia.vim (already
        ported in
        https://github.com/neovim/neovim/commit/65f32f0f195fbf7df2478f31cab345d00a6673a4)
skip syntax/scala.vim (already ported in
        https://github.com/neovim/neovim/commit/a92e83ac14a0a674bc5b4b1d06d6b6c9d0d20a10)
2021-09-12 11:02:33 +02:00
Christian Clason e31652879e vim-patch:partial 53f7fccc9413 (#15631)
* vim-patch:partial 53f7fccc9413

Update runtime files
https://github.com/vim/vim/commit/53f7fccc9413c9f770694b56f40f242d383b2d5f

omit macros/hanoi/hanoi.vim
omit spell/tet/main.aap
omit tools/shtags.1
omit tools/xcmdsrv_client.c

skip doc/pattern.txt (requires 8.2.3110; 8.2.{1665,1872})
skip doc/map.txt (requires 8.2.3228)
2021-09-11 16:47:45 +02:00
Christian Clason 11289ad733 fix(termdebug): replace term_getline with getbufline #15598
Correct incomplete runtime file port in
https://github.com/neovim/neovim/commit/79cbbd5179d816a64989243cb1ce85b802a2896f
2021-09-08 07:35:40 -07:00
Christian Clason 79cbbd5179 vim-patch:d2ea7cf10a4d #15571
Update runtime files
https://github.com/vim/vim/commit/d2ea7cf10a4d026ebd402594d656af7d5c811c24

omit `runtime/doc/if_tcl.txt`
omit `runtime/doc/textprop.txt`
omit `runtime/tutor/*`
omit `runtime/syntax/vim.vim` (cherry-picked in https://github.com/neovim/neovim/commit/2dd7828511d04a8b7f1ac4331c719a751a5db869)

manual merge of `runtime/pack/dist/opt/termdebug/plugin/termdebug.vim`
2021-09-08 07:24:12 -07:00
Jan Edmund Lazo 31ea80649d vim-patch:3ec3217f0491
Update runtime files
https://github.com/vim/vim/commit/3ec3217f0491e9ba8aa8ea02f7e454cd19a287ef

Omit fuzzy-match in pattern.txt.
2021-05-25 22:11:04 -04:00
Jan Edmund Lazo dd2bc06411 vim-patch:82be4849eed0
Update runtime files.
https://github.com/vim/vim/commit/82be4849eed0b8fbee45bc8da99b685ec89af59a
2021-05-01 23:19:57 -04:00
Jan Edmund Lazo 710f0eae2f vim-patch:1b884a005398
Update runtime files.
https://github.com/vim/vim/commit/1b884a0053982335f644eec6c71027706bf3c522

Omit doc/autocmd.txt.
Omit tools/emoji_list.vim. Patch v8.2.1540 is not ported.
2021-05-01 22:29:03 -04:00
Jan Edmund Lazo 2ebd1f6286 vim-patch:3132cddd209e
Update runtime files
https://github.com/vim/vim/commit/3132cddd209ee510bde48b6520290cb26c8f604a

Omit :sort,sort() changes.
2021-05-01 22:29:02 -04:00
Jan Edmund Lazo 330500a5bf vim-patch:cb80aa2d53e5
Update runtime files.
https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e

Omit runtime/doc/tabpage.txt.
Patch v8.2.1401 is not ported yet.

Port optwin.vim changes without gettext().
Patch v8.2.1544 is not ported yet.
2021-05-01 22:29:02 -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 df2acdc3be vim-patch:65e0d77a66b7
Update runtime files
https://github.com/vim/vim/commit/65e0d77a66b7e50beb562ad554ace46c32ef8f0f

Omit usr_46.txt because of vim9.
2021-04-28 21:57:50 -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 a299f54cd7 vim-patch:eab6dff19f38
Update runtime files
https://github.com/vim/vim/commit/eab6dff19f387469a200011bc6cf3508f5e43a4a

Omit de.po translations.
2021-04-27 20:25:21 -04:00
Jan Edmund Lazo e257aff016 vim-patch:bc93cebb692f
Update runtime files.
https://github.com/vim/vim/commit/bc93cebb692f47488d66f078d1728031e9be35e7
2021-04-27 09:21:35 -04:00
Jan Edmund Lazo 62adc04f08 vim-patch:469bdbde1e8e
Minor runtime file updates.
https://github.com/vim/vim/commit/469bdbde1e8ea8110705327ab193acca79296742
2021-04-27 09:21:32 -04:00
Jan Edmund Lazo b918d99a61 vim-patch:91359014b359
Update runtime files.
https://github.com/vim/vim/commit/91359014b359cf816bf943fe2c7d492996263def
2021-04-27 09:21:30 -04:00
Jan Edmund Lazo 233292b0ba vim-patch:96f45c0b6fc9
Update runtime files
https://github.com/vim/vim/commit/96f45c0b6fc9e9d404e6805593ed1e0e6795e470

Omit de.po changes.
Same reason as before: too much and I don't understand the language.
2021-04-27 09:21:28 -04:00
Jan Edmund Lazo 766a107839 vim-patch:589edb340454
Updte runtime files
https://github.com/vim/vim/commit/589edb340454e7f1b19358f129287a636d53d0e1

Omit state() changes in eval.txt because patch v8.1.2047 is not merged.
2021-04-27 09:21:27 -04:00
Michael Sartain 300e71de9c runtime/termdebug 82be4849eed0b8fbee45bc8da99b685ec89af59a (#13660)
port termdebug dissasembly window only (termdebug.vim)

This patch adds disassembly window to Termdebug

  :Asm should bring up disassembly window

or setting:

  g:termdebug_disasm_window

Values greater than 1 will set disasm window height.

Code works by calling gdb disassemble command, demangling output and
storing in Termdebug-asm-listing buffer + window.

Current pc address is parsed from 'addr=' cursor msg and we search for
that address in the disasm window. When the search fails, we execute a
new "disassemble $pc" command.

When in a location without a proper stack frame, "disassemble $pc" can
fail and in this case we add a +length argument and try again.

Tested with x86_64 gdb v10.1 and v8.2.1, and aarch64 gdb v7.12.
2021-03-10 08:20:22 -05:00
Minh Son Nguyen f8e5c6e99d Sync cfilter 1.1 from vim
vim/vim@fc65cabb
2020-09-21 11:29:02 +03:00
Jan Edmund Lazo 10c563577c vim-patch:8.1.0093: non-MS-Windows: Cannot interrupt gdb when program is running
Problem:    non-MS-Windows: Cannot interrupt gdb when program is running.
Solution:   Only use debugbreak() on MS-Windows.
https://github.com/vim/vim/commit/2ed890f1f810f977ec6a235efd8bf58adddcd0e7
2020-07-04 12:10:04 -04:00
Jan Edmund Lazo 44535d39e9 vim-patch:8.1.1977: terminal debugger plugin may hang
Problem:    Terminal debugger plugin may hang.
Solution:   Wait longer when still reading symbols.
https://github.com/vim/vim/commit/19c8fe1925f4f7ffa1cc46e64d8bb8b1665ac437
2020-06-18 18:01:43 -04:00
Jan Edmund Lazo 37ee95504e vim-patch:8.0.1668: terminal debugger: can't re-open source code window (#12329)
Problem:    Terminal debugger: can't re-open source code window.
Solution:   Add the :Source command.  Also create the window if needed when
            gdb stops at a source line.
https://github.com/vim/vim/commit/c4b533e1e93151658cb170c6796d327a8c0f8612
2020-05-24 20:46:41 +02:00
erw7 aec3d7915c vim-patch:8.1.0091: MS-Windows: Cannot interrupt gdb when program is running
Problem:    MS-Windows: Cannot interrupt gdb when program is running.
Solution:   Add debugbreak() and use it in the terminal debugger.
            Respect 'modified' in a prompt buffer.
https://github.com/vim/vim/commit/4551c0a9fcdbdef52836d4852686d54b5e47fdaf
2020-02-12 16:03:45 +09:00
erw7 b015c4741c vim-patch:8.1.0071: terminal debugger only works with the terminal feature
Problem:    Terminal debugger only works with the terminal feature.
Solution:   Make it also work with a prompt buffer.  Makes it possible to use
            on MS-Windows. Various other improvements. (closes vim/vim#3012)
https://github.com/vim/vim/commit/b3307b5e7e7bd3962b0d5c61a94e638564c146b0
2020-02-12 15:30:17 +09:00
Jelte Fennema c60f656839 termdebug.vim: Comment out Winbar related things #11552 2019-12-22 04:45:11 +01:00
Jelte Fennema 83b6d9f197 termdebug.vim: reset evalFromBalloonExprResult #11309
The value is used again in case of a pointer and it will cause errors then.
2019-10-28 21:05:49 -07:00
Jan Edmund Lazo efef797126 vim-patch:8.1.2103: wrong error message if "termdebugger" is not executable
Problem:    wrong error message if "termdebugger" is not executable.
Solution:   Check if "termdebugger" is executable and give a clear error
            message. (Ozaki Kiichi, closes vim/vim#5000)  Fix indents.
https://github.com/vim/vim/commit/18223a592efa4399e3951c86deeb712a13b05ca5
2019-10-01 22:27:45 -04:00
Justin M. Keyes 8f2557ad19 vim-patch:06fe74aef726
Runtime files update.
https://github.com/vim/vim/commit/06fe74aef72606ac34c9f494186e52614b8fb59a
2019-09-06 18:44:52 -07:00
Jean Mertz 638f2b6dee termdebug.vim: use style=minimal in popups #10904
- line numbers weren't hidden (which means the variable is cut off, as the number column isn't considered when calculating the width of the float).
- spurious duplicate line to disable signcolumn, and nonumber was indeed missed when porting the original implementation to Neovim.
2019-09-06 14:48:03 -07:00
Jan Edmund Lazo 0ec80d5f64 vim-patch:8.1.0193: terminal debugger buttons don't always work (#10874)
Problem:    Terminal debugger buttons don't always work. (Dominique Pelle)
Solution:   Set 'cpo' to its default value.
https://github.com/vim/vim/commit/ca4cc018addbeb3ac5d0e05f18847015f91ff814
2019-08-29 02:19:38 +02:00
Justin M. Keyes 5342342426 runtime: move matchit.vim to /pack/dist/opt/
Align matchit.vim with upstream Vim. We don't want to maintain a fork of
matchit.vim; our small changes should be sent to
https://github.com/chrisbra/matchit
2019-08-01 15:43:53 +02:00
Justin M. Keyes 62b5f25b6b vim-patch:94688b8a2a1f
Add missing matchit file.
https://github.com/vim/vim/commit/94688b8a2a1fc3d6c8e49151b9533ec1c0a6757f
2019-07-29 20:50:07 +02:00
Gavin D. Howard 7535f843cd termdebug.vim: vertical layout #10424 2019-07-05 20:45:26 +02:00
Kwon-Young Choi b9ba1295b4 runtime/termdebug.vim: handle "\n" as linebreaks #10037
Note: use "set print pretty" in gdb
Fixes #10020
2019-05-20 12:47:13 +02:00
Kwon-Young Choi 9420a2127f runtime/termdebug.vim #10015
* bugfix
* use NormalFloat for floating window background
* use floating window by default
* correctly use nvim_open_win()
* use nvim_win_set_option to set window local option
* use nvim_buf_set_option for buffer options
* renamed augroup to nvim_termdebug_close_hover to be consistent with
nvim_terminal_... augroup
2019-05-16 21:58:07 +02:00
Kwon-Young Choi 3a699a790c runtime/termdebug.vim #8364
* commit 36257d0f97b396467bef7a5937befd894fb23e31
Author: Kwon-Young Choi <kwon-young.choi@hotmail.fr>
Date:   Sat May 5 16:57:45 2018 +0200

    Port of the termdebug.vim plugin to neovim terminal feature.
    For neovim compatibility,
    The vim specific calls were replaced with neovim specific calls:
      term_start -> term_open
      term_sendkeys -> jobsend
      term_getline -> getbufline
      job_info && term_getjob -> using linux command ps to get the tty

    fix1: forgot to port EndDebug callback to neovim

    fix2: use nvim_get_chan_info to get pty of job
          remove the use of communication buffer by using jobstart instead
          of termopen

    fix3: get gdbbuf using nvim_get_chan_info

* cleaned up if has('nvim') to remove vim support.
added neovim floating window support for expression evaluation

* improvred documentation, cleaned up vim menu code, fixed bug when
floating window feature is not available
2019-05-16 11:21:05 +02:00
Jan Edmund Lazo b8128aee02 vim-patch:8.0.1107: terminal debugger jumps to non-existing file
Problem:    Terminal debugger jumps to non-existing file.
Solution:   Check that the file exists.  Add an option to make the Vim wide
            wide. Fix removing highlight groups.
https://github.com/vim/vim/commit/38baa3e63427112d389de5e5942243414d9b1336
2019-04-23 00:03:47 -04:00
Jan Edmund Lazo e6f22d0fdd vim-patch:8.0.1092: terminal debugger can't evaluate expressions
Problem:    Terminal debugger can't evaluate expressions.
Solution:   Add :Evaluate and K.  Various other improvements.
https://github.com/vim/vim/commit/45d5f26d11d9aac2383453d2c1a8582cad1c8a3d
2019-04-23 00:03:47 -04:00
Jan Edmund Lazo 9e9015ee23 vim-patch:8.0.1085: terminal debugger can't set breakpoints
Problem:    The terminal debugger can't set breakpoints.
Solution:   Add :Break and :Delete commands.  Also commands for stepping
            through code.
https://github.com/vim/vim/commit/e09ba7bae5c867f6d3abc184709dd27488318e97
2019-04-23 00:03:47 -04:00
Jan Edmund Lazo 45fadf7323 vim-patch:8.0.1077: no debugger making use of the terminal window
Problem:    No debugger making use of the terminal window.
Solution:   Add the term debugger plugin.  So far only displays the current
            line when stopped.
https://github.com/vim/vim/commit/fe386641b0c56c5de2bca8e1f4cd5e2a1f1aea7e
2019-02-03 08:51:11 -05:00
Jan Edmund Lazo 9e59fdf5f6 vim-patch:8.1.0311: filtering entries in a quickfix list is not easy
Problem:    Filtering entries in a quickfix list is not easy.
Solution:   Add the cfilter plugin. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/8c5e0093c9badced73e382915fb024a5c3ea463b
2018-11-13 21:32:00 -05:00
Justin M. Keyes 8c6168565c vim-patch:37c64c78fd87
Note: Ignored changes to matchit.vim in favor of faca814116.

---

Update runtime files.

https://github.com/vim/vim/commit/37c64c78fd87e086b5a945ad7032787c274e2dcb
2017-11-07 20:03:24 +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
Justin M. Keyes 40fb96c76a vim-patch:3e496b0ea319
Updated runtime files.

https://github.com/vim/vim/commit/3e496b0ea31996b665824f45664dee1fdd73c4d0

NA patches:
vim-patch:8.0.0015
vim-patch:8.0.0016
vim-patch:177778575148
2017-04-28 23:39:24 +02:00
Panashe Fundira 08d11bd42f vim-patch:7.4.1673 (#5141)
Problem:    The justify plugin has to be copied or sourced to be used.
Solution:   Turn it into a package.

https://github.com/vim/vim/commit/2946d0236dc9e23ec0050feacdb959b9ae5672a8

Justification for changes that do not carry over

- `Filelist` does not exist in neovim
- neovim does not have a `README.txt` in `runtime/macros`
2016-08-03 08:07:28 -04:00
Panashe M. Fundira 70ae6ac344 vim-patch:7.4.1676 #5143
Problem:    The shellmenu plugin has to be copied or sourced to be used.
Solution:   Turn it into a package.

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

Justification for changes that do not carry over

- `Filelist` does not exist in neovim
- neovim does not have a `README.txt` in `runtime/macros`
2016-08-01 03:25:03 -04:00
Panashe M. Fundira 247d1cec06 vim-patch:7.4.1675 #5142
Problem:    The swapmous plugin has to be copied or sourced to be used.
Solution:   Turn it into the swapmouse package.

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

Justification for changes that do not carry over

- `Filelist` does not exist in neovim
- neovim does not have a `README.txt` in `runtime/macros`
2016-08-01 03:23:21 -04:00