aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | vim-patch:8.2.2070: can't get the exit value in VimLeave(Pre) autocommands ↵Jan Edmund Lazo2021-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#13981) Problem: Can't get the exit value in VimLeave or VimLeavePre autocommands. Solution: Add v:exiting like in Neovim. (Yegappan Lakshmanan, closes vim/vim#7395) https://github.com/vim/vim/commit/f0068c5154a99b86b2c4515a4b93c003b2445cf4 Rearrange VimVarIndex enums and vimvars[] entries to sync with Vim. N/A patches for version.c: vim-patch:8.2.2535: MS-Windows: cannot run all vim9 tests Problem: MS-Windows: cannot run all vim9 tests. Solution: Make test_vim9 target work. https://github.com/vim/vim/commit/723ef5db980b2e69ef8bdc0dd448cb645491c464
* | | | | [RFC] ":source" sources from current buffer if filename is omitted (#11444)Vikram Pal2021-02-18
| | | | | | | | | | | | | | | Fix https://github.com/neovim/neovim/issues/8722
* | | | | vim-patch:8.2.2523: Svelte filetype not recognized (#13961)Brian Ryall2021-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | Problem: Svelte filetype not recognized. Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7858) https://github.com/vim/vim/commit/c0fcb6e0b10050145e7d334b68b1bdc5201fed05
* | | | | vim-patch:8.2.2522: Beancount filetype not recognized (#13960)Brian Ryall2021-02-18
|/ / / / | | | | | | | | | | | | | | | | Problem: Beancount filetype not recognized. Solution: Add a detection rule. (Brian Ryall, closes vim/vim#7859) https://github.com/vim/vim/commit/9bbd883b3528b37dcacad22ad58861105a9ae428
* | | | Merge pull request #13944 from chentau/on_bytes_docBjörn Linse2021-02-17
|\ \ \ \ | |_|/ / |/| | | Doc: update documentation for on_bytes
| * | | Doc: update documentation for on_byteschentau2021-02-17
| |/ /
* | | Merge pull request #13692 from mjlbach/fix_cursor_respect_current_lineBjörn Linse2021-02-16
|\ \ \ | |/ / |/| | fix_cursor: do not change line number when edit will not impact cursor row
| * | fix_cursor: do not change line number when edit will not impact cursorMichael Lingelbach2021-01-31
| | | | | | | | | | | | row
* | | Merge pull request #13930 from janlazo/vim-8.2.1902Jan Edmund Lazo2021-02-14
|\ \ \ | | | | | | | | vim-patch:8.2.{54,64,576,925,1056,1058,1902,1903,1904}
| * | | vim-patch:8.2.0925: getcompletion() does not return command line argumentsJan Edmund Lazo2021-02-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Getcompletion() does not return command line arguments. Solution: Add the "cmdline" option. (Shougo, closes vim/vim#1140) https://github.com/vim/vim/commit/1f1fd44ef796dd909ff5f3e5288b3fd79294dc71
| * | | vim-patch:8.2.0064: diffmode completion doesn't use per-window settingJan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Diffmode completion doesn't use per-window setting. Solution: Check if a window is in diff mode. (Dominique Pell, closes vim/vim#5419) https://github.com/vim/vim/commit/efcc329020ef089267f5f3994b8544eb58806311
| * | | vim-patch:8.2.0054: :diffget and :diffput don't have good completionJan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: :diffget and :diffput don't have good completion. Solution: Add proper completion. (Dominique Pelle, closes vim/vim#5409) https://github.com/vim/vim/commit/ae7dba896975051a3f0b7123faa08dac5635972d
| * | | vim-patch:8.2.1056: wrong display when mixing match conceal and syntax concealJan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Wrong display when mixing match conceal and syntax conceal. Solution: Adjust how conceal flags are used. (closes vim/vim#6327, closes vim/vim#6303) https://github.com/vim/vim/commit/211dd3fd82216ca879fe7f917ea345b3ae366ce1
| * | | vim-patch:8.2.1058: multiline conceal causes display errorsJan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Multiline conceal causes display errors. Solution: Do not allow conceal cross over EOL. (closes vim/vim#6326, closes vim/vim#4854, closes vim/vim#6302) https://github.com/vim/vim/commit/fc838d6cb0f22c77a6ee2befd034b593e1c5ea06 Port test_conceal.vim but skip tests that require screendumps.
| * | | vim-patch:8.2.1904: still using default option values after using ":badd +1"Jan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Still using default option values after using ":badd +1". Solution: Find a window where options were set. Don't set the window when using ":badd". https://github.com/vim/vim/commit/89b693e5627715cde080c3580c7b641c9bf0c06a
| * | | vim-patch:8.2.1903: buffer test fails with normal featuresJan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Buffer test fails with normal features. Solution: Use 'numberwidth' instead of 'conceallevel' in the test. https://github.com/vim/vim/commit/37e4e03c67dacfc4a065e95492ffc4c7f490b44b
| * | | vim-patch:8.2.0576: some errors are not covered by testsJan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Some errors are not covered by tests. Solution: Add a few more tests. (Dominique Pelle, closes vim/vim#5920) https://github.com/vim/vim/commit/067297e16a516838dbc46aaa9d8b1a507afec28d
| * | | vim-patch:8.2.1902: default option values changed with :badd for existing bufferJan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Default option values are changed when using :badd for an existing buffer. Solution: When calling buflist_new() pass a zero line number. (closes vim/vim#7195) https://github.com/vim/vim/commit/e974fa7b2b98e53a59d5ef16a6a1291f12a32e33
* | | | buffer_updates: autoload episode III: revenge of the treesBjörn Linse2021-02-14
|/ / /
* | | vim-patch:8.2.2499: "vim -g --version" does not redirect output (#13922)Jan Edmund Lazo2021-02-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "vim -g --version" does not redirect output. Solution: Reset gui.starting when showing version info. (closes vim/vim#7815) https://github.com/vim/vim/commit/3b678047bcd50d6f409175dcffe7839dbb74728b N/A patches for version.c: vim-patch:8.1.2065: compiler warning building non-GUI with MinGW. Problem: Compiler warning building non-GUI with MinGW. Solution: Adjust #ifdefs. (Yegappan Lakshmanan, closes vim/vim#4964) https://github.com/vim/vim/commit/910c378d9342e0de8c6736c83ebdbbb597267056 vim-patch:8.2.2500: build fails without the GUI feature Problem: Build fails without the GUI feature. Solution: Add #ifdef. https://github.com/vim/vim/commit/0bcadf14aa700c166c09f1800ed3de00b9598b39 vim-patch:8.2.2502: a few github actions are failing Problem: A few github actions are failing. Solution: Install setuptools-rust. (closes vim/vim#7823) https://github.com/vim/vim/commit/ca753ec862f8191f1fc5ed161753704a488ed08d vim-patch:8.2.2507: github build may fail if Ubuntu 20.04 is used Problem: Github build may fail if Ubuntu 20.04 is used. Installing rust is not needed. Solution: Specify ubuntu-18.04 instead of latest. Update "pip" instead of installing rust. (Ozaki Kiichi, closes vim/vim#7820) https://github.com/vim/vim/commit/0fa09676c25a0a4a01f339887b8bf40b4673621f
* | | Merge pull request #13491 from seandewar/vim-8.2.1967Jan Edmund Lazo2021-02-11
|\ \ \ | | | | | | | | vim-patch:8.2.{1967,2058,2467}
| * | | vim-patch:8.2.2467: script generated by :mkview changes alternate fileSean Dewar2021-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Script generated by :mkview changes alternate file. Solution: Only write :balt in the session file. (Harish Rajagopal, closes vim/vim#7779) https://github.com/vim/vim/commit/139348f3e8370826a1ceb10c73f7c7bb586f8125
| * | | vim-patch:8.2.2058: using mkview/loadview changes the jumplistSean Dewar2021-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using mkview/loadview changes the jumplist. Solution: Use ":keepjumps". Don't let ":badd" or ":balt" change the jumplist. (closes vim/vim#7371) https://github.com/vim/vim/commit/3482be6a33c3a00fe1e8e604310ad3034f593045 Definition for BufWinEnter autocmd in Test_mkview_loadview_jumplist() was moved down a few lines until after the views are written, as in Nvim, :loadview throws if the view file can't be opened.
| * | | vim-patch:8.2.1967: the session file does not restore the alternate fileSean Dewar2021-02-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The session file does not restore the alternate file. Solution: Add ":balt". Works like ":badd" and also sets the buffer as the alternate file. Use it in the session file. (closes vim/vim#7269, closes vim/vim#6714) https://github.com/vim/vim/commit/59d8e56e048eb5d384649284fb35363931fc3697 Include minimal test_buffer.vim from patch 8.2.0243 for Test_balt(). Add entry for :balt to runtime/doc/index.txt from vim/vim#7819.
* | | | cmake: Remove duplicate compile flags argument (#13920)Florian Walch2021-02-11
|/ / / | | | | | | | | | | | | | | | | | | | | | ${C_FLAGS_ARRAY} is already part of ${gen_cflags} and does not need to be passed explicitly. Passing it a second time leads to macro redefinition warnings when -D_FORTIFY_SOURCE=2 is given as part of CFLAGS because Neovim enforces -D_FORTIFY_SOURCE=1.
* | | vim-patch:8.2.2490: 'wrap' option is always reset when starting diff modeJan Edmund Lazo2021-02-10
| | | | | | | | | | | | | | | | | | Problem: 'wrap' option is always reset when starting diff mode. Solution: Add the "followwrap" item in 'diffopt'. (Rick Howe, closes vim/vim#7797) https://github.com/vim/vim/commit/4223d43c0fb6ead1e611e4469a1680a9228b6015
* | | vim-patch:8.2.2496: insufficien testing for text jumping fixJan Edmund Lazo2021-02-10
| | | | | | | | | | | | | | | | | | Problem: Insufficien testing for text jumping fix. Solution: Add another test case. https://github.com/vim/vim/commit/5202929dab58402a5f3cd9c231e09abb5c451c56
* | | vim-patch:8.2.2495: text jumps up and down when moving the cursorJan Edmund Lazo2021-02-10
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Text jumps up and down when moving the cursor in a small window with wrapping text and 'scrolloff' set. Solution: Adjust the computation of w_skipcol. (partly by Ghjuvan Lacambre, closes vim/vim#7813) https://github.com/vim/vim/commit/8f33ebfade10cd1b4296d8ec8dca815a09e8a405
* | | vim-patch:8.2.2492: command line buffer name cannot be translatedJan Edmund Lazo2021-02-10
| | | | | | | | | | | | | | | | | | Problem: Command line buffer name cannot be translated. Solution: Add _(). (Gabriel Dupras, closes vim/vim#7812) https://github.com/vim/vim/commit/b17ec4d427f9009eff5dbc3184b26d68b0163edb
* | | vim-patch:8.1.0341: :argadd in empty buffer changes the buffer nameJan Edmund Lazo2021-02-10
| | | | | | | | | | | | | | | | | | | | | Problem: :argadd in empty buffer changes the buffer name. (Pavol Juhas) Solution: Don't re-use the current buffer when not going to edit the file. (closes vim/vim#3397) Do re-use the current buffer for :next. https://github.com/vim/vim/commit/32bbd00949c585ea1c9da13197279a175097eddd
* | | vim-patch:8.2.2489: current buffer is wrong after deletebufline() failsJan Edmund Lazo2021-02-10
| | | | | | | | | | | | | | | | | | | | | Problem: current buffer is wrong after deletebufline() fails to delete a line in another buffer. Solution: Restore the current buffer. https://github.com/vim/vim/commit/963ffa0a5a6091655ed72b4590ec5d5a1653bce8
* | | buffer updates: add on_reload callback and handle it in treesitter parserBjörn Linse2021-02-10
| | |
* | | Merge pull request #13903 from glacambre/fix_prompt_for_numberBjörn Linse2021-02-10
|\ \ \ | | | | | | | | Clear prompt_for_number messages
| * | | Clear prompt_for_number messagesglacambre2021-02-10
| | | | | | | | | | | | | | | | | | | | | | | | This fixes issues in GUIs: https://github.com/akiyosi/goneovim/issues/94 https://github.com/glacambre/firenvim/issues/448
* | | | fix(notify): Expected 3 arguments error (#13905)notomo2021-02-09
| | | |
* | | | vim-patch:8.2.2259: Test_Executable() fails when using chroot (#13907)Jan Edmund Lazo2021-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Test_Executable() fails when using chroot. Solution: Ignore the difference between "sbin" and "bin". https://github.com/vim/vim/commit/a387083b2f65c2c14b19087c7d7f94ca23de1d48 Cherry-pick Test_Executable() changes from patches v8.1.1921, v8.2.1432 to be in sync with Vim. N/A patches for version.c: vim-patch:8.1.0509: checking cwd not accessible fails for root Problem: Checking cwd not accessible fails for root. (James McCoy) Solution: Skip this part of the test for root. (closes vim/vim#3595) https://github.com/vim/vim/commit/0b38f54730c3f9835ddade01c2263ce0f56c1c0f vim-patch:8.2.2487: terminal shows garbage after double-wide character Problem: Terminal shows garbage after double-wide character with a combining character. (Kyoichiro Yamada) Solution: Libvterm: do not add the width of the combining character to the glyph width. (closes vim/vim#7801) https://github.com/vim/vim/commit/4549dad874244fe933b969e4ac0b41923ee70dc3 vim-patch:8.2.2488: json_encode() gives generic argument error Problem: json_encode() gives generic argument error. Solution: Mention the type that can't be encoded. (issue vim/vim#7802) https://github.com/vim/vim/commit/a853089479b60b829bab1c4a0a737a073415f8a7
* | | | fix(buf_updates): send updates when putting past last lineThomas Vigouroux2021-02-08
| | | | | | | | | | | | | | | | Fixes #13710
* | | | Merge pull request #13899 from chentau/set_text_fixBjörn Linse2021-02-08
|\ \ \ \ | |/ / / |/| | | correctly mark changed regions for set_text
| * | | correctly mark changed regions for set_textchentau2021-02-07
| | | |
* | | | Merge pull request #13843 from teto/notif_providerMatthieu Coudron2021-02-08
|\ \ \ \ | | | | | | | | | | [RDY] Notification provider
| * | | | api: add nvim_notifyMatthieu Coudron2021-02-02
| | | | | | | | | | | | | | | | | | | | parameters are mandatory
| * | | | feat: adds vim.notifyMatthieu Coudron2021-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds function to notify the user like this: `:lua vim.notify("hello user")` embeds log levels vim.log.levels. you can then reassign vim.notify to for instance ``` function notify_external(msg, log_level, opts) vim.fn.jobstart({"notify-send", msg }) end ```
* | | | | option: use char* for get_option_value() paramJan Edmund Lazo2021-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'name' param is casted to char_u* within get_option_value(). Most calls to get_option_value() cast arg to 'name' from char to char_u. Remove these pointless type casts.
* | | | | menu: use char* for set_context_in_menu_cmd() paramJan Edmund Lazo2021-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All calls to set_context_in_menu_cmd() cast "cmd" arg to char_u. get_menu_cmd_nodes() doesn't require "cmd" to be unsigned char. Use "char" type for "cmd" function param to reduce type casts.
* | | | | eval: use char* for set_var_lval() paramJan Edmund Lazo2021-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'op' param is casted to char_u* within set_val_lval(). Most calls to set_val_lval() cast arg to 'op' from char to char_u. Remove these pointless type casts.
* | | | | eval: use char* for set_internal_string_var()Jan Edmund Lazo2021-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "name" param was cast to (const char *). All calls to set_internal_string_var() cast from (char *) to (char_u *). Remove these useless casts.
* | | | | option: use char* for set_string_option_direct()Jan Edmund Lazo2021-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "name" param was cast to (const char *). All calls to set_string_option_direct() cast 1st arg from (char *) to (char_u *). Remove these useless casts.
* | | | | eval: ll_range,ll_empty2 members are boolJan Edmund Lazo2021-02-06
| | | | |
* | | | | vim-patch:8.1.2285: padding in structures wastes memoryJan Edmund Lazo2021-02-06
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Padding in structures wastes memory. Solution: Move fields to avoid padding. (Dominique Pelle, closes vim/vim#5202) https://github.com/vim/vim/commit/d6beab0248cdb0b7073e97d98d65de7138cb3386 Skip "ml_line_len" member of "struct memline". Patch v8.1.0579 was not ported.
* | | | vim-patch:8.2.2469: confusing error if :winsize has a wrong argument (#13889)Jan Edmund Lazo2021-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Confusing error if :winsize has a wrong argument. Solution: Quote the argument in the error. (closes vim/vim#2523) https://github.com/vim/vim/commit/f5a5116a96b1877c3f44e7bae288fd6603151eb1 Cherry-pick Test_winsize_cmd() from patch v8.2.0243.