summaryrefslogtreecommitdiffstats
path: root/runtime/pack
AgeCommit message (Collapse)Author
2024-06-19patch 9.1.0501: too complicated mapping restore in termdebugv9.1.0501Ubaldo Tiberi
Problem: too complicated mapping restore in termdebug Solution: simplify unmapping logic, add a few more tests (Ubaldo Tiberi) closes: #15046 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@google.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-19runtime(nohlsearch): simplify mappingMaxim Kim
Use <cmd> instead of <expr> with execute(...)[-1] closes: #15047 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-18patch 9.1.0497: termdebug can be further improvedv9.1.0497Ubaldo Tiberi
Problem: termdebug can be further improved Solution: refactor save/restore, update docs, add a new save/restore test (Ubaldo Tiberi) closes: #15032 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@google.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-18runtime(nohlsearch): include the the simple nohlsearch packageMaxim Kim
fixes: #15039 closes: #15042 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-16runtime(termdebug): properly check mapping variables using null_dictshane.xb.qian
closes: #15013 Signed-off-by: shane.xb.qian <shane.qian@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-16runtime(termdebug): using wrong type for PlaceSign()shane.xb.qian
Make sure to convert them to numbers. fixes: #14994 closes: #15015 Signed-off-by: shane.xb.qian <shane.qian@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-14runtime(termdebug): make TermDebugSendCommand() a global function againDamien Riegel
TermDebugSendCommand lost it's global visibility when converted to vim9script. Restore it. Fixes: 23f29ffc6427 ("runtime(termdebug): convert termdebug plugin to Vim9 script") closes: #14997 Signed-off-by: Damien Riegel <damien@riegel.io> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-14runtime(termdebug): close all buffers in the same wayDamien Riegel
For ASM and Variables buffer, check were done to make sure they existed before attempting to close them, but not for debugged program or gdb communication. The debugged program window is a user-facing one and user might close it manually, so it's better to check if it exists. Signed-off-by: Damien Riegel <damien@riegel.io> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-13patch 9.1.0482: termdebug plugin needs more lovev9.1.0482Ubaldo Tiberi
Problem: termdebug plugin needs more love Solution: start with some more Vim9 refactoring to improve maintenance and readability (Ubaldo Tiberi) List of Changes and the Reasoning Behind Them: 1) Introduction of InitScriptVariables() Function: Reasoning: This function has been introduced to ensure that when you open and close Termdebug, and then open it again, there are no leftover script variable values from the previous session. Leftover values could potentially cause issues. The goal is for each Termdebug session to be independent of previous sessions. At startup, all script variables are initialized. The only exception is g:termdebug_loaded located at the very beginning of the script to prevent sourcing the script twice. The variables are declared at script level and defined in InitScriptVariables(). 2) More Descriptive Variable Names: Reasoning: The names of variables have been made more comprehensive. Almost every Termdebug buffer now has a variable to indicate its name and another variable to indicate its number, improving code readability and maintainability. Due to the latest discussion around the &mousemodel option save/restore mechanism, perhaps some other variables shall be prepended with saved_. 3) Consistent Naming for GDB Terminal Buffers: Reasoning: The name of the GDB terminal buffer now matches the name of the GDB program being used, e.g., 'gdb', 'mygdb', 'arm-eabi-none-gdb', etc. This ensures clarity and consistency in identifying buffers. 4) Other minor improvements: Moved EchoErr() on top, added another test, some refactoring, mainly changed several 0 and 1 to true and false closes: #14980 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@volvo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-12runtime(termdebug): Use string interpolation instead of string concatYegappan Lakshmanan
closes: #14972 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-11runtime(termdebug): remove line-continuation charactersYegappan Lakshmanan
Those are no longer needed for Vim9. related: #14961 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-10runtime(termdebug): fix mousemodel restoration by comparing against null_stringErnie Rael
closes: #14951 Signed-off-by: Ernie Rael <errael@raelity.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-09runtime(termdebug): Fix saved_mousemodel checklaburnumT
Fix issue introduced by 23f29ffc64276dd790581f98b86a0a6435b7eb22 where saved_mousemodel is introduced as a variable, so the exists check will always be true. Move to check the value of saved_mousemodel instead. closes: #14946 Signed-off-by: laburnumT <laburnumtec@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-09runtime(termdebug: Fix errors in using the latest termdebug.vimYegappan Lakshmanan
closes: #14941 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-05runtime(termdebug): Fix wrong email addressChristian Brabandt
related: #14903 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-05runtime(termdebug): convert termdebug plugin to Vim9 scriptUbaldo Tiberi
closes: #14903 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@volvo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-06-04runtime(comment): clarify the usage of 'commentstring' option valueChristian Brabandt
fixes: #14905 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-23runtime(comment): add missing help tags fileChristian Brabandt
fixes: #14829 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-21runtime(termdebug): check for gdb file/dir before using as buffer nameUbaldo Tiberi
Add test so that this doesn't regress. fixes: #12718 closes: #14792 Signed-off-by: Ubaldo Tiberi <ubaldo.tiberi@volvo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-05-20runtime(matchit): update matchit plugin to v1.20Christian Brabandt
fixes: #14814 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-26runtime(comment): include a simple comment toggling pluginMaxim Kim
fixes #14626 closes: #14634 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-24runtime(termdebug): allow multibyte characters as breakpoint signs (#14274)Mihai Ciuraru
Allow multibyte characters as termdebug signs using slice() function Co-authored-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Mihai Ciuraru <mihai.ciuraru@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-12patch 9.1.0025: A few typos in tests and justify.vimv9.1.0025dundargoc
Problem: A few typos in tests and justify.vim Solution: fix them closes: #13848 Signed-off-by: dundargoc <gocdundar@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-14runtime(termdebug): add Tbreak commandiam28th
closes: #13656 Signed-off-by: iam28th <artyom28th@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-12runtime(termdebug): improve the breakpoint sign label (#13525)Shane-XB-Qian
// related #12589 // that should be the last chat (I) with Bram, r.i.p Signed-off-by: shane.xb.qian <shane.qian@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-08runtime(termdebug): improve window handling, shorten var typesshane.xb.qian
closes #13474 Signed-off-by: shane.xb.qian <shane.qian@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-08runtime(termdebug): handle buffer-local mappings properlyshane.xb.qian
closes: #13475 Signed-off-by: shane.xb.qian <shane.qian@foxmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-16runtime: Fix more typos (#13354)Viktor Szépe
* Fix more typos * Fix typos in ignored runtime/ directory Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-12runtime(help): Updated documentation on editorconfigChristian Brabandt
Add a small section about the distributed Editorconfig plugin at :h usr_05.txt just below the matchit plugin. While editing that help document, also add a bit of more documentation about standard plugins and local help file additions. Regenerate $VIMRUNTIME/doc/tags file with all the new tags from the rust runtime files. While at it, update the Editorconfig help page (and re-generate the helptags file). closes: #13078 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-29runtime(editorconfig): generate helptags, remove unused filesChristian Brabandt
Remove the test suite and a few other non-used files from the EditorConfig CI project related: #12902 closes: #12941 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-27runtime: Distribute the editorconfig with vim (#12902)Christian Brabandt
This is the editorconfig-vim plugin Commit e014708e917b457e8f6c57f357d55dd3826880d4 from https://github.com/editorconfig/editorconfig-vim closes: #2286 related: https://github.com/editorconfig/editorconfig-vim/issues/223 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-23runtime: Remove Brams name from a few more runtime files (#12780)Christian Brabandt
syntax/model.vim: minor wording improvement Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl>
2023-08-23runtime(termdebug): more termdebug fixes and improvements (#12892)Sean Dewar
- Fix and attempt to simplify :Frame/:Up/:Down documentation. - Accept a count instead for :Up/:Down/+/-. - Update the "Last Change" dates. - Fix a missing :let (caused an error if gdb fails to start). - Wipe the prompt buffer when ending prompt mode (if it exists and wasn't wiped by the user first). Avoids issues with stale prompt buffers (such as E95 when starting a new prompt mode session). - Kill the gdb job if the prompt buffer is unloaded (similar to what's done for a terminal buffer). Fixes not being able to start a new termdebug session if the buffer was wiped by the user, for example. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-22runtime(termdebug): add frame related commands (#12511)Simon Sobisch
implementing `:Frame`, `:Up` and `:Down' partially fixing #10393 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-22runtime(termdebug): Fix various Termdebug issues (#12875)Sean Dewar
* Fix some Termdebug issues after #12403 Problem: Cleanup for :Var and :Asm buffers did not apply to prompt mode, and E86 was possible if they were hidden. Solution: Move cleanup to s:EndDebugCommon. Check that the buffers exist before switching. * Fix :Asm in Termdebug prompt mode Problem: :Asm does not work in prompt mode. Solution: Make it work by handling disassembly-related messages properly. The previous implementation depended on the typed or sent (via s:SendCommand()) "disassemble ..." message being visible to s:CommOutput(), but this was only true for the terminal-based job. A more robust solution would be to use GDB MI's -data-disassemble command. I may implement this in a future PR. * Fix Termdebug s:DecodeMessage escaping logic Problem: Termdebug does not escape gdb messages properly. Solution: Improve the logic. Do not mangle messages if they have inner escaped quotes. Use line continuation comments properly. Interestingly, due to the missing line continuation comments (`"\`), most of these substitutions were ignored. Presumably, this logic still isn't exact. For example, if a message ends in `\\"`, the quote may be preserved, even though it's the `\` being escaped (similar issues may exist for the other escapes). This may not be a problem in practice, though.
2023-08-20runtime(termdebug): refactor error printing (#12856)Shane-XB-Qian
// vs not act like exception from vim or termdebug Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2023-08-20runtime(termdebug): re-indent lines (#12857)Shane-XB-Qian
Signed-off-by: shane.xb.qian <shane.qian@foxmail.com>
2023-08-20Runtime(termdebug): Add support to view local and argument variableslaburnumT
closes: 12403 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-08-17Use string interpolation (#12823)Yegappan Lakshmanan
2023-08-09update matchit (#12611)Christian Brabandt
2023-06-28patch 9.0.1671: Termdebug: error with more than 99 breakpointsv9.0.1671skywind3000
Problem: Termdebug: error with more than 99 breakpoints. Solution: Use a different sign for breakpoint 100 and over. (closes #12589, closes #12588)
2023-06-24patch 9.0.1663: Termdebug on MS-Windows: some file names are not recognizedv9.0.1663Christian Brabandt
Problem: Termdebug on MS-Windows: some file names are not recognized. Solution: Do not always change \t and \n. (Christian Brabandt, closes #12565, closes #12560, closes #12550)
2023-06-24patch 9.0.1659: Termdebug: default highlight cleared if changing colorschemev9.0.1659Christian Brabandt
Problem: Termdebug: default highlight cleared when changing colorscheme. Solution: Use a ColorScheme autocommand. (Christian Brabandt, closes #12566, closes #12555)
2023-04-22Update runtime filesBram Moolenaar
2022-11-18Update runtime filesBram Moolenaar
2022-08-08Update runtime filesBram Moolenaar
2022-07-25Update runtime filesBram Moolenaar
2022-07-01Update runtime filesBram Moolenaar
2022-06-25Update runtime filesBram Moolenaar
2022-06-23Update runtime filesBram Moolenaar