aboutsummaryrefslogtreecommitdiff
path: root/src/nvim
Commit message (Collapse)AuthorAge
* api(parse_float_config): use api_object_to_bool()Sean Dewar2021-06-01
|
* api(nvim_open_win): add "noautocmd" optionSean Dewar2021-06-01
| | | | | | This option, when set, stops nvim_open_win() from potentially firing buffer-related autocmd events (BufEnter, BufLeave and BufWinEnter in the case of nvim_open_win()).
* Merge pull request #14685 from janlazo/vim-8.2.2911Jan Edmund Lazo2021-05-31
|\ | | | | vim-patch:8.1.2400,8.2.{2911,2914.2916}
| * vim-patch:8.2.2916: operators are not fully testedJan Edmund Lazo2021-05-31
| | | | | | | | | | | | Problem: Operators are not fully tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8290) https://github.com/vim/vim/commit/2ac7184d34cd01e2b76bd1f704fd6a4b4af10239
| * vim-patch:8.1.2400: test39 is old styleJan Edmund Lazo2021-05-31
| | | | | | | | | | | | | | Problem: Test39 is old style. Solution: Convert the test cases into new style. (Yegappan Lakshmanan, closes vim/vim#5324) https://github.com/vim/vim/commit/1f3e7d3bf0aa1e015a591ce8f7ee7ab56589b452
| * vim-patch:8.2.2914: cannot paste a block without adding paddingJan Edmund Lazo2021-05-31
| | | | | | | | | | | | | | | | | | Problem: Cannot paste a block without adding padding. Solution: Add "zp" and "zP" which paste without adding padding. (Christian Brabandt, closes vim/vim#8289) https://github.com/vim/vim/commit/2fa9384ca1b600b934bec81a72c5fb7ce757503a Cherry-pick Test_normal_z_error() from patch v8.2.0369.
| * vim-patch:8.2.2911: pattern "\%V" does not match all of block selectionJan Edmund Lazo2021-05-31
| | | | | | | | | | | | Problem: Pattern "\%V" does not match all of block selection. (Rick Howe) Solution: Use the value of vi_curswant. (closes vim/vim#8285) https://github.com/vim/vim/commit/e71c0ebe2cee4a4916c49e206733200299e4c065
* | Merge pull request #14531 from janlazo/revert-noblockJan Edmund Lazo2021-05-31
|\ \ | |/ |/| Revert "api/window: use the "noblock" variants in nvim_win_set_buf"
| * Revert "api/window: use the "noblock" variants in nvim_win_set_buf"Jan Edmund Lazo2021-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1def3d1542d6a65f057e743faea39a760b50db87. Plugins may depend on catching the following events when creating windows: - BufWinEnter - BufEnter - BufLeave Risky to introduce this breaking change on 0.5 release when 0.5 release should be out by now. https://github.com/asvetliakov/vscode-neovim/issues/632#issuecomment-837201224
* | vim-patch:8.2.2900: QuitPre is triggered before :wq writes the fileJan Edmund Lazo2021-05-29
| | | | | | | | | | | | | | Problem: QuitPre is triggered before :wq writes the file, which is different from other commands. Solution: Trigger QuitPre after writing the file. (closes vim/vim#8279) https://github.com/vim/vim/commit/1174b018a6d705ddb8c04f3d21f78ae760aa0856
* | vim-patch:8.2.2898: QuitPre and ExitPre not triggered when GUI window is closedJan Edmund Lazo2021-05-29
| | | | | | | | | | | | Problem: QuitPre and ExitPre not triggered when GUI window is closed. Solution: Call before_quit_autocmds(). (closes vim/vim#8242) https://github.com/vim/vim/commit/3552e742898cd57adaf9b8ce32a9056271eab8d2
* | lua: Add vim.opt and fix scopes of vim.o (#13479)TJ DeVries2021-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | * lua: Add vim.opt * fixup: cleaning * fixup: comments * ty clason * fixup: comments * this is the last commit. period.
* | Merge pull request #14607 from glacambre/fix_get_all_options_info_crashJames McCoy2021-05-26
|\ \ | | | | | | [RDY] Generate PARAM_COUNT macro
| * | Fix crash on `:echo get_all_options_info()`glacambre2021-05-26
| | | | | | | | | | | | | | | | | | Iterating over PARAM_COUNT is wrong as PARAM_COUNT also counts the last element of the options array, which has a NULL fullname in order to signal the end of the array.
* | | vim-patch:8.2.2278: falling back to old regexp engine can some patternsJan Edmund Lazo2021-05-26
| | | | | | | | | | | | | | | | | | | | | Problem: Falling back to old regexp engine can some patterns. Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used. (Christian Brabandt, closes vim/vim#7572) https://github.com/vim/vim/commit/66c50c565321d4d49d8d5620912e5e8fe4825644
* | | vim-patch:8.2.2885: searching for \%'> does not match linewise end of lineJan Edmund Lazo2021-05-26
| | | | | | | | | | | | | | | | | | Problem: searching for \%'> does not match linewise end of line. (Tim Chase) Solution: Match end of line if column is MAXCOL. (closes vim/vim#8238) https://github.com/vim/vim/commit/872bee557e5f8ab0e4a523a6a845868a2801b17e
* | | vim-patch:8.2.2884: not enough cscope code is covered by testsJan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | Problem: Not enough cscope code is covered by tests. Solution: Add a few test cases. (Dominique Pellé, closes vim/vim#8246) https://github.com/vim/vim/commit/1e469c72ee2914fcffbcd49258036acdabd6f500
* | | vim-patch:8.2.0511: Cscope code not fully testedJan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | Problem: Cscope code not fully tested. Solution: Add more test cases. (Dominique Pelle, closes vim/vim#5886) https://github.com/vim/vim/commit/d7ffc0ba8ccb039dd19b255368302d9bfe0e010b
* | | test/old: partial port of patch v8.2.1.0183Jan Edmund Lazo2021-05-24
| | | | | | | | | | | | Prep for patch v8.2.0511.
* | | vim-patch:8.2.1689: 'colorcolumn' doesn't show in indentJan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | | | | Problem: 'colorcolumn' doesn't show in indent. Solution: Also draw the column when draw_state is WL_BRI or WL_SBR. (Alexey Demin, closes vim/vim#6948, closes vim/vim#6619) https://github.com/vim/vim/commit/ad5e5631c5dc93a50bbe637be254c5e9968848ea
* | | vim-patch:8.2.1957: diff and cursorcolumn highlighting don't mixJan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | | | | Problem: Diff and cursorcolumn highlighting don't mix. Solution: Fix condition for what attribute to use. (Christian Brabandt, closes vim/vim#7258, closes vim/vim#7260) https://github.com/vim/vim/commit/fabc3ca896751277f18a3a68e5661179728db3ad
* | | vim-patch:8.2.2880: unified diff fails if actually usedJan Edmund Lazo2021-05-24
| | | | | | | | | | | | | | | | | | | | | Problem: Unified diff fails if actually used. Solution: Invoke :diffupdate in the test. Fix the check for working external diff. (Ghjuvan Lacambre, Christian Brabandt, closes vim/vim#8197) https://github.com/vim/vim/commit/ad5c178a191cf2cf37a27c2a789d7afda3879831
* | | vim-patch:8.2.2879: file extension .hsig not recognized (#14628)Jan Edmund Lazo2021-05-23
| | | | | | | | | | | | | | | | | | Problem: File extension .hsig not recognized. Solution: Use Haskell filetype for .hsig files. (Marcin Szamotulski, closes vim/vim#8236) https://github.com/vim/vim/commit/f5409dbf66f4e4a0461d3f2079c1bffacbf12392
* | | vim-patch:8.2.2778: problem restoring 'packpath' in sessionJan Edmund Lazo2021-05-22
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Problem restoring 'packpath' in session. Solution: Let "skiprtp" also apply to 'packpath'. https://github.com/vim/vim/commit/d23b714d8b9ed8e16ef553098acc6da0979e94fc Port Test_mksession_skiprtp() to lua functional test.
* | | vim-patch:8.2.2772: problems when restoring 'runtimepath' from a session fileJan Edmund Lazo2021-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Problems when restoring 'runtimepath' from a session file. Solution: Add the "skiprtp" item in 'sessionoptions'. https://github.com/vim/vim/commit/635bd60804966803490287e97460ecdc91d5fe0a Allow "terminal" value for sessionoptions even if it's no-opt because patch v8.0.1592 is not ported yet. Omit vim9 test, Test_mksession_skiprtp().
* | | fixup! vim-patch:8.1.0734: the hlsearch state is not stored in a session ↵Jan Edmund Lazo2021-05-22
| | | | | | | | | | | | file (#13547)
* | | vim-patch:8.2.2875: cancelling inputlist() after a digit does not return zeroJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | Problem: Cancelling inputlist() after a digit does not return zero. Solution: Always return zero when cancelling. (closes vim/vim#8231) https://github.com/vim/vim/commit/5cf94577cf2045fec87344d7d89422fe6dfce62f
* | | vim-patch:8.2.0946: cannot use "q" to cancel a number promptJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | Problem: Cannot use "q" to cancel a number prompt. Solution: Recognize "q" instead of ignoring it. https://github.com/vim/vim/commit/eebd555733491cb55b9f30fe28772c0fd0ebacf7
* | | vim-patch:8.2.1591: using winheight('.') in tests works but is wrongJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | Problem: Using winheight('.') in tests works but is wrong. Solution: Use winheight(0). (issue vim/vim#6863) https://github.com/vim/vim/commit/c05d1c043a25c7a52dbf0a740d3f715a9d2691f7
* | | vim-patch:8.1.2339: insufficient testing for quickfixJan Edmund Lazo2021-05-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Insufficient testing for quickfix. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#5261) https://github.com/vim/vim/commit/70077dd1ca63636afaf07acf22519981e3a8e4b7 TODO: Debug the following off-by-one error: call assert_equal(repeat('m', 1024), l[0].module)
* | | vim-patch:8.1.2320: insufficient test coverage for quickfixJan Edmund Lazo2021-05-21
|/ / | | | | | | | | | | | | Problem: Insufficient test coverage for quickfix. Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan, closes vim/vim#5238) https://github.com/vim/vim/commit/f9ae154c512683ea7b933f870b0268232fd7ad38
* | Merge pull request #14490 from kevinhwang91/qftfJan Edmund Lazo2021-05-20
|\ \ | | | | | | vim-patch: 8.2.{0869,0933,0959} - port quickfixtextfunc
| * \ Merge remote-tracking branch 'origin/master' into qftfkevinhwang912021-05-20
| |\ \
| * | | fixup! vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slowkevinhwang912021-05-20
| | | |
| * | | vim-patch:8.2.0959: using 'quickfixtextfunc' is a bit slowkevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using 'quickfixtextfunc' is a bit slow. Solution: Process a list of entries. (Yegappan Lakshmanan, closes vim/vim#6234) https://github.com/vim/vim/commit/00e260bb6cc33ff5dbba15ac87ca7fd465aa49c0
| * | | vim-patch:8.2.0933: 'quickfixtextfunc' does not get window ID of location listkevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: 'quickfixtextfunc' does not get window ID of location list. Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan, closes vim/vim#6222) https://github.com/vim/vim/commit/7ba5a7eff335dcce25afaa154f32eeadb6014b61
| * | | vim-patch:8.2.0869: it is not possible to customize the quickfix window contentskevinhwang912021-05-20
| | | | | | | | | | | | | | | | | | | | | | | | Problem: It is not possible to customize the quickfix window contents. Solution: Add 'quickfixtextfunc'. (Yegappan Lakshmanan, closes vim/vim#5465) https://github.com/vim/vim/commit/858ba06d5f577b187da0367b231f7fa9461cb32d
* | | | Merge pull request #14575 from vigoux/virtualedit-bytesThomas Vigouroux2021-05-20
|\ \ \ \ | |_|/ / |/| | | fix(bufupdate): send events when inserting with virtualedit
| * | | fix(bufupdate): send events when inserting with virtualeditThomas Vigouroux2021-05-18
| |/ / | | | | | | | | | | | | Problem first raised https://github.com/nvim-treesitter/nvim-treesitter/issues/1304
* | | Merge pull request #14579 from jamessan/windows-env-varsJames McCoy2021-05-19
|\ \ \ | | | | | | | | Deduplicate env var names on Windows
| * | | fix(job): Deduplicate env var names on WindowsJames McCoy2021-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows handles environment variable names case-insensitively (i.e., %Path% can be accessed via %PATH%). Since nvim explicitly creates the environment block for jobs, we need to ensure it doesn't contain duplicate names with different cases (e.g., both %Path% and %PATH%) as that can confuse processes using the environment. `f_environ()` now converts all env var names to upper-case on Windows, since it does duplicate detection and also provides the base environment for jobs. Similarly, `create_environment()` converts any env var names supplied in the job opts to upper-case so they can be compared against what we get from `f_environ()`. Closes #14541
* | | | Remove '- 1' for sizes passed to xstrlcpyJan Edmund Lazo2021-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | xstrlcpy() NUL-terminates the destination string such that reducing the destination string length by 1 to reserve the last byte for NUL is pointless. https://github.com/neovim/neovim/pull/14490#discussion_r635661185
* | | | vim-patch:8.2.2871: unnessary VIM_ISDIGIT() calls, badly indented codeJan Edmund Lazo2021-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Unnessary VIM_ISDIGIT() calls, badly indented code. Solution: Call skipdigits() on the next character. Improve indenting. (Dominique Pellé, closes vim/vim#8227) https://github.com/vim/vim/commit/4781d6fd8670af415c3b78f00d70036af85bd286
* | | | vim-patch:8.2.2869: using unified diff is not testedJan Edmund Lazo2021-05-19
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Using unified diff is not tested. Solution: Test all cases also with unified diff. (issue vim/vim#8197) https://github.com/vim/vim/commit/485b62710004431a16feb4eb861365d082304a08
* | | | lua: use proper conversion of vim.g valuesBjörn Linse2021-05-19
| |/ / |/| |
* | | fix(tui): Stop sending extra parameter for save/restore titleJames McCoy2021-05-18
| | | | | | | | | | | | Closes #14573
* | | win/package: update wintools.zip for curl v7.76.1 (#14570)Jan Edmund Lazo2021-05-17
|/ / | | | | https://github.com/neovim/neovim/issues/14078
* | Merge pull request #14406 from shadmansaleh/vim-8.2.0877Jan Edmund Lazo2021-05-15
|\ \ | | | | | | vim-patch:8.2.{0877, 0880, 0884, 0887, 0896} - port searchcount()
| * | STRLEN -> strlenshadmansaleh2021-05-09
| | |
| * | Use bool for boolean valuesshadmansaleh2021-05-09
| | |