aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | vim-patch:8.2.2596: :doautocmd may confuse scripts listening to WinEnterJan Edmund Lazo2021-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: :doautocmd may confuse scripts listening to WinEnter. Solution: Do the current buffer last. (closes vim/vim#7958) https://github.com/vim/vim/commit/41cd80335cf318c15c8b0139f53ab5e8a02561ef
* | | | | Merge pull request #14020 from chentau/float_resizeBjörn Linse2021-03-14
|\ \ \ \ \ | | | | | | | | | | | | Update lines after shrinking floating window
| * | | | | screen: make ui_compositor aware of the intended size of a floatchentau2021-03-11
| | |/ / / | |/| | |
* | | | | Fix click on foldcolumn with vsplit (#14127)tk-shirasaka2021-03-13
| | | | |
* | | | | vim-patch:8.2.2595: setting 'winminheight' may cause 'lines' to changeJan Edmund Lazo2021-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Setting 'winminheight' may cause 'lines' to change. Solution: Also take minimal height of other tabpages into account. (vim/vim#7899) https://github.com/vim/vim/commit/9e813b3dea94a8952b732a224fa31beba6e85973
* | | | | vim-patch:8.2.2594: alternate buffer added to session file even when it's hiddenJan Edmund Lazo2021-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Alternate buffer added to session file even when it's hidden. Solution: Check the 'buflisted' option. (closes vim/vim#7951) https://github.com/vim/vim/commit/0756f757edba755b75e0c9c612ab2f7e673def84 N/A patches for version.c: vim-patch:8.2.2593: list of distributed files is incomplete Problem: List of distributed files is incomplete. Solution: Add a file and rename another. https://github.com/vim/vim/commit/0de8e2d6a3fae61c4d9dfdd6f16fc5040d994f6c
* | | | | vim-patch:8.2.2341: expresison command line completion incomplete after "g:"Jan Edmund Lazo2021-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Expresison command line completion shows variables but not functions after "g:". (Gary Johnson) Solution: Prefix "g:" when needed to a global function. https://github.com/vim/vim/commit/1bb4de5302ba038b9c59e845b6d735e87d5681d0 Port most of patch v8.2.0335 to complete script-local functions if the name starts with "s:".
* | | | | vim-patch:8.2.2452: no completion for the 'filetype' optionJan Edmund Lazo2021-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No completion for the 'filetype' option. Solution: Add filetype completion. (Martin Tournoij, closes vim/vim#7747) https://github.com/vim/vim/commit/d5e8c92816f35ea1a9298084238a08f35958baa6
* | | | | vim-patch:8.2.2591: Poke files are not recognizedJan Edmund Lazo2021-03-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Poke files are not recognized. Solution: Add a filetype entry. (Matt Ihlenfield) https://github.com/vim/vim/commit/c80f647512b001fb6952ed10d076d56c3d4b84e0
* | | | | Merge pull request #13567 from bfredl/termpipeBjörn Linse2021-03-12
|\ \ \ \ \ | | | | | | | | | | | | api: allow open non-current buffer as terminal (+ xmas bonus)
| * | | | | api: allow open non-current buffer as terminal (+ xmas bonus)Björn Linse2021-03-12
| | |/ / / | |/| | | | | | | | | | | | | vim.api.nvim_chan_send(vim.api.nvim_open_term(0), io.open("/path/to/smile.cat", "r"):read("*a"))
* / | | | vim-patch:8.2.2588: build failure with tiny features (#14099)Jan Edmund Lazo2021-03-11
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Build failure with tiny features. Solution: Add #ifdef. Run recover test separately. https://github.com/vim/vim/commit/23b32a8d6bd9ec83c0c6632b7a8bfa544ac0a2f1 N/A patches for version.c: vim-patch:8.2.1048: build failure without the eval feature Problem: Build failure without the eval feature. Solution: Add dummy typedef. https://github.com/vim/vim/commit/9d40c63c7dc8c3eb3886c58dcd334bc7f37eceba vim-patch:8.2.1828: build failure without the +eval feature Problem: Build failure without the +eval feature. Solution: Add dummys for ex_block and ex_endblock. https://github.com/vim/vim/commit/1b1e9df78b9ff98cc5ccff359bead37ce5c54d6b vim-patch:8.2.2293: build failure with Motif Problem: Build failure with Motif. (Tony Mechelynck) Solution: Use empty_option instead of empty_options. https://github.com/vim/vim/commit/bb0956fc65ebe8df1da823f9c4d6a0013d9ba5c1 vim-patch:8.2.2410: build failure without the +profiling feature Problem: Build failure without the +profiling feature. Solution: Add dummy argument to macro. https://github.com/vim/vim/commit/ff0e57fe77b1a87a034191c629730b081f6fb7ad vim-patch:8.2.2514: Vim9: build error in tiny version Problem: Vim9: build error in tiny version. Solution: Add #ifdef. https://github.com/vim/vim/commit/2379f87eb48a4ee6a1d0fc7df964e12a3efe4fd5
* | | | Merge pull request #14065 from bfredl/overlaymodeBjörn Linse2021-03-10
|\ \ \ \ | |_|/ / |/| | | more virt_text display options
| * | | decorations: add additional styling of virt_text overlaysBjörn Linse2021-03-10
| | | |
* | | | vim-patch:8.2.2438: out of bounds compiler warningJan Edmund Lazo2021-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Out of bounds compiler warning. Solution: Increase the size of uf_name. https://github.com/vim/vim/commit/6a12e3342d84a1d754d793ed5019778bd60e7494 Do not set size of uf_name to avoid compiler warnings. Port only the comments.
* | | | vim-patch:8.2.1507: using malloc() directlyJan Edmund Lazo2021-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using malloc() directly. Solution: Use ALLOC_ONE(). Remove superfluous typecast. (Hussam al-Homsi, closes vim/vim#6768) https://github.com/vim/vim/commit/51b6eb47b3c41b01a5559b099e65354c8897093e
* | | | vim-patch:8.2.2577: compiler warning for type conversionJan Edmund Lazo2021-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Compiler warning for type conversion. Solution: Add a typecast. (Mike Williams) https://github.com/vim/vim/commit/9355ae41497cbcce58ddd79f9125eb3e9dfe0a43 N/A patches for version.c: vim-patch:8.1.0783: compiler warning for signed/unsigned Problem: Compiler warning for signed/unsigned. Solution: Add type cast. Change type of buffer. (Ozaki Kiichi, closes vim/vim#3827) https://github.com/vim/vim/commit/63c0ccd2b68ce854f294e6f149cc700c7f543674 Neovim was refactored to prefer char type for string functions, not char_u. vim-patch:8.2.2152: screenpos() does not include the WinBar offset Problem: screenpos() does not include the WinBar offset. Solution: Use W_WINROW() instead of directly using w_window. (closes vim/vim#7487) https://github.com/vim/vim/commit/8dd46e72cfb13b8de793c808ee009c45e881903a W_WINROW() was removed so port only the test changes. The test is currently skipped.
* | | | Merge pull request #13875 from smolck/vim_fn_error_on_apiBjörn Linse2021-03-09
|\ \ \ \ | | | | | | | | | | vim.fn: throw error when trying to use API function
| * | | | Fix unused varargsmolck2021-02-06
| | | | |
| * | | | remove extra line, remove () in errorsmolck2021-02-04
| | | | |
| * | | | vim.fn: throw error when trying to use API functionsmolck2021-02-03
| | | | |
* | | | | state: throttle batched event processing when input is availableBjörn Linse2021-03-08
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | before, calling vim.schedule() from inside an event would execute the scheduled callback immediately after this event without checking for user input in between. Break event processing whenever user input or an interrupt is available.
* | | | Merge pull request #14070 from janlazo/vim-8.2.2564Jan Edmund Lazo2021-03-07
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.1016,8.2.{890,1513,1805,2345,2564}
| * | | | vim-patch:8.2.1513: cannot interrupt shell used for filename expansionJan Edmund Lazo2021-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes vim/vim#6770) https://github.com/vim/vim/commit/0981c8729e09551f2e8e6c159bc29f2c1d04019c Neovim does not run settmode() in os_delay() so this patch is mostly N/A. Do not port Vim's flags (ie. MCH_DELAY_SETTMODE) for mch_delay().
| * | | | vim-patch:8.1.1016: MS-Windows: No color in shell when using "!" in 'guioptionsJan Edmund Lazo2021-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: MS-Windows: No color in shell when using "!" in 'guioptions. Solution: Don't stop termcap when using a terminal window for the shell. (vim-jp, closes vim/vim#4117) https://github.com/vim/vim/commit/049ca59236d5a981f23cf5dfe40f54536fe7cad2 N/A patches for version.c: vim-patch:8.2.0890: no color in terminal window when 'termguicolor' is set Problem: No color in terminal window when 'termguicolor' is set. Solution: Clear the underline color. (closes vim/vim#6186) https://github.com/vim/vim/commit/1e5f8f6d65b2ecff3d93d9fdbdd17c7a2ab9cc3d vim-patch:8.2.1805: Unix: terminal mode changed when using ":shell" Problem: Unix: terminal mode changed when using ":shell". Solution: Avoid calling settmode() when not needed. (issue vim/vim#7079) https://github.com/vim/vim/commit/80361a5f2b134c88597d60b3d363b52084e712a1 vim-patch:8.2.2345: no focus events in a terminal Problem: No focus events in a terminal. Solution: Add the t_fd and t_fe termcap entries and implement detecting focus events. (Hayaki Saito, Magnus Groß, closes vim/vim#7673, closes vim/vim#609, closes vim/vim#5526) https://github.com/vim/vim/commit/681fc3fa782e99fe69ed2c83c3e29109d2d61e1a vim-patch:8.2.2564: focus events end Insert mode if 'esckeys' is not set Problem: Focus events end Insert mode if 'esckeys' is not set. Solution: Do not enable focus events when 'esckeys' is off. (closes vim/vim#7926) https://github.com/vim/vim/commit/51b477f74f0de11f6f92a65590f358e04a60a099
* | | | | Merge pull request #13004 from jgehrig/jg-neovim-qt-runtimeerw72021-03-07
|\ \ \ \ \ | |/ / / / |/| | | | fix Windows missing QtSVG DLL
| * | | | Issue 12928: Windows missing QtSVG DLLJohn Gehrig2021-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | We should copy the entire output of windeployqt. Currently several DLLs are missing including one required to display the window icon.
* | | | | Merge pull request #14052 from phaazon/fix/typoBjörn Linse2021-03-06
|\ \ \ \ \ | | | | | | | | | | | | Fix a typo in the Lua documentation for nvim_add_highlight().
| * | | | | Fix a typo in the Lua documentation for nvim_create_namespace().Dimitri Sabadie2021-03-04
| | | | | |
* | | | | | Added If true to show that {after} and {follow} parameters of nvim_put() are ↵Lee Wannacott2021-03-07
| |_|_|/ / |/| | | | | | | | | | | | | | expecting boolean values
* | | | | [RDY] Fix click on foldcolumn if it has tabline (#13982)tk-shirasaka2021-03-04
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | * Fix click on foldcolumn if it has tabline * Fixes to correctly determine if tablie was clicked when multigrid is enabled * Separate foldcolumn checks into functions * Add test case for click on foldcolumn with split window * Fix foldcolumn click used nvim_input() on multigrid enabled
* | | | Merge pull request #13973 from chentau/on_bytes_undofileBjörn Linse2021-03-03
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | New versions of neovim will not read undofiles written by nvim before this merge (there will be an error message about incopmatible version). Nvim 0.4 (or an master up to bda12927be84f0e0e05e885f9acb40a7ac2c5524 ) can be used to recover older undofiles, so if you worried about unsaved changes lurking around in undofiles it would make sense to keep such version around somewhere to recover them. This is a necessary change to keep tree-sitter and plugins dependent on byte-level buffer change events fully working with undo states from a undofile. If there is a clear demand we might implement reading of the old format. Such recovered buffers will not be be fully functional with plugins relying on buffer updates or tree-sitter, however.
| * | | | Extmarks: Save extmark undo information to undofile.chentau2021-03-02
| | | | |
* | | | | vim-patch:8.2.1043: %a item in 'statusline' not testedJan Edmund Lazo2021-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: %a item in 'statusline' not tested. Solution: Add a test. (Dominique Pellé, closes vim/vim#6318) https://github.com/vim/vim/commit/4014e2ceb03b8aeb947a0c671a099b677c8f2d5d Do not run test_statusline.vim in test_alot.vim because test_statusline.vim runs separately in Vim since patch v8.2.0164.
* | | | | vim-patch:8.2.2236: 'scroll' option can change when setting the statuslineJan Edmund Lazo2021-03-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'scroll' option can change when setting the statusline or tabline but the option context is not updated. Solution: Update the script context when the scroll option is changed as a side effect. (Christian Brabandt, closes vim/vim#7533) https://github.com/vim/vim/commit/746670604a60cb0356b56c112ffb6d297c679099
* | | | | vim-patch:8.1.1901: the +insert_expand feature is not always availableJan Edmund Lazo2021-03-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature. https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7
* | | | | vim-patch:8.2.2560: setting 'winminheigt' does not take tabline into accountJan Edmund Lazo2021-03-01
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Setting 'winminheigt' does not take tabline into account. Solution: Subtract the tabline from the available height. (closes vim/vim#7899) https://github.com/vim/vim/commit/39d4cab494248131b6fb07aba633aa4da7871a57 N/A patches for version.c: vim-patch:8.1.0680: not easy to see what features are unavailable Problem: Not easy to see what features are unavailable. Solution: Highlight disabled features in the :version output. (Nazri Ramliy, closes vim/vim#3756) https://github.com/vim/vim/commit/c85ffc9daba6f66d5958ae80249d26f7f81bfced vim-patch:8.2.2196: :version output has extra spaces in compile and link command Problem: :version output has extra spaces in compile and link command. Solution: Adjust QUOTESED. (closes vim/vim#7505) https://github.com/vim/vim/commit/abcbb0e9ad43fc25077e1681528e72ddcbeed300 vim-patch:8.2.2551: MS-Windows: colors test file is not installed Problem: MS-Windows: colors test file is not installed. Solution: Also copy runtime/colors/tools. (Ken Takata, closes vim/vim#7902) https://github.com/vim/vim/commit/d0bce504ec52def729fffa35c8896979af348d32 vim-patch:8.2.2559: MS-Windows: guifont test fails on Windows XP Problem: MS-Windows: guifont test fails on Windows XP. Solution: Check windowsversion(). https://github.com/vim/vim/commit/3650fd709807d5ac182e28d952cbd790c1ad0a6a
* | | | Merge pull request #14004 from erw7/fix-ficJan Edmund Lazo2021-02-25
|\ \ \ \ | | | | | | | | | | option: fix problem with fileignorecase not being set properly
| * | | | path.c: fix path_fnamencmperw72021-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | Fix the problem that the last comparison of strings when p_fic is true was not ignore case.
| * | | | eval: add fname_case to feature listerw72021-02-25
| | | | |
* | | | | pos: define MAXCOL to INT_MAXJan Edmund Lazo2021-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | Partial port of patch v8.1.0953. Remove useless casts on MAXCOL.
* | | | | vim-patch:8.2.2548: May get stuck in the cmdline window using :normalJan Edmund Lazo2021-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: May get stuck in the cmdline window using :normal. Solution: Have nv_esc() return K_IGNORE. https://github.com/vim/vim/commit/7d41410a455ba62128655beb91c35d3fba299287
* | | | | vim-patch:8.2.2547: "%" command not accurate for big filesJan Edmund Lazo2021-02-23
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "%" command not accurate for big files. Solution: Make it more accurate for files up to 21M lines. (Dominique Pellé, closes vim/vim#7889) https://github.com/vim/vim/commit/2c6553498e790604f50016d8435403523a2576d6 N/A patches for version.c: vim-patch:8.2.2545: errors and crash when terminal window is zero height Problem: Errors and crash when terminal window is zero height. (Leonid V. Fedorenchik) Solution: Do not resize when width or height is zero. (closes vim/vim#7890) https://github.com/vim/vim/commit/eba13e4ea28f133ff65f6b426428f49a9bd711b0
* | | | vim-patch:8.2.2233: cannot convert a byte index into a character index (#13978)kuuote2021-02-22
| | | | | | | | | | | | | | | | | | | | Problem: Cannot convert a byte index into a character index. Solution: Add charidx(). (Yegappan Lakshmanan, closes vim/vim#7561) https://github.com/vim/vim/commit/17793ef23aae0bc94539390ccfe5e63b0ad39ff2
* | | | Merge pull request #13988 from janlazo/vim-8.1.1310Jan Edmund Lazo2021-02-22
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.1310: named function arguments are never optional
| * | | | fixup! vim-patch:8.1.1310: named function arguments are never optionalJan Edmund Lazo2021-02-22
| | | | |
| * | | | vim-patch:8.1.1310: named function arguments are never optionalerw72021-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Named function arguments are never optional. Solution: Support optional function arguments with a default value. (Andy Massimino, closes vim/vim#3952) https://github.com/vim/vim/commit/42ae78cfff171fbd7412306083fe200245d7a7a6
* | | | | tui: fix possibility of evaluating uninitialized variables (#13987)erw72021-02-22
|/ / / /
* | | | Merge pull request #13952 from bfredl/overlayBjörn Linse2021-02-22
|\ \ \ \ | | | | | | | | | | decorations: allow virt_text overlay at any column
| * | | | decorations: allow virt_text overlay at any columnBjörn Linse2021-02-22
| | | | |