aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* feat(luahl): add priority mechanismThomas Vigouroux2020-11-25
| | | | | Base priority is 0x1000, in order to stay kinda backward compatible. Also set tree-sitter default highlight to 100 (middle-ish value)
* Merge pull request #13252 from nvim-treesitter/language-treeThomas Vigouroux2020-11-23
|\ | | | | Language tree
| * feat(treesitter): add language treeSteven Sojka2020-11-23
|/ | | | | | | | | | | | | Implement the LanguageTree structure to enable language injection. This is done be removing the old Parser metatable and replacing by the new structure, with the same API (almost). Some noticeable differences : - `parser:parse()` now returns a table of trees - There is no incremental parsing for child (injected) languages Co-authored-by: Thomas Vigouroux <tomvig38@gmail.com>
* Merge pull request #13333 from adrian5/filetype-xmlJan Edmund Lazo2020-11-22
|\ | | | | runtime: Patch xml, xmllint, xmlformat filetypes
| * xml.vim: patch runtime/syntax to 4ceaa3a6e0b8cb299adrian52020-11-22
| | | | | | | | vim/vim@4ceaa3a6e0b8cb2994c303041aedcbb60527cd61
| * xml.vim: patch runtime/syntax to 96f45c0b6fc9e9d40adrian52020-11-22
| | | | | | | | vim/vim@96f45c0b6fc9e9d404e6805593ed1e0e6795e470
| * xml.vim: patch runtime/indent to 4ceaa3a6e0b8cb299adrian52020-11-22
| | | | | | | | vim/vim@4ceaa3a6e0b8cb2994c303041aedcbb60527cd61
| * xml.vim: patch runtime/indent to 96f45c0b6fc9e9d40adrian52020-11-22
| | | | | | | | vim/vim@96f45c0b6fc9e9d404e6805593ed1e0e6795e470
| * xmllint.vim: patch runtime/compiler to 1c6737b20a5adrian52020-11-22
| | | | | | | | vim/vim@1c6737b20a5cf71751b180461cea22fc76d8870c
| * xmlformat.vim: patch runtime/autoload to eab6dff19adrian52020-11-22
| | | | | | | | vim/vim@eab6dff19f387469a200011bc6cf3508f5e43a4a
| * xmlformat.vim: patch runtime/autoload to 96f45c0b6adrian52020-11-22
| | | | | | | | vim/vim@96f45c0b6fc9e9d404e6805593ed1e0e6795e470
* | Merge pull request #13348 from adrian5/filetype-gitconfigJan Edmund Lazo2020-11-22
|\ \ | | | | | | runtime: Patch gitconfig.vim syntax
| * | gitconfig.vim: patch runtime/syntax to c08ee7476b1adrian52020-11-22
| | | | | | | | | | | | vim/vim@c08ee7476b19f9b4de5df287797af87c4e3fba0a
| * | gitconfig.vim: patch runtime/syntax to 5be4ceecea5adrian52020-11-22
| |/ | | | | | | vim/vim@5be4ceecea5520265066eac972460ebb1cdf05e7
* | Merge pull request #13351 from janlazo/vim-8.1.1598Jan Edmund Lazo2020-11-22
|\ \ | | | | | | vim-patch:8.1.{1598,1601,2332},8.2.2032
| * | vim-patch:8.1.2332: missing file in refactoringJan Edmund Lazo2020-11-22
| | | | | | | | | | | | | | | | | | Problem: Missing file in refactoring. Solution: Update missing file. https://github.com/vim/vim/commit/556ae8ea28b4e3e9fc47ad130795009a3080146e
| * | vim-patch:8.2.2032: cabalconfig and cabalproject filetypes not recognizedJan Edmund Lazo2020-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Cabalconfig and cabalproject filetypes not recognized. Solution: Detect more cabal files. (Marcin Szamotulski, closes vim/vim#7339) https://github.com/vim/vim/commit/dcbab75db3ba5e812f119e08cda6a02c6b028a14 N/A patches for version.c: vim-patch:8.1.1598: update to test file missing Problem: Update to test file missing. Solution: Update the popup window test file. https://github.com/vim/vim/commit/53a95d65840e9d48844fa0798f198eca765176e8 vim-patch:8.1.1601: missing changes to popup window test file Problem: Missing changes to popup window test file. Solution: Add those changes. https://github.com/vim/vim/commit/8da41816316f17382817df3f9449b55df8d39651
* | | Merge pull request #13345 from shade-of-noon/lingering-e145Jan Edmund Lazo2020-11-22
|\ \ \ | | | | | | | | Remove leftover handling of restricted mode.
| * | | po: Remove E145 error message.Edwin Pujols2020-11-22
| | | |
| * | | runtime: Remove error handling for E145.Edwin Pujols2020-11-22
| | | | | | | | | | | | | | | | | | | | | | | | Restricted mode (-Z) has been removed per #11996. Some runtime files had lingering error handling (error identifier `E145`) so I cleaned them up.
* | | | Merge pull request #13352 from jamessan/isCIJames McCoy2020-11-22
|\ \ \ \ | |_|/ / |/| | | test: Add GitHub actions support to helpers.isCI
| * | | test: Add GitHub actions support to helpers.isCIJames McCoy2020-11-22
|/ / /
* | | Merge pull request #13347 from janlazo/vim-8.1.0650Jan Edmund Lazo2020-11-22
|\ \ \ | | | | | | | | vim-patch:8.1.0650,8.2.{1216,1217}
| * | | vim-patch:8.2.1217: startup test depends on random source fileJan Edmund Lazo2020-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Startup test depends on random source file. Solution: Write a test file to find quickfix errors in. https://github.com/vim/vim/commit/1e1f612bd42085becb2208b9a95ed3ed0d272ee8 N/A patches for version.c: vim-patch:8.2.1216: startup test fails Problem: Startup test fails. Solution: Adjust expected values for deleted lines. https://github.com/vim/vim/commit/b6e4e4c6f7b4f7eadcc4c2397bfa57e0734e005f
| * | | test/old: cherry-pick patch 8.2.0509 for Test_q_arg()Jan Edmund Lazo2020-11-21
| | | |
| * | | test/old: cherry-pick patch 8.1.2373 for test_startup.vimJan Edmund Lazo2020-11-21
| | | |
| * | | vim-patch:8.1.0650: command line argument -q [errorfile] is not testedJan Edmund Lazo2020-11-21
|/ / / | | | | | | | | | | | | | | | Problem: Command line argument -q [errorfile] is not tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#3730) https://github.com/vim/vim/commit/54948183d210f5117271bb5710752da24054fade
* | | Merge pull request #13338 from shade-of-noon/patch-1Jan Edmund Lazo2020-11-21
|\ \ \ | |/ / |/| | Restricted mode (-Z) lingering references.
| * | Update vim_diff.txtshade-of-noon2020-11-21
| | | | | | | | | Update for restricted mode removal.
| * | Grammar - remove superfluous word.shade-of-noon2020-11-21
| | |
| * | Remove restricted mode (-Z) from man page.shade-of-noon2020-11-21
| | | | | | | | | As per #11996, restricted mode (-Z) has been removed. Nonetheless in #11996 the man page was not updated. Hence this PR.
* | | Merge pull request #13340 from janlazo/vim-8.2.2025Jan Edmund Lazo2020-11-21
|\ \ \ | | | | | | | | vim-patch:8.1.1749,8.2.{579,2025,2027,2028,2029}
| * | | eval: use VAR_UNLOCKED enum, not the direct valueJan Edmund Lazo2020-11-21
| | | |
| * | | vim-patch:8.2.2027: Coverity warnts for uninitialized fieldJan Edmund Lazo2020-11-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity warnts for uninitialized field. Solution: Set "v_lock". https://github.com/vim/vim/commit/9681f713924f4c51fa2ba3d6639639d4b1dba08a
| * | | vim-patch:8.2.2029: Coverity warns for not checking return valueJan Edmund Lazo2020-11-21
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity warns for not checking return value. Solution: Check that u_save_cursor() returns OK. https://github.com/vim/vim/commit/5546688fb6798d37a770f366c13dedfa7e4cb417
| * | | vim-patch:8.2.2028: Coverity warns for using an uninitialized variableJan Edmund Lazo2020-11-21
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Coverity warns for using an uninitialized variable. Solution: Initialize to NULL. https://github.com/vim/vim/commit/896ad2c33e562e4b674b7e0efbd43be85a64acc8 N/A patches for version.c: vim-patch:8.1.1749: Coverity warns for using negative index Problem: Coverity warns for using negative index. Solution: Move using index inside "if". https://github.com/vim/vim/commit/736cd2cfbe83b85259eecc7d70e68297ce968d33 vim-patch:8.2.0579: Coverity warns for unused value Problem: Coverity warns for unused value. Solution: Change order and use "else if". https://github.com/vim/vim/commit/4d5d0dfe9438bd5f2daa41ebbe6ac9a76d165af0 vim-patch:8.2.2025: Amiga: Not all colors are used on OS4 Problem: Amiga: Not all colors are used on OS4. Solution: Adjust the #ifdef to include __amigaos4__. (Ola Söder, closes vim/vim#7328) https://github.com/vim/vim/commit/2d718267f4b7dcd65261c9f2acd59a6f6bdc8641
* | | Merge pull request #13307 from janlazo/vim-8.1.0777Jan Edmund Lazo2020-11-21
|\ \ \ | |/ / |/| | vim-patch:8.1.{323,777,933,938},8.2.{178,248,547,581,592,646,658,793,1608,1975,1991,1992,1993,1994,1998,1999,2003,2007,2008,2009}
| * | menu: remove winbar codeJan Edmund Lazo2020-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | No unmerged Vim patch, applicable to Neovim, depend on WinBar feature. It was merged only for merging Vim patches. It is currently useless in Neovim. Remove it to avoid rendering issues. Close https://github.com/neovim/neovim/issues/12689
| * | test: rewrite powershell tests to remove timeoutJan Edmund Lazo2020-11-20
| | | | | | | | | | | | TSAN kept failing and Appveyor sometimes fails on the same test.
| * | vim-patch:8.2.1608: Vim9: getchar() test fails with GUIJan Edmund Lazo2020-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Vim9: getchar() test fails with GUI. Solution: Avoid that getchar(0) gets stuck on K_IGNORE. https://github.com/vim/vim/commit/15183b41c4416b7638cce26de0a9a83e55948bdc N/A patches for version.c: vim-patch:8.1.0323: reverse order of VTP calls only needed the first time Problem: Reverse order of VTP calls only needed the first time. Solution: Add a flag to remember the state. (Nobuhiro Takasaki, closes vim/vim#3366) https://github.com/vim/vim/commit/2551c037e41b3c2702d3ec30ee518c11966b19e6 vim-patch:8.1.0777: Win32: using pipes for channel does not work well Problem: Win32: using pipes for channel does not work well. Solution: Use a larger buffer and handle overlaps. (Yasuhiro Matsumoto, closes vim/vim#3782) https://github.com/vim/vim/commit/b091f30bf38eacb31b9d8c97c82c7e0af9866301 vim-patch:8.1.0933: When using VTP scroll region isn't used properly Problem: When using VTP scroll region isn't used properly. Solution: Make better use of the scroll region. (Nobuhiro Takasaki, closes vim/vim#3974) https://github.com/vim/vim/commit/6982f42f33b2868e4b9884514cfe8e357b727498 vim-patch:8.1.0938: background color is wrong in MS-Windows console Problem: Background color is wrong in MS-Windows console when not using VTP. Solution: Use g_attrCurrent. (Nobuhiro Takasaki, closes vim/vim#3987) https://github.com/vim/vim/commit/21edde87426eeeaf46e118a137a7fa0e86ad167e vim-patch:8.2.0178: with VTP the screen may not be restored properly Problem: With VTP the screen may not be restored properly. Solution: Add another set of saved RGB values. (Nobuhiro Takasaki, closes vim/vim#5548) https://github.com/vim/vim/commit/df54382eacdbfa10291adb80ad6b89ad83bd7c9b vim-patch:8.2.0248: MS-Windows: dealing with deprecation is too complicated Problem: MS-Windows: dealing with deprecation is too complicated. Solution: Use io.h directly. Move _CRT_SECURE_NO_DEPRECATE to the build file. Suppress C4091 warning by setting "_WIN32_WINNT". (Ken Takata, closes vim/vim#5626) https://github.com/vim/vim/commit/2f189750887636fecd440d7ef353d9224e48713f vim-patch:8.2.0547: Win32: restoring screen not always done right Problem: Win32: restoring screen not always done right. Solution: Use a more appropriate method. (Nobuhiro Takasaki, closes vim/vim#5909) https://github.com/vim/vim/commit/e7f234120f71a75f0c7c2a67e0b70c6450c50a02 vim-patch:8.2.0581: Win32 console: the cursor position is always top-left Problem: Win32 console: the cursor position is always top-left. Solution: Revert the patch for restoring screen. https://github.com/vim/vim/commit/81ccbf199f0d553efdd57bec9bb8e23d91d2fb0d vim-patch:8.2.0592: MS-Windows with VTP: cursor is not made invisible Problem: MS-Windows with VTP: cursor is not made invisible. Solution: Output the code to make the cursor visible or invisible. (Nobuhiro Takasaki, closes vim/vim#5941) https://github.com/vim/vim/commit/2695de63e370235c4d3d73e3fe07cc1006de3460 vim-patch:8.2.0646: t_Co uses the value of $COLORS in the GUI Problem: t_Co uses the value of $COLORS in the GUI. (Masato Nishihata) Solution: Ignore $COLORS for the GUI. (closes vim/vim#5992) https://github.com/vim/vim/commit/759d81549c1340185f0d92524c563bb37697ea88 vim-patch:8.2.0658: HP-UX build fails when setenv() is not defined Problem: HP-UX build fails when setenv() is not defined. Solution: Change "colors" to "t_colors". (John Marriott) https://github.com/vim/vim/commit/affc8fd2cda77fbd47df2594da417a9f9a9bb9b6 vim-patch:8.2.0793: MS-Windows: cannot build GUI with small features Problem: MS-Windows: cannot build GUI with small features. (Michael Soyka) Solution: Add #ifdef around use of windowsVersion. (Ken Takata) https://github.com/vim/vim/commit/1e1d2e89fa460328883bb09fb13a24e26ef1ab31 vim-patch:8.2.1975: Win32: memory leak when encoding conversion fails Problem: Win32: memory leak when encoding conversion fails. Solution: Free the allocated memory. (Ken Takata, closes vim/vim#7277) https://github.com/vim/vim/commit/bbf9f344afd08954163191ed678352fb554fc254 vim-patch:8.2.1991: Coverity warns for not using the ga_grow() return value Problem: Coverity warns for not using the ga_grow() return value. Solution: Bail out if ga_grow() fails. (Yegappan Lakshmanan, closes vim/vim#7303) https://github.com/vim/vim/commit/ca359cbedd0d603124776e7a6ca0ae79ffc34cdc vim-patch:8.2.1992: build fails with small features Problem: Build fails with small features. Solution: Add #ifdef. https://github.com/vim/vim/commit/4792a679f9e08fc6026a596be3d364cecb70b049 vim-patch:8.2.1993: occasional failure of the netbeans test Problem: Occasional failure of the netbeans test. Solution: Add "silent!". (Yegappan Lakshmanan, closes vim/vim#7304) https://github.com/vim/vim/commit/50dc3ecc642ee88348cb353cf85d08eac26c75dd vim-patch:8.2.1994: MS-Windows: MinGW always does a full build Problem: MS-Windows: MinGW always does a full build. Solution: Only check if $OUTDIR exists. (Masamichi Abe, closes vim/vim#7311) https://github.com/vim/vim/commit/c4390fe6c0d1b47b1acd373d7e8ef986412c0600 vim-patch:8.2.1998: terminal Cmd test sometimes fails to close popup Problem: Terminal Cmd test sometimes fails to close popup. Solution: Add "term_finish" option. https://github.com/vim/vim/commit/27f4f6baeeb25e1597a7827f4a509ecf2eb8e6e2 vim-patch:8.2.1999: terminal popup test sometimes fails Problem: Terminal popup test sometimes fails. Solution: Wait for the popup to close. https://github.com/vim/vim/commit/e6329e4c55cd81b6134820eab6a10b02c11c1277 vim-patch:8.2.2003: build error with +conceal but without +popupwin Problem: Build error with +conceal but without +popupwin. Solution: Add #ifdef. (Tom Ryder, closes vim/vim#7316) https://github.com/vim/vim/commit/1efefda623283d941705d8f6ad0e9cfe0ac76079 vim-patch:8.2.2007: test for insert mode in popup is not reliable Problem: Test for insert mode in popup is not reliable. Solution: Wait for the popup to disappear. (Ozaki Kiichi, closes vim/vim#7321) https://github.com/vim/vim/commit/17ab28daa060c3c263841329e74befb9c6e8b588 vim-patch:8.2.2008: MS-Windows GUI: handling channel messages lags Problem: MS-Windows GUI: handling channel messages lags. Solution: Reduce the wait time from 100 to 10 msec. (closes vim/vim#7097) https://github.com/vim/vim/commit/032f40afb88b24043f96655aa248267a4f54faa8 vim-patch:8.2.2009: MS-Windows: setting $LANG in gvimext only causes problems Problem: MS-Windows: setting $LANG in gvimext only causes problems. Solution: Do not set $LANG. (Ken Takata, closes vim/vim#7325) https://github.com/vim/vim/commit/382319211a96adce089673c80eda982cc5259d0d
* | | Merge pull request #13250 from bfredl/missinglinkBjörn Linse2020-11-21
|\ \ \ | |/ / |/| | allow nvim_set_hl to break existing links
| * | decorations: allow nvim_set_hl to break existing linksBjörn Linse2020-11-21
| | | | | | | | | | | | also add `default` flag to NOT break existing links/defs
* | | Merge pull request #12004 from erw7/fix-pasteJames McCoy2020-11-20
|\ \ \ | |_|/ |/| |
| * | test: add functional test for segmented response from terminalerw72020-11-20
| | |
| * | test,unit: Change test according to change of bg color response processingerw72020-11-20
| | | | | | | | | | | | | | | Adjust the test for handle_background_color() according to bd0275182b1c1b14c43dc4fc7e9f9da05071e56c.
| * | TUI: fix processing of bg color responseerw72020-11-20
| | | | | | | | | | | | | | | | | | | | | | | | Terminal responses may be fragmented. In that case, the problem that was not processed normally and was processed in the same way as user input is corrected. fixes #11393.
| * | TUI: fix bracket paste getting stuckerw72020-11-20
|/ / | | | | | | fixes #11699, #11991.
* | Merge pull request #12592 from jamessan/fix-mod-keysJames McCoy2020-11-20
|\ \ | |/ |/|
| * keymap: Preserve S- modifier when C- is presentJames McCoy2020-11-16
| | | | | | | | Closes #12037
| * tui/input: Add S- modifier for chords with capital ASCIIJames McCoy2020-11-16
| | | | | | | | | | | | | | | | termkey_strfkey() formats ctrl-l and ctrl-shift-l as <C-l> and <C-L>, respectively. Nvim wants the latter to look like <C-S-L>, since <C-l> and <C-L> are interpreted the same way. This is only required when the Ctrl modifier is present.