aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | vim-patch:8.1.1961: more functions can be used as a methodSean Dewar2021-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method. Add a test for mapcheck(). https://github.com/vim/vim/commit/a1449836334355b1fb00cd1bf083e7d353f6c4d7 mzeval() (if_mzscheme) is N/A.
| * | feat(eval/method): partially port v8.1.1954Sean Dewar2021-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Does not include listener_*() functions. js_*() functions are N/A. json_encode() and json_decode() didn't include tests; add some anyway (to json_functions_spec.lua). test_lua.vim isn't included yet, so add tests to luaeval_spec.lua.
| * | feat(eval/method): partially port v8.1.1953Sean Dewar2021-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds method call support for all functions in the patch, but it cannot be fully ported due to missing tests for: - index(): requires Blobs from v8.1.0735. Note that index() was already added as a method in v8.1.1803; this patch only adds a test. - iconv(): requires v8.1.1136 for test_termcodes.vim. Nvim deprecated inputdialog(), so it no longer has an eval.txt entry. Keep the test for hlexists() commented-out, just like previously. (Nvim always defines the Number group, so it always returns 1 instead) Cannot include both changes to test_syn_attr.vim as Nvim doesn't support ":hi term=..."; however, both test the same ->hlID() syntax anyway.
| * | vim-patch:8.1.1952: more functions can be used as a methodSean Dewar2021-10-03
| | | | | | | | | | | | | | | | | | Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method. https://github.com/vim/vim/commit/5d69fdb7c4b91faf2d92b8d449cc9460f3035fb3
| * | feat(eval/method): partially port v8.1.1925Sean Dewar2021-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds method call support for all functions in the patch, but it cannot be fully ported due to missing tests for: - getcwd(): requires chdir() and Test_chdir_func() from v8.1.1291. Note that the method call tests for getreg() and getregtype() were removed in v8.2.1547, which has already been ported, but doesn't seem to have been replaced with a new test... This patch also makes getchangelist()'s argument optional (defaults to the current buffer). eval.txt includes a typo for gettabwinvar(), which is fixed in v8.1.1952.
| * | feat(eval/method): partially port v8.1.1921Sean Dewar2021-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds method call support for all functions in the patch, but it cannot be fully ported due to missing tests for: - filereadable(): requires v8.1.1378 for Test_delete_rf(), but there appears to have been some trouble porting it. (#12784) - confirm(): requires v8.1.0832 for Test_confirm() and v8.1.0815 for feedkeys()'s "L" flag. (I did attempt to port the test using nvim_input() instead, but seems that input handling for confirm() doesn't work in --headless mode?) Note that confirm() was actually added as a method in v8.1.1915. Uncomment use of method call syntax in Test_Executable() previously included instead from v8.2.2259.
| * | vim-patch:8.1.1336: some eval functionality is not covered by testsSean Dewar2021-10-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some eval functionality is not covered by tests. Solution: Add a few more test cases. (Masato Nishihata, closes vim/vim#4374) https://github.com/vim/vim/commit/17aca707f92235b6f962e637e8073162d18e6de2 Test_expand() changes are required for v8.1.1921. Test_call() and Test_cindent_func() are already ported.
* | | vim-patch:8.2.3491: xpm2 filetype dection is not so good (#15982)dundargoc2021-10-10
| | | | | | | | | | | | | | | Problem: xpm2 filetype dection is not so good. Solution: Adjust the check for xpm2. (closes vim/vim#8914) https://github.com/vim/vim/commit/6e77b88df6371356cce9d6e08daf0f7cb1e7878a
* | | vim-patch:8.2.3461: distinguish Normal and Terminal-Normal mode #15878zeertzjq2021-10-09
| | | | | | | | | | | | | | | Problem: Cannot distinguish Normal and Terminal-Normal mode. Solution: Make mode() return "nt" for Terminal-Normal mode. (issue vim/vim#8856) https://github.com/vim/vim/commit/72406a4bd2896915b6f541e26d41521a59b1f846
* | | vim-patch:8.2.{210,424,436,...} #15976Jan Edmund Lazo2021-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * vim-patch:8.2.1082: Coverity complains about ignoring dict_add() return value Problem: Coverity complains about ignoring dict_add() return value. Solution: Add (void). https://github.com/vim/vim/commit/91639195eff7b29213a0a3c279ac46e46ac76edd N/A patches for version.c: vim-patch:8.2.0210: Coverity complains about uninitialized field Problem: Coverity complains about uninitialized field. Solution: Initialize the field. https://github.com/vim/vim/commit/eed3571fe0f7d2ae779e5d36388cc4fe16c3516e vim-patch:8.2.0424: checking for wrong return value Problem: Checking for wrong return value. (Tom) Solution: Invert the check and fix the test. https://github.com/vim/vim/commit/97acfc781bdb7fa2838dc6e0e7f9952ea61bb2fd vim-patch:8.2.0436: no warnings for incorrect printf arguments Problem: No warnings for incorrect printf arguments. Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique Pelle, closes vim/vim#5834) https://github.com/vim/vim/commit/db99f9f29a248b84742b6779c3343123f72065e7 vim-patch:8.2.0498: Coverity complains about uninitialized field Problem: Coverity complains about uninitialized field. Solution: Initialize the whole typval_T. https://github.com/vim/vim/commit/4227c789ffe667b74affab38a1b8bea27cd69b36 vim-patch:8.2.0668: compiler warning for int/size_t usage Problem: Compiler warning for int/size_t usage. Solution: Change "int" to "size_t". (Mike Williams) https://github.com/vim/vim/commit/7f6f56f43c48f0b7288a4edd12b59fa7335f01d3 vim-patch:8.2.1034: compiler warning for uninitialized variables Problem: Compiler warning for uninitialized variables. Solution: Add initializations. (John Marriott) https://github.com/vim/vim/commit/38041da1c263f5840f21e15484d7ccb30999ed62 vim-patch:8.2.1117: Coverity warns for unsing unitialized field Problem: Coverity warns for unsing unitialized field. Solution: Initialize v_lock. https://github.com/vim/vim/commit/a9a8e5f0dc22aaa9e53578b5b2d7569279e6cb94 vim-patch:8.2.1148: warning for using int instead of size_t Problem: Warning for using int instead of size_t. Solution: Change "len" argument to size_t. (Mike Williams) https://github.com/vim/vim/commit/cbb6bdcd8967edc8ad123746d27ec30ccc7c1718 vim-patch:8.2.1251: Vim9: warning for pointer usage, test failure undetected Problem: Vim9: warning for pointer usage, test failure undetected. Solution: Fix pointer indirection. Give error when executing function failed for any reason. Fix instruction names. https://github.com/vim/vim/commit/682d0a15462f3d4f9404e98a56b340ae131cbb09 printable_func_name() is applicable but the vim9 changes are N/A. Compilers can detect misuse of static functions. vim-patch:8.2.1275: Vim9: compiler warning for buffer size Problem: Vim9: compiler warning for buffer size. Solution: Change the offset from 10 to 15. (Dominique Pellé, closes vim/vim#6518) https://github.com/vim/vim/commit/5a67c37a554daa7627bdf0c8e7ddd5f1b597f978 vim-patch:8.2.1443: Vim9: crash when interrupting a nested :def function Problem: Vim9: crash when interrupting a nested :def function. Solution: Push a dummy return value onto the stack. (closes vim/vim#6701) https://github.com/vim/vim/commit/cdd70f09a5340c3d7ae873f1aaaf9847f27410cc vim-patch:8.2.1818: SE Linux: deprecation warning for security_context_t Problem: SE Linux: deprecation warning for security_context_t. Solution: Use "char *" instead. (James McCoy, closes vim/vim#7093) https://github.com/vim/vim/commit/8956023920bb1b6f9c381739e59b9ddab4bf7798 SELINUX support was removed in commit 1de77bbcec8ea4e50475e9b33986246e47614b84 vim-patch:8.2.2004: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize "ufunc". (John Marriott) https://github.com/vim/vim/commit/b3a01946b30f33e7be0358b3ff2736b94973a659 vim-patch:8.2.2051: Vim9: crash when aborting a user function call Problem: Vim9: crash when aborting a user function call. Solution: Do not use the return value when aboring. (closes vim/vim#7372) https://github.com/vim/vim/commit/34c54eb6cbda5dbc14376c8b1c62ad11d4852793 vim-patch:8.2.2270: warning for size_t to int conversion Problem: Warning for size_t to int conversion. (Randall W. Morris) Solution: Add a type cast. https://github.com/vim/vim/commit/38a434f7ba89ab2602019476219780e07fd8251f vim-patch:8.2.2333: Vim9: warning for uninitialized variable Problem: Vim9: warning for uninitialized variable. (Tony Mechelynck) Solution: Initialize "res". https://github.com/vim/vim/commit/cb6cbf29e97b7abdeb1e6cbdc5e735f5b55e97a1 vim-patch:8.2.2460: Coverity warns for unused value Problem: Coverity warns for unused value. Solution: Do not reset the return value to OK. https://github.com/vim/vim/commit/fc1dafa91cbf7876d711e8e36171eeec78eae13b vim-patch:8.2.2461: Coverity warns for unchecked return value Problem: Coverity warns for unchecked return value. Solution: Add "(void)" to avoid the warning. https://github.com/vim/vim/commit/fef8064b54ad0b1a7ce2f9cf024526627e6bdf57 vim-patch:8.2.2557: compiler warning for shadowd variable Problem: Compiler warning for shadowd variable. Solution: Declare "p" only once. https://github.com/vim/vim/commit/087b5ff35d219f4f48a3d4854783799d0f6a1732 vim-patch:8.2.2730: Coverity complains about not restoring character Problem: Coverity complains about not restoring character. Solution: Also restore the character in case of an error. https://github.com/vim/vim/commit/c9605f0595173bca0f158f2782de950ac6bed147 vim-patch:8.2.2795: Coverity warns for not using return value Problem: Coverity warns for not using return value. Solution: Check the return value of compiling the substitute expression. https://github.com/vim/vim/commit/169502fb0beb7eb21f72d6c4590483c069353b53 vim-patch:8.2.2995: linker errors with dynamic Python 3.10 Problem: Linker errors with dynamic Python 3.10. Solution: Add a couple of library entries. (Zdenek Dohnal, closes vim/vim#8381, closes vim/vim#8356) https://github.com/vim/vim/commit/90478f35a8c78e2e10a4b4a8f135998dc04c91fa vim-patch:8.2.3000: Vim9: warning for uninitialized variable Problem: Vim9: warning for uninitialized variable. Solution: Add initialization. (John Marriott) https://github.com/vim/vim/commit/3b814af7e1e7ca18fe1c8c671b18e5e8c1f9e94c vim-patch:8.2.3014: Coverity warns for freeing static string Problem: Coverity warns for freeing static string. Solution: Do not assign static string to pointer. (Dominique Pellé, closes vim/vim#8397) https://github.com/vim/vim/commit/6e9695525e212466398a269a54bc4d53625673f0 vim-patch:8.2.3205: Coverity reports a null pointer dereference Problem: Coverity reports a null pointer dereference. Solution: Change the logic to avoid Coverity gets confused. https://github.com/vim/vim/commit/1b862c466ba4242857eec581f67982d265005ef4 vim-patch:8.2.3294: Lua: memory leak when adding dict item fails Problem: Lua: memory leak when adding dict item fails. Solution: Free the typval and the dict item. https://github.com/vim/vim/commit/1b6acf02b7e685ecb87ccba52c91835a7519073e vim-patch:8.2.3302: Coverity is not run from github Problem: Coverity is not run from github. Solution: Add a coverity script. (James McCoy, closes vim/vim#8714) https://github.com/vim/vim/commit/d57a6bd98c9a57b766eadcc3f10e9c4169c788aa vim-patch:8.2.3319: Coverity action on github does not work Problem: Coverity action on github does not work. Solution: Remove undefined $SRCDIR. (James McCoy, closes vim/vim#8739) https://github.com/vim/vim/commit/eed9616120f60ad17d5e133f505bba5c559aee89 * vim-patch:8.2.1085: Coverity complains about ignoring dict_add() return value Problem: Coverity complains about ignoring dict_add() return value. Solution: Add (void). https://github.com/vim/vim/commit/6d90c61c5a6437ff5058b6c5874ba71bff574e60
* | | vim-patch:8.2.3490: superfluous return statements #15978dundargoc2021-10-09
| | | | | | | | | | | | | | | | | | Problem: Superfluous return statements. Solution: Remove superfluous return statements from void functions. (closes vim/vim#8977) https://github.com/vim/vim/commit/3826c0513bc9370583be550c864358c7eeb5605a
* | | refactor: format header files with uncrustify #15877dundargoc2021-10-09
| | | | | | | | | | | | | | | | | | * refactor: format header files with uncrustify * fixup(justin): skip formatting of terminfo_defs.h * fixup: force winsock2 to be included first * fixup: simplify disable/enable directive to "uncrustify:off/on"
* | | fix(mpack): clang warning: unused variable #15968dundargoc2021-10-08
| | |
* | | fix(buffer_updates): handle :sort of already sorted bufferBjörn Linse2021-10-08
| | |
* | | fix(api): check type in nlua_pop_keydict (#15940)virchau132021-10-08
| | |
* | | Merge pull request #15946 from bfredl/issue-12861Björn Linse2021-10-07
|\ \ \ | | | | | | | | fix(buffer_updates): make lockmarks not affect extmarks and buffer updates
| * | | fix(buffer_updates): make `lockmarks` not affect extmarks and buffer ↵Anton Adamansky2021-10-07
| | | | | | | | | | | | | | | | | | | | | | | | updates. fixes #12861 Now mark_adjust() will trigger appropriate buf_updates_send_splice() called by extmark_adjust()
* | | | Merge pull request #15839 from bfredl/encgruggBjörn Linse2021-10-07
|\ \ \ \ | |/ / / |/| | | refactor(api): some cleanup
| * | | refactor(api): cleanup modify_keymap and parse_keymap_optsBjörn Linse2021-10-07
| | | |
| * | | refactor(api): remove duplicated handle mpack encode/decode functionsBjörn Linse2021-10-07
| | | |
* | | | fix(buffer_updates): handle :delete of the very last line in bufferBjörn Linse2021-10-07
| | | |
* | | | Merge pull request #15934 from kylo252/replacement-sizeBjörn Linse2021-10-07
|\ \ \ \ | | | | | | | | | | fix(lint): remove redundant ternary operator
| * | | | fix(lint): remove redundant ternary operatorkylo2522021-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | The value of `new_len` will never be '0' since `replacement.size` is checked against that early on.
* | | | | Merge pull request #15941 from dundargoc/refactor/remove-redundant-castsBjörn Linse2021-10-07
|\ \ \ \ \ | | | | | | | | | | | | refactor: remove redundant casts
| * | | | | refactor: remove redundant castsDundar Göc2021-10-07
| | |/ / / | |/| | |
* | | | | Merge pull request #15932 from erw7/fix-nvim-buf-set-extmarkBjörn Linse2021-10-07
|\ \ \ \ \ | | | | | | | | | | | | fix(api): fix nvim_buf_set_extmark
| * | | | | fix(api): fix nvim_buf_set_extmarkerw72021-10-07
| | |_|_|/ | |/| | | | | | | | | | | | | Fix the problem of calling clear_virttext on undefined variables.
* | | | | Merge pull request #15316 from vigoux/ts-fix-capturesBjörn Linse2021-10-07
|\ \ \ \ \ | |_|/ / / |/| | | | fix(treesitter): run predicates more often in iter_matches
| * | | | fix(treesitter): run predicates more often in iter_matchesThomas Vigouroux2021-10-01
| | | | | | | | | | | | | | | | | | | | Superseedes #15126, and fixes the issue.
* | | | | fix: set cursorlineopt=number in terminal mode (#15493)Yorick Peterse2021-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When entering terminal mode, cursorlineopt is no longer entirely disabled. Instead, it's set to `number`. Doing so ensures that users using `set cursorline` combined with `set cursorlineopt=number` have consistent highlighting of the line numbers, instead of this being disabled when entering terminal mode. Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
* | | | | fix(extmarks): splice extmarks on nv_Undo #15920Tony Chen2021-10-06
| | | | |
* | | | | fix(PVS/V1048): "variable was assigned the same value" #15870dundargoc2021-10-06
| | | | |
* | | | | refactor: remove superfluous function-like macros #15918dundargoc2021-10-06
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove following macros: CONVERTED HMLL_ITER_BACK PACK_STRUCT IGNORE_BUF find_shada_parameter path_try_shorten_fname
* | | | fix(tui): remove dead code #15929erw72021-10-06
| |/ / |/| | | | | | | | | | | Before #15889, we used our fork of libuv which supports Windows 7/8. After #15889, we use upstream libuv, which does not support Windows 7 and lacks mouse/altbuf support for Windows 8 console.
* | | vim-patch:8.2.0155: MinGW warnings; tests without +float #15908Jan Edmund Lazo2021-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Warnings from MinGW compiler. (John Marriott) Json test fails when building without +float feature. Solution: Init variables. Fix Json parsing. Skip a few tests that require the +float feature. https://github.com/vim/vim/commit/a5d5953d59730d9bf9c00a727c4aeb56f6ffc944 Omit vim9 changes. vim9 internal implementation is N/A, similar to the `vimscript-*` features. N/A patches for version.c: vim-patch:8.1.0737: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Add initialization. (John Marriott) https://github.com/vim/vim/commit/e519dfd7139d504ada44031a986482ac4fb1229a vim-patch:8.1.1385: signed/unsigned compiler warning Problem: Signed/unsigned compiler warning. Solution: Use STRLEN() instead of strlen(). https://github.com/vim/vim/commit/71de720c2c117137185a6fc233b35aab37f0d4bc vim-patch:8.2.0165: Coverity warning for using NULL pointer Problem: Coverity warning for using NULL pointer. Solution: Add missing "else". https://github.com/vim/vim/commit/5b18c248d3fe4961076dbc59c960ef60c80650f0 vim-patch:8.2.0166: Coverity warning for using uninitialized variable Problem: Coverity warning for using uninitialized variable. Solution: Check for failure. https://github.com/vim/vim/commit/07da94b0f07beb15c7e26b78837def5a91e102dc vim-patch:8.2.0167: Coverity warning for ignoring return value Problem: Coverity warning for ignoring return value. Solution: Check the return value and jump if failed. https://github.com/vim/vim/commit/58ceca5cae75ed839b20a89c5fa9998f02552f58 "src/testdir/test_vim9*.vim" files are N/A because vim9 code is currently unsupported. vim-patch:8.2.0168: Coverity warning for assigning NULL to an option Problem: Coverity warning for assigning NULL to an option. Solution: Use empty string instead of NULL. https://github.com/vim/vim/commit/97a2af39cd3249c6cbe5a5c59bc24167632d39ad vim-patch:8.2.0169: Coverity warning for dead code Problem: Coverity warning for dead code. Solution: Check if inside try-finally. https://github.com/vim/vim/commit/8cbd6dfc0c9d84c5be8414dfdea3b28b72dfddb6 vim-patch:8.2.0170: Coverity warning for ignoring return value Problem: Coverity warning for ignoring return value. Solution: Check the return value and return if failed. https://github.com/vim/vim/commit/a6d536829a2c3151f3d0faa0ecdc7b8230fb11ec vim-patch:8.2.0172: Coverity warning for not restoring character Problem: Coverity warning for not restoring character. Solution: Restore the character also in case of failure. https://github.com/vim/vim/commit/4549ece47cc8d6487d8e64ae37361fea87e3ad39 vim-patch:8.2.0254: compiler warning for checking size_t to be negative Problem: Compiler warning for checking size_t to be negative. Solution: Only check for zero. (Zoltan Arpadffy) https://github.com/vim/vim/commit/ae8d2de3a9c0436a543c7d46071104af31ff6db7 vim-patch:8.2.0326: compiler warning for using uninitialized variable Problem: Compiler warning for using uninitialized variable. (Yegappan Lakshmanan) Solution: Do not jump to failed but return. https://github.com/vim/vim/commit/d5aec0ced17f8f60761128bff32e54ad2d1d57ef vim-patch:8.2.3387: compiler warning for non-static function Problem: Compiler warning for non-static function. Solution: Make the function static. (Dominique Pellé, closes vim/vim#8816) https://github.com/vim/vim/commit/de05ae71589f46c5d27642c33fe5eb21b22aaf5d
* | | fix(docs): add win_config.cJustin M. Keyes2021-10-05
| | |
* | | fix(docs): duplicate tag, wrong formattingJustin M. Keyes2021-10-05
| | | | | | | | | | | | | | | | | | | | | Fixes build error: cd /usr/home/build/neovim/build/runtime && /usr/local/bin/cmake -E remove doc/* && /usr/local/bin/cmake -E copy_directory /usr/home/build/neovim/runtime/doc doc && /usr/home/build/neovim/build/bin/nvim -u NONE -i NONE -e --headless -c helptags\ ++t\ doc -c quit Error detected while processing command line: E154: Duplicate tag "vim.register_keystroke_callback()" in file doc/lua.txt
* | | feat(api): named marks set, get, delete #15346Javier Lopez2021-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the following API functions. - nvim_buf_set_mark(buf, name, line, col) * Set marks in a buffer. - nvim_buf_del_mark(buf, name) * Delete a mark that belongs to buffer. - nvim_del_mark(name) * Delete a global mark. - nvim_get_mark(name) * Get a global mark. Tests: - Adds test to all the new api functions, and adds more for the existing nvim_buf_get_mark. * Tests include failure cases. Documentation: - Adds documentation for all the new functions, and improves the existing fucntion docs.
* | | feat(lsp): improve json deserialization performance (#15854)Michael Lingelbach2021-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add optional second table argument to vim.json.decode which takes a table 'luanil' which can include the 'object' and/or 'array' keys. These options use luanil when converting NULL in json objects and arrays respectively. The default behavior matches the original lua-cjson. * Remove recursive_convert_NIL function from rpc.lua, use vim.json.decode with luanil = { object = true } instead. This removes a hotpath in the json deserialization pipeline by dropping keys with json NULL values throughout the deserialized table.
* | | vim-patch:8.2.3473: some tcl files are not recognized #15912Christian Clason2021-10-05
| | | | | | | | | | | | | | | Problem: Some files with tcl syntax are not recognized. Solution: Add a few file patterns. (Doug Kearns) https://github.com/vim/vim/commit/78aa5ffe314f40d33666f03b833f66b11c3d0f67
* | | Merge pull request #15259 from muniter/muniter/checkhealth-from-luaMatthieu Coudron2021-10-05
|\ \ \ | | | | | | | | feat(checkhealth): support Lua healthchecks
| * | | feat(ex_checkhealth): provide function for command line completionJavier López2021-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move away from providing completion with ExpandRTDir to ExpandGeneric providing the function get_healthcheck_name which caches the results for the current command line prompt. It does the almost the same thing the Vim function 'get_healthcheck' implemented in 'runtime/autoload/health.vim' does.
* | | | Merge pull request #15813 from bfredl/neomouseBjörn Linse2021-10-04
|\ \ \ \ | | | | | | | | | | fix(mouse): correct dragged position in composed layout
| * | | | fix(mouse): correct dragged position in composed layoutBjörn Linse2021-10-04
| | | | |
* | | | | docs: fix typoAditya Kurdunkar2021-10-04
| | | | |
* | | | | Merge pull request #15901 from bfredl/apiorgBjörn Linse2021-10-04
|\ \ \ \ \ | |_|/ / / |/| | | | refactor(api): re-organanize public and private API functions
| * | | | refactor(api): move window config related functions to own fileBjörn Linse2021-10-04
| | | | |
| * | | | refactor(api): make export of functions opt-in, not opt-outBjörn Linse2021-10-03
| |/ / /
* | | | refactor: inline unnecessary macros #15890dundargoc2021-10-04
| | | |
* | | | feat(startup): load builtin plugins with --clean #15893Gregory Anders2021-10-04
| | | | | | | | | | | | Closes #15605