| Commit message (Collapse) | Author | Age |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* add lua function to highlight yanked region
* extract namespace, better naming, default values
* add default for event argument
* free timer
* factor out mark to position calculation
* d'oh
* make sure timer stops before callback (cf. luv example)
* factor out timer, more documentation
* fixup
* validate function argument for schedule
* fix block selection past eol
* correct handling of multibyte characters
* move arguments around, some cleanup
* move utility functions to vim.lua
* use anonymous namespaces, avoid local api
* rename function
* add test for schedule_fn
* fix indent
* turn hl-yank into proper (hightlight) module
* factor out position-to-region function
mark extraction now part of highlight.on_yank
* rename schedule_fn to defer_fn
* add test for vim.region
* todo: handle double-width characters
* remove debug printout
* do not shadow arguments
* defer also callable table
* whitespace change
* move highlight to vim/highlight.lua
* add documentation
* add @return documentation
* test: add check before vim.defer fires
* doc: fixup
|
| | |
| | |
| | | |
really use win and not curwin
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot delete a match from another window. (Paul Jolly)
Solution: Add window ID argument to matchdelete(), clearmatches(),
getmatches() and setmatches(). (Andy Massimino, closes vim/vim#4178)
https://github.com/vim/vim/commit/aff749145e23c0f20b5158d1d3a942948ed138e3
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Some files not recognized as pamenv.
Solution: Add pam_inv.conf. (closes vim/vim#6065)
https://github.com/vim/vim/commit/aacc6afdb8cdeb2558e6942dcd65ca0079bec1ee
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Window-local values have confusing name.
Solution: Rename w_p_bri* to w_briopt_*.
https://github.com/vim/vim/commit/b81f56fb57c87a7490dd79908c257437d1958447
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: 'showbreak' does not work for a very long line. (John Little)
Solution: Check whether 'briopt' contains "sbr". (Ken Takata, closes vim/vim#5523,
closes vim/vim#5684)
https://github.com/vim/vim/commit/1aa76b8fd06c278fe36c39b0bbe7233c775d7423
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: The pam_environment file is not recognized.
Solution: Add a filetype pattern for pamenv. (closes vim/vim#6051)
https://github.com/vim/vim/commit/611548105394fdb76827cd431230c9fbfed39929
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: readdir() allocates list twice.
Solution: Remove second allocation. Also check for zero length.
https://github.com/vim/vim/commit/334ad415040f9592451ec99498cd99f90d6e33e6
|
| | | |
|
| | |
| | |
| | |
| | | |
fixes #12255.
|
| |/
| |
| |
| |
| | |
* Add buffer, window and tab accessors
* Fix deletion and add tests
|
| |\
| | |
| | | |
vim-patch:8.1.{800,868,1581},8.2.{648,649,663,678,681,688,691,692}
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Startup test fails on MS-Windows.
Solution: Allow for any path.
https://github.com/vim/vim/commit/4515bcdec8f3ba54f9d671cc37b9c9b3e19ea999
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Startup test fails.
Solution: Adjust expected output from -V2 argument.
https://github.com/vim/vim/commit/7779ee30d912e9dd5bd2371f8b27057bd249d53c
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Output clobbered if setting 'verbose' to see shell commands.
Solution: Only output "Searching for" when 'verbose' is 11 or higher.
https://github.com/vim/vim/commit/647a530b33d9d767f591159c24c62de48e57dad7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Pattern for 'hlsearch' highlighting may leak. (Dominique Pelle)
Solution: Call end_search_hl() to make sure the previous pattern is freed.
(closes vim/vim#6028)
https://github.com/vim/vim/commit/0b6849e9e302286e906d97e4ba017dd66561a9ce
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Rare crash for popup menu.
Solution: Check for NULL pointer. (Nobuhiro Takasaki, closes vim/vim#6027)
https://github.com/vim/vim/commit/d58a662f44dc11475f4cf5922a948635da934cc4
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Not all systemd temp files are recognized.
Solution: Add two more patterns. (Jamie Macdonald, closes vim/vim#6003)
https://github.com/vim/vim/commit/512fe833c3988bfe0de22135aef67faf51927a0e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash if triggering garbage collector after a function call.
(Michael Henry)
Solution: Don't call the garbage collector right away, do it later.
(closes vim/vim#3894)
https://github.com/vim/vim/commit/889da2f2438c8168f9a25dc776360b81109bad44
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: May use a lot of memory when a function creates a cyclic
reference.
Solution: After saving a funccal many times, invoke the garbage collector.
(closes vim/vim#3835)
https://github.com/vim/vim/commit/4456ab527a6a5faae9287f3bd2e52cc18966cfb0
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Shared functions for testing are disorganised.
Solution: Group finctions in script files. (Ozaki Kiichi, closes vim/vim#4573)
https://github.com/vim/vim/commit/7a39dd7f00239059ce34660611589b26126a550c
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Undo problem whn an InsertLeave autocommand resets undo. (Kutsan
Kaplan)
Solution: Do not create a new undo block when leaving Insert mode.
https://github.com/vim/vim/commit/db93495d276642f63f80471fbcb900b9aa1e9e42
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Semicolon search does not work in first line.
Solution: Allow the cursor to be in line zero. (Christian Brabandt,
closes vim/vim#5996)
https://github.com/vim/vim/commit/0e71704b77a9891ccae9f5a9c7429e933078f232
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Cannot easily get directory entry matches.
Solution: Add the readdir() function. (Yasuhiro Matsumoto, closes vim/vim#2439)
https://github.com/vim/vim/commit/543c9b1921d7605498b54afdef518e312f1b4515
closes #12212
|
| | |
| | |
| | |
| | |
| | |
| | | |
* paste: support replace mode
* Clean up
Co-authored-by: Jesse Bakker <git@jessebakker.com>
|
| | |
| | |
| | | |
fixes #12250.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Besides the special-case in get_scrolloff_value(), it makes sense for
'scrolloff' and 'sidescrolloff' to reflect the correct values (for
plugins, scripts, …).
ref 53d607af9c53accfd634435908fb79061f1212b9
ref #11915
ref #12230
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes flicker
fix #11072
fix #11915
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
:echo expand('%', v:false, v:true)
==423== 28 bytes in 1 blocks are definitely lost in loss record 124 of 420
==423== at 0x4C2FB0F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==423== by 0x2AD09C: try_malloc (memory.c:71)
==423== by 0x2AD0B8: xmalloc (memory.c:105)
==423== by 0x2AE05D: xmallocz (memory.c:182)
==423== by 0x1F7CF4: vim_strnsave (strings.c:68)
==423== by 0x318813: eval_vars (ex_docmd.c:8885)
==423== by 0x34F5FC: f_expand (funcs.c:2058)
==423== by 0x36D023: call_func (eval.c:6419)
==423== by 0x370C28: get_func_tv.lto_priv.707 (eval.c:6150)
==423== by 0x372748: eval7 (eval.c:4326)
==423== by 0x37291A: eval6 (eval.c:4036)
==423== by 0x372BF6: eval5 (eval.c:3884)
|
| |
| |
| |
| |
| |
| | |
Problem: Test for 'runtimepath' in session fails on MS-Windows.
Solution: Skip the test for now.
https://github.com/vim/vim/commit/681b6bc86c8f60473854c0141935c07494528884
|
| |
| |
| |
| |
| |
| |
| |
| | |
Problem: :mksession cannot handle a very long 'runtimepath'. (Timothy
Madden)
Solution: Expand each part separately, instead of the whole option at once.
(Christian Brabandt, closes vim/vim#3466)
https://github.com/vim/vim/commit/ed18f2c03ae4786b489943cb575bb781a70356e4
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
vim-patch:8.2.0621: after running tests asan files may remain
vim-patch:8.2.0622: Haiku: GUI does not compile
vim-patch:8.2.0630: "make tags" does not cover Haiku GUI file
vim-patch:8.2.0631: Haiku file formatted with wrong tabstop
vim-patch:8.2.0632: crash when using Haiku
vim-patch:8.2.0636: :messages does not show the maintainer when $LANG is unset
vim-patch:8.2.0642: Vim9: using invalid index
vim-patch:8.2.0643: terminal uses brown instead of dark yellow
vim-patch:8.2.0645: MS-Windows terminal: CTRL-C does not get to child job
vim-patch:8.2.0651: old style benchmark test still in list of distributed files
vim-patch:8.2.0654: building with Python fails
vim-patch:8.2.0664: included undesired changes in Makefile
vim-patch:8.2.0667: cannot install Haiku version from source
vim-patch:8.2.0671: Haiku: compiler warnings
|
| |\
| | |
| | | |
lsp/completion: Expose completion_item under completed_items.user_data + vim-patch:8.2.0084
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Complete item "user_data" can only be a string.
Solution: Accept any type of variable. (closes vim/vim#5412)
https://github.com/vim/vim/commit/0892832bb6c7e322fcae8560eaad5a8140ee4a06
|
| | |
| | |
| | |
| | |
| | | |
ref: #12164
fix #12201
sign_getdefined() returns a list, {} if the sign is not defined.
|
| |/
| |
| |
| |
| |
| | |
Tmux uses smso to display italics when the default-terminal is screen,
screen-*. That's not the display the user wants, so change it to do the
same display as before f3ffe0b32.
fixes #12193.
|
| | |
|
| |
| |
| |
| | |
return first extui bounds information instead of reducing
|
| |
| |
| |
| | |
ui_pum_set_bounds and tv_dict_add_float tests
|
| | |
|
| | |
|
| |
| |
| |
| | |
CompleteChanged
|
| |\
| | |
| | | |
[RFC]vim-patch:8.0.{1123,1125,1138,1139,1142,1292,1334,1375},8.1.1264
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Window size wrong after maximizing with WinBar. (Lifepillar)
Solution: Fix height computations. Redraw window when it is zero height but
has a WinBar. (closes vim/vim#2356)
https://github.com/vim/vim/commit/415a6939a4e8d4e26b4af26c24eb75243d3a2756
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Crash when closing window from WinBar click. (Ben Jackson)
Solution: Check that window pointer is still valid. (closes vim/vim#4337)
https://github.com/vim/vim/commit/d2fad67e3eb71f48d23f283ef8e7b7ddf4ee180f
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Using window toolbar changes state.
Solution: Always execute window toolbar actions in Normal mode.
https://github.com/vim/vim/commit/a21a6a9ade7bec3a07992d4d900d4ce82eeb8a29
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Splitting a window with a WinBar damages window layout.
(Lifepillar)
Solution: Take the winbar into account when computing the new window
position. Add WINBAR_HEIGHT().
https://github.com/vim/vim/commit/3167c3e7010ac7e2fd7d3aa198dd2d1dcff8ecc8
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Quick clicks in the WinBar start Visual mode.
Solution: Use a double click in the WinBar like a normal click.
https://github.com/vim/vim/commit/d327b0c68fa9b32877123f77560f4521a9eb39db
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Click in window toolbar starts Visual mode.
Solution: Add the MOUSE_WINBAR flag.
https://github.com/vim/vim/commit/eb163d73b11c10b461a2839530173a33d7915a33
|
| | |
| | |
| | |
| | |
| | |
| | | |
Problem: Window toolbar menu gets a tear-off item.
Solution: Recognize the window toolbar.
https://github.com/vim/vim/commit/378daf87d380b9f3c4f822786dfbfdcad9ca2db9
|