aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #13573 from janlazo/vim-8.1.1872Jan Edmund Lazo2020-12-21
|\ | | | | vim-patch:8.1.1872,8.2.1966
| * vim-patch:8.2.1966: popup becomes current window after closing a terminal windowJan Edmund Lazo2020-12-20
| | | | | | | | | | | | | | | | Problem: Popup becomes current window after closing a terminal window. Solution: When restoring the window after executing autocommands, check that the window ID is still the same. (Naruhiko Nishino, closes vim/vim#7272) https://github.com/vim/vim/commit/cbcd9cbd77acc8cc97c0d44683d96c01d3dd0fa7
| * vim-patch:8.1.1872: when Vim exits because of a signal, VimLeave is not ↵Jan Edmund Lazo2020-12-20
|/ | | | | | | | | triggered Problem: When Vim exits because of a signal, VimLeave is not triggered. (Daniel Hahler) Solution: Unblock autocommands when triggering VimLeave. (closes vim/vim#4818) https://github.com/vim/vim/commit/c7226684c82dde7eb6601e067ee2e9387e447903
* Merge pull request #13572 from janlazo/vim-8.2.0180Jan Edmund Lazo2020-12-20
|\ | | | | vim-patch:8.2.{180,686,2166,2171}
| * vim-patch:8.2.2171: valgrind warning for using uninitialized valueJan Edmund Lazo2020-12-20
| | | | | | | | | | | | Problem: Valgrind warning for using uninitialized value. Solution: Do not use "startp" or "endp" unless there is a match. https://github.com/vim/vim/commit/61e07b2394e12f757160cac421ec5c45dc4c074d
| * vim-patch:8.2.2166: auto format doesn't work when deleting textJan Edmund Lazo2020-12-20
| | | | | | | | | | | | Problem: Auto format doesn't work when deleting text. Solution: Make "x" trigger auto format. (closes vim/vim#7504) https://github.com/vim/vim/commit/d0a1dee3f197d41434df4cf0271066b6aeb690fc
| * vim-patch:8.2.0686: formatoptions not sufficiently testedJan Edmund Lazo2020-12-20
| | | | | | | | | | | | | | | | Problem: Formatoptions not sufficiently tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#6031) https://github.com/vim/vim/commit/2eaeaf3c317a5145fb0bc926411561d50883019b Cherry-pick Test_fo_a_w() from patch v8.2.0482.
| * vim-patch:8.2.0180: test for wrapmargin fails if terminal is not 80 columnsJan Edmund Lazo2020-12-20
|/ | | | | | Problem: Test for wrapmargin fails if terminal is not 80 columns. Solution: Vertical split the window. (Ken Takata, closes vim/vim#5554) https://github.com/vim/vim/commit/0c3064b39b4cd4f22fe1eab5438fe691d7cc80d1
* lsp: add $/progress report (#13294)Matthieu Coudron2020-12-20
| | | | Heavily inspired by https://github.com/nvim-lua/lsp-status.nvim. listen to the LspProgressUpdate event to update your statusline.
* foldcolumn: support "auto" (#13571)Jan Edmund Lazo2020-12-20
| | | | | | "set foldcolumn=auto" is documented but not supported. Support it by making it behave as "auto:1", similar to "signcolumn". Close https://github.com/neovim/neovim/pull/13561
* lsp: Fix text payload in didSave notification (#13363)Mathias Fußenegger2020-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to the specification[1] the payload must look like this: interface DidSaveTextDocumentParams { /** * The document that was saved. */ textDocument: TextDocumentIdentifier; /** * Optional the content when saved. Depends on the includeText value * when the save notification was requested. */ text?: string; } `text` must be on the same level as `textDocument´. Where `TextDocumentIdentifier` is: interface TextDocumentIdentifier { /** * The text document's URI. */ uri: DocumentUri; } [1]: https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_didSave
* doc: Fix vim.lsp.diagnostic.get_next (#13495)Mitchell Hanberg2020-12-20
|
* vim-patch:8.2.1289: crash when using a custom completion function (#13565)Jan Edmund Lazo2020-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Crash when using a custom completion function. Solution: Initialize all of the expand_T. (closes vim/vim#6532) https://github.com/vim/vim/commit/c841afff6a89592f23710c6da5b0fea89b240937 Cherry-pick CLEAR_POINTER macro from patch v8.2.0559. N/A patches for version.c: vim-patch:8.1.1295: when vimrun.exe does not exist external command may fail Problem: When vimrun.exe does not exist external command may fail. Solution: Use "cmd /c" twice to get the same behavior. (Ken Takata, closes vim/vim#4355) https://github.com/vim/vim/commit/98ffe4c6d8bded840436cfec0f26dd9c9bce4939 vim-patch:8.2.2155: warning from Github actions for code analysis Problem: Warning from Github actions for code analysis. Solution: Remove the "git checkout HEAD^2" block. https://github.com/vim/vim/commit/18f69229c581a0f738145cdec70df66723a518fc vim-patch:8.2.2156: Github actions run on pusing a tag Problem: Github actions run on pusing a tag. Solution: Don't run CI on tag push. Omit coveralls on pull-request. (Ozaki Kiichi, closes vim/vim#7489) https://github.com/vim/vim/commit/b5b77378bc35cb268c384e98c59f2bf8cb406270 vim-patch:8.2.2158: CI on cirrus times out, coveralls doesn't always run Problem: CI on cirrus times out, coveralls doesn't always run. Solution: Set timeout to 20 minutes. Adjust condition. (closes vim/vim#7493) https://github.com/vim/vim/commit/6e562fcc07c71ad1437c89c3d3cc423efb691f0a
* Merge pull request #13563 from janlazo/vim-8.2.2161Jan Edmund Lazo2020-12-20
|\ | | | | vim-patch:8.1.0470,8.2.{2161,2163}
| * vim-patch:8.1.0470: pointer ownership around fname_expand() is unclearJan Edmund Lazo2020-12-19
| | | | | | | | | | | | | | Problem: Pointer ownership around fname_expand() is unclear. Solution: Allow b_ffname and b_sfname to point to the same allocated memory, only free one. Update comments. https://github.com/vim/vim/commit/3d6014f0336d9a64c01a7518fe45fde0a925fa20
| * vim-patch:8.2.2163: crash when discarded exception is the current exceptionJan Edmund Lazo2020-12-19
| | | | | | | | | | | | Problem: Crash when discarded exception is the current exception. Solution: Compare the execption with current_exception. (closes vim/vim#7499) https://github.com/vim/vim/commit/13656f02e457fb68cd7e72412fc24ccac02fb06e
| * vim-patch:8.2.2161: arguments -T and -x not tested yetJan Edmund Lazo2020-12-19
|/ | | | | | | | | | Problem: Arguments -T and -x not tested yet. Solution: Add a test. (Dominique Pellé, closes vim/vim#7490 https://github.com/vim/vim/commit/1f33e0a7c4cd278158b37f91a2aa44f0bcd1f21a Neovim does not support '-T' command line argument so skip the test. Ref a16eab9e57368188c834634cd824ce1ac5613db1
* Merge pull request #13559 from janlazo/vim-8.2.0162Jan Edmund Lazo2020-12-19
|\ | | | | vim-patch:8.1.1657,8.2.{162,262,264,272}
| * GHA/osx: remove python 2to3Jan Edmund Lazo2020-12-19
| |
| * vim-patch:8.2.0272: ":helptags ALL" gives error for some directoriesJan Edmund Lazo2020-12-19
| | | | | | | | | | | | | | | | | | | | Problem: ":helptags ALL" gives error for directories without write permission. (Matěj Cepl) Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes vim/vim#5026, closes vim/vim#5652) https://github.com/vim/vim/commit/414b79662786762256e756ece8ab4aaecbbf9bd1 Cherry-pick Test_helptag_cmd() from patch v8.2.0203.
| * vim-patch:8.1.1657: Terminal: screen updates from 'balloonexpr' are not ↵Jan Edmund Lazo2020-12-19
| | | | | | | | | | | | | | | | | | displayed Problem: Terminal: screen updates from 'balloonexpr' are not displayed. Solution: Update the screen if needed. Fix the word position for "mousemoved". https://github.com/vim/vim/commit/7ba343e63483b09584d4bf5a997fc1d1c09f19f7
| * vim-patch:8.2.0264: fileformat test still fails on MS-WindowsJan Edmund Lazo2020-12-19
| | | | | | | | | | | | Problem: Fileformat test still fails on MS-Windows. Solution: Set fileformat of buffer in the right place. https://github.com/vim/vim/commit/a36c830a32f439b862ffb85d4c4b4799ee5ea2f9
| * vim-patch:8.2.0262: fileformat test fails on MS-WindowsJan Edmund Lazo2020-12-19
| | | | | | | | | | | | | | | | Problem: Fileformat test fails on MS-Windows. Solution: Set fileformat of buffer. https://github.com/vim/vim/commit/50434bd74c7708e3e2a47449b6a3a8d9fa069f71 Cherry-pick Test_fileformat_plusplus_read() from patch v8.2.0261.
* | Merge pull request #13558 from TysonAndre/php-syntax-updateJan Edmund Lazo2020-12-19
|\ \ | |/ |/| runtime/php: 1c6737b20a5cf71751b180461cea22fc76d8870c
| * runtime/php: 1c6737b20a5cf71751b180461cea22fc76d8870cTyson Andre2020-12-19
| | | | | | | | | | | | Port php syntax file only. Ref https://github.com/neovim/neovim/issues/12844
| * runtime/php: 47e13953ffdbb9f163b901196dec8c2100b72eddTyson Andre2020-12-19
| | | | | | | | Port php syntax file only.
| * runtime/php: 5ef1c6a4838a9629b793f3ae676f72a764171b00Tyson Andre2020-12-19
|/ | | | Port php syntax file only.
* Add <Enter> to existing vim syntax highlighting for angle-bracket notation ↵Kevin Svetlitski2020-12-19
| | | | (#13553)
* vim-patch:8.1.0734: the hlsearch state is not stored in a session file (#13547)Jan Edmund Lazo2020-12-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: The hlsearch state is not stored in a session file. Solution: Add "nohlsearch" if appropriate. (Jason Franklin) https://github.com/vim/vim/commit/e3c74d249ac36404d8af25f74baf335d143b30e3 Vi default for 'sessionoptions' includes 'options'. Use 'set sessionoptions&vi' to use Vim's default 'sessionoptions'. If a test sets 'sessionoptions', reset 'sessionoptions' at the end of the test. N/A patches for version.c: vim-patch:8.2.0119: message test fails on some platforms Problem: Message test fails on some platforms. (Elimar Riesebieter) Solution: Add type cast to vim_snprintf() argument. (Dominique Pelle) https://github.com/vim/vim/commit/1470dc35c4b14bda1995b7566c9a41a33eb06517 vim-patch:8.2.0234: message test fails on SunOS Problem: Message test fails on SunOS. Solution: Adjust expectation for printf "%p". (Ozaki Kiichi, closes vim/vim#5595) https://github.com/vim/vim/commit/d5b991493816a2edba7cacdd06820cf3c0abc4dc vim-patch:8.2.2149: popupwin test for latin1 sometimes fails Problem: Popupwin test for latin1 sometimes fails. Solution: Wait for the script to finish. https://github.com/vim/vim/commit/4c5bdb99ad632d703e94fffafba11b91861fea48 vim-patch:8.2.2150: Github actions CI isn't used for all available platforms Problem: Github actions CI isn't used for all available platforms. Solution: Update the github workflows. (Ozaki Kiichi, closes vim/vim#7433) https://github.com/vim/vim/commit/8ea05de6aa1d133cba3381bcc36adf1736b08e00 vim-patch:8.2.2151: $dir not expanded when configure checks for moonjit Problem: $dir not expanded when configure checks for moonjit. Solution: Use double quotes instead of single quotes. (closes vim/vim#7478) https://github.com/vim/vim/commit/a79a8944dade9115ccaa5a06a076dfb257e56c62 vim-patch:8.2.2153: popupwin test for latin1 still fails sometimes Problem: Popupwin test for latin1 still fails sometimes. Solution: Wait for the "cat" command to finish. https://github.com/vim/vim/commit/b125b535bb0456ab43c10683307a4bc359442d44 vim-patch:8.2.2154: popupwin test for terminal buffer fails sometimes Problem: Popupwin test for terminal buffer fails sometimes. Solution: Wait for the prompt to appear. https://github.com/vim/vim/commit/0353f56ddb379e7f1a68172fa4743355e04df21e
* vim-patch:8.2.2147: quickfix window title not updated in all tab pages (#13545)Sean Dewar2020-12-17
| | | | | | Problem: Quickfix window title not updated in all tab pages. Solution: Update the quickfix window title in all tab pages. (Yegappan Lakshmanan, closes vim/vim#7481, closes vim/vim#7466) https://github.com/vim/vim/commit/530bed993e41bda6f717a8ddd0acb39464f95336
* Merge pull request #13355 from notomo/check-textlock-in-apiBjörn Linse2020-12-16
|\ | | | | api: add textlock check
| * test: textlock api errornotomo2020-12-16
| |
| * docs: add check_textlock attributenotomo2020-12-16
| |
| * api: add textlock checknotomo2020-12-15
| |
* | Merge pull request #13367 from nvim-treesitter/offset-lang-injectionBjörn Linse2020-12-16
|\ \ | | | | | | feat(treesitter): add offset predicate for language injection
| * | feat(treesitter): add offset predicate for language injectionSteven Sojka2020-12-15
| |/ | | | | | | refactor(treesitter): add directives to queries
* | Merge pull request #13539 from vigoux/ts-fix-icmnosplitBjörn Linse2020-12-16
|\ \ | | | | | | fix: also splice extmarks in preview buffers
| * | feat(buffer_updates): allow ignoring when previewingThomas Vigouroux2020-12-15
| | | | | | | | | | | | | | | Also adds a test that we actually subscribe to buffer events when in CMDPREVIEW.
| * | fix: also splice extmarks in preview windowsThomas Vigouroux2020-12-15
| |/ | | | | | | | | | | We indeed need to adjust extmarks in preview windows. Fixes #12967
* | Merge pull request #13538 from jamessan/mac-localeJames McCoy2020-12-15
|\ \ | |/ |/| fix: Include auto/config.h before HAVE_* preprocessor checks
| * fix: Include auto/config.h before HAVE_* preprocessor checksJames McCoy2020-12-15
|/ | | | Closes #13533
* healthcheck: fix health check issue with shada file (#13291)erw72020-12-13
| | | | | - If the shada file is set with shada option n, use it. - If the shadafile is NONE, it does not check for file read/write access. - If the shada file does not exist, try to create it.
* Merge pull request #12624 from qvacua/build-arm64-macJames McCoy2020-12-13
|\
| * Fix lsp tests breaking from new LuaJIT versionMatthew Nibecker2020-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently the new version of LuaJIT changed the consistency with which it sorted table dictionaries. IIRC lua sorts dictionary keys by memory address, so it would appear that the reasons tests were previously passing was because of a differentiation in the implementation of the lua runtime. Ensure that array fields in the lsp protocol tables are consistently created, by using ipair when generating arrays for completionItemKind and symbolItemKind. For CodeActionKind, the current implementation includes both the keys and the values in the array. This is incorrect. Ensure that only the values are included in the array and sort them for consistency.
| * third-party: Always set DEPLOYMENT_TARGET when building LuaJIT on macOSJames McCoy2020-12-13
| | | | | | | | | | | | | | LuaJIT build now requires specifying a deployment target, so use the same baseline as our nightly builds. Co-authored-by: Christian Clason <christian.clason@uni-due.de>
| * Do not set pagezero_size and image_base for LuaJIT >= 2.1.0-beta3Tae Won Ha2020-12-13
| | | | | | | | | | This is properly handled in LuaJIT now and setting causes "Malformed Mach-o file" error when running the resulting binary on arm64 Macs.
| * Use the latest luajit for arm64 Mac compatibility.Tae Won Ha2020-12-13
|/
* Merge pull request #13526 from janlazo/vim-8.1.0839Jan Edmund Lazo2020-12-13
|\ | | | | vim-patch:8.1.{839,1630,2382},8.2.{669,739,1911,2136,2140}
| * vim-patch:8.1.1630: various small problemsJan Edmund Lazo2020-12-13
| | | | | | | | | | | | Problem: Various small problems. Solution: Various small improvements. https://github.com/vim/vim/commit/e809a4ed3014fbf717c936c727291b5f038829a5
| * vim-patch:8.2.2136: Vim9: Using uninitialized variableJan Edmund Lazo2020-12-13
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Vim9: Using uninitialized variable. Solution: Initialize "len" to zero. Clean up fnamemodify(). https://github.com/vim/vim/commit/c530852315517a44354edbbd6c3375355bbec37e N/A patches for version.c: vim-patch:8.1.0839: when using VTP wrong colors after a color scheme change Problem: When using VTP wrong colors after a color scheme change. Solution: When VTP is active always clear after a color scheme change. (Nobuhiro Takasaki, closes vim/vim#3872) https://github.com/vim/vim/commit/f58d81a18752cb9bf899b3f7328fc489cf6558e8 vim-patch:8.1.2382: MS-Windows: When using VTP bold+inverse doesn't work Problem: MS-Windows: When using VTP bold+inverse doesn't work. Solution: Compare with the default colors. (Nobuhiro Takasaki, closes vim/vim#5303) https://github.com/vim/vim/commit/a050b9471c66b383ed674bfd57ac78016199d972 vim-patch:8.2.0669: MS-Windows: display in VTP is a bit slow Problem: MS-Windows: display in VTP is a bit slow. Solution: Optimize the code. (Nobuhiro Takasaki, closes vim/vim#6014) https://github.com/vim/vim/commit/4e5534fab798ab7c95554da3bc80b08336aedc2b vim-patch:8.2.0739: incomplete profiling when exiting because of a dealy signal Problem: Incomplete profiling when exiting because of a dealy signal. Solution: Call __gcov_flush() if available. https://github.com/vim/vim/commit/b415168a9862023462b7193e83da948cb8d11893 vim-patch:8.2.1911: tiny build fails Problem: Tiny build fails. Solution: Add #ifdef. https://github.com/vim/vim/commit/977fd0b327ed46a71c80d2cd62cbe149d43b9a69 vim-patch:8.2.2140: build failure with tiny features Problem: Build failure with tiny features. Solution: Add #ifdef. https://github.com/vim/vim/commit/2a3cd3af455973d678f70303ebdd486f3478bc0d